type Gtk_Buildable is new Glib.Types.GType_Interface;
Null_Gtk_Buildable : constant Gtk_Buildable;
function Get_Type return Glib.GType;
procedure Add_Child
( | Self | : Gtk_Buildable; |
Builder | : not null access Gtk.Builder.Gtk_Builder_Record'Class; | |
Child | : not null access Glib.Object.GObject_Record'Class; | |
The_Type | : UTF8_String := ""); |
function Construct_Child
( | Self | : Gtk_Buildable; |
Builder | : not null access Gtk.Builder.Gtk_Builder_Record'Class; | |
Name | : UTF8_String) return Glib.Object.GObject; |
procedure Custom_Finished
( | Self | : Gtk_Buildable; |
Builder | : not null access Gtk.Builder.Gtk_Builder_Record'Class; | |
Child | : access Glib.Object.GObject_Record'Class; | |
Tagname | : UTF8_String; | |
Data | : System.Address); |
procedure Custom_Tag_End
( | Self | : Gtk_Buildable; |
Builder | : not null access Gtk.Builder.Gtk_Builder_Record'Class; | |
Child | : access Glib.Object.GObject_Record'Class; | |
Tagname | : UTF8_String; | |
Data | : in out System.Address); |
function Get_Internal_Child
( | Self | : Gtk_Buildable; |
Builder | : not null access Gtk.Builder.Gtk_Builder_Record'Class; | |
Childname | : UTF8_String) return Glib.Object.GObject; |
function Get_Name
( | Self | : Gtk_Buildable) return UTF8_String; |
procedure Set_Name
( | Self | : Gtk_Buildable; |
Name | : UTF8_String); |
procedure Parser_Finished
( | Self | : Gtk_Buildable; |
Builder | : not null access Gtk.Builder.Gtk_Builder_Record'Class); |
procedure Set_Buildable_Property
( | Self | : Gtk_Buildable; |
Builder | : not null access Gtk.Builder.Gtk_Builder_Record'Class; | |
Name | : UTF8_String; | |
Value | : in out Glib.Values.GValue); |
function "+"
( | W | : Gtk_Buildable) return Gtk_Buildable; |
GtkBuildable allows objects to extend and customize their deserialization from <link linkend="BUILDER-UI">GtkBuilder UI descriptions</link>. 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 Gtk.Builder.Gtk_Builder. There should be very little need for applications to call any <function>gtk_buildable_...</function> functions.
Note: An object only needs to implement this interface if it needs to extend the Gtk.Builder.Gtk_Builder format or run any extra routines at deserialization time