Class Buildable

All Implemented Interfaces:
PointerInterface

public class Buildable extends Interface
`GtkBuildable` allows objects to extend and customize their deserialization
from ui files.

The interface includes methods for setting names and properties of objects,
parsing custom tags and constructing child objects.

The `GtkBuildable` interface is implemented by all widgets and
many of the non-widget objects that are provided by GTK. The
main user of this interface is [class@Gtk.Builder]. There should be
very little need for applications to call any of these functions directly.

An object only needs to implement this interface if it needs to extend the
`GtkBuilder` XML format or run any extra routines at deserialization time.

https://docs.gtk.org/gtk4/iface.Buildable.html

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getBuildableId

      public Str getBuildableId()
      Gets the ID of the @buildable object.

      `GtkBuilder` sets the name based on the ID attribute
      of the <object> tag used to construct the @buildable.
      Returns:
      the ID of the buildable object
    • 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()