Libraries:Gtk:Glade:Standard
Functions
BuildChildren(self @ Gtk.Glade.XML.T, parent @ Gtk.Gtk.Widget.T, info @ Gtk.Glade.WidgetInfo.T) : Std.Object.T
BuildWidget(xml @ Gtk.Glade.XML.T, widget_type @ Gtk.GObject.Type.T, info @ Gtk.Glade.WidgetInfo.T) : Gtk.Gtk.Widget.T
This is the standard widget building function. It processes all the widget properties using the standard object properties interfaces. This function will be sufficient for most widget types, thus reducing the ammount of work needed to wrap a library.
xml | the GladeXML object. |
widget_type | the GType of the widget. |
info | the GladeWidgetInfo structure. |
Returns | the constructed widget. |
This is the standard child building function. It simply calls gtk_container_add on each child to add them to the parent, and process any packing properties using the generic container packing properties interfaces.
This function will be sufficient for most container widgets provided that they implement the GtkContainer child packing properties interfaces.