Klasse StringObject

Alle implementierten Schnittstellen:
PointerInterface

public class StringObject extends PropertyHolder
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.

https://docs.gtk.org/gtk4/class.StringObject.html

  • Konstruktordetails

    • StringObject

      public StringObject(PointerContainer pointer)
    • StringObject

      public StringObject(@Nonnull Str string)
      Wraps a string in an object for use with `GListModel`.
      Parameter:
      string - The string to wrap
    • StringObject

      public StringObject(String string)
      Wraps a string in an object for use with `GListModel`.
      Parameter:
      string - The string to wrap
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getString

      public Str getString()
      Returns the string contained in a `GtkStringObject`.
      Gibt zurück:
      the string of @self
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()