Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: StringObjectMeta

[119:14] static extends: object

Generated metadata helpers for StringObject class surfaces.

Methods

  • properties ()

    Returns property metadata for StringObject.

    • @r A list.

class: StringObject

[14:7] extends: object

The type of items in a GtkStringList. A GtkStringObject is a wrapper around a const char*; it has a [property@Gtk.StringObject:string] property that can be used for property bindings and expressions.

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • StringObject (argString = null)

    Wraps a string in an object for use with GListModel.

    • @p argString is The string to wrap.
  • toNativeHandle (Source)

    Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from fn.call(...), another generated wrapper exposing handle(), or null. Returns null when the argument carries no pointer.

    • @p Source is the raw handle, raw buffer, wrapper, or null.
    • @r A raw pointer carrier or null when no pointer is present.
  • getLib ()

    Returns the opened native library for this generated wrapper.

    • @r The opened native library.
  • handle ()

    Returns the wrapped NativeHandle.

    • @r The wrapped NativeHandle.
  • isNull ()

    Returns true when the wrapped handle is null.

    • @r A bool.
  • describe ()

    Returns a small string for debugging generated wrappers.

    • @r A string.
  • asObject ()

    Wraps this handle as Object.

    • @r A Object object.
  • get_string ()

    Returns the string contained in a GtkStringObject.