ContainerClass

Base class for containers.

Constructors

this
this(GtkContainerClass* gtkContainerClass, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

findChildProperty
ParamSpec findChildProperty(string propertyName)

Finds a child property of a container class by name.

getContainerClassStruct
GtkContainerClass* getContainerClassStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

handleBorderWidth
void handleBorderWidth()

Modifies a subclass of gtk.ContainerClass to automatically add and remove the border-width setting on GtkContainer. This allows the subclass to ignore the border width in its size request and allocate methods. The intent is for a subclass to invoke this in its class_init function.

installChildProperties
void installChildProperties(ParamSpec[] pspecs)

Installs child properties on a container class.

installChildProperty
void installChildProperty(uint propertyId, ParamSpec pspec)

Installs a child property on a container class.

listChildProperties
ParamSpec[] listChildProperties()

Returns all child properties of a container class.

Variables

gtkContainerClass
GtkContainerClass* gtkContainerClass;

the main Gtk struct