Buildable
Object Hierarchy:
Description:
public interface Buildable
The GtkBuildableIface interface contains method that are necessary to allow Builder to
construct an object from a GtkBuilder UI definition.
All known implementing classes:
Namespace: Gtk
Package: gtk+-2.0
Content:
Methods:
-
public abstract void add_child (Builder builder, Object child, string? type)
Adds a child to buildable. type is an optional string describing how the
child should be added.
-
public abstract weak Object construct_child (Builder builder, string name)
Constructs a child of buildable with the name name.
-
public abstract void custom_finished (Builder builder, Object? child, string tagname, void* data)
This is similar to
parser_finished but is called once for each custom tag handled by the buildable.
-
public abstract void custom_tag_end (Builder builder, Object? child, string tagname, out void* data)
This is called at the end of each custom element handled by the buildable.
-
public abstract bool custom_tag_start (Builder builder, Object? child, string tagname, out MarkupParser parser, out void* data)
This is called for each unknown element under <child>.
-
public abstract weak Object get_internal_child (Builder builder, string childname)
Get the internal child called childname of the buildable object.
-
public abstract unowned string get_name ()
Gets the name of the buildable object.
-
public abstract void parser_finished (Builder builder)
-
public abstract void set_buildable_property (Builder builder, string name, Value value)
Sets the property name name to value on the buildable object.
-
public abstract void set_name (string name)
Sets the name of the buildable object.