Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_EXPANDER_CHILD() |
AgsExpanderChild * | ags_expander_child_alloc () |
AgsExpanderChild * | ags_expander_child_find () |
void | ags_expander_add () |
void | ags_expander_remove () |
AgsExpander * | ags_expander_new () |
#define | AGS_EXPANDER() |
#define | AGS_EXPANDER_CLASS() |
#define | AGS_EXPANDER_GET_CLASS() |
#define | AGS_IS_EXPANDER() |
#define | AGS_IS_EXPANDER_CLASS() |
GType | ags_expander_get_type () |
enum | AgsExpanderFlags |
struct | AgsExpanderChild |
#define | AGS_TYPE_EXPANDER |
struct | AgsExpander |
struct | AgsExpanderClass |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkExpander ╰── AgsExpander
AgsExpander is a composite widget containing a GtkTable. It is mainly used to layout childs in rows and columns that can be expanded.
AgsExpanderChild * ags_expander_child_alloc (guint x
,guint y
,guint width
,guint height
);
AgsExpanderChild * ags_expander_child_find (AgsExpander *expander
,GtkWidget *child
);
void ags_expander_add (AgsExpander *expander
,GtkWidget *widget
,guint x
,guint y
,guint width
,guint height
);
Adds a GtkWidget to AgsExpander
expander |
the AgsExpander |
|
widget |
the child GtkWidget |
|
x |
x-position |
|
y |
y-position |
|
width |
allocation width |
|
height |
allocation height |
Since: 0.4
void ags_expander_remove (AgsExpander *expander
,GtkWidget *widget
);
Removes a GtkWidget of AgsExpander
Since: 0.4
AgsExpander * ags_expander_new (guint width
,guint height
);
Creates an AgsExpander
Since: 0.4
#define AGS_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPANDER, AgsExpander))
#define AGS_EXPANDER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EXPANDER, AgsExpanderClass))
#define AGS_EXPANDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EXPANDER, AgsExpanderClass))
#define AGS_IS_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EXPANDER))
#define AGS_IS_EXPANDER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EXPANDER))
struct AgsExpanderChild { GtkWidget *child; guint x; guint y; guint width; guint height; };
“child”
property“child” GtkWidget *
The child which this expander is packed into.
Flags: Read / Write
“height”
property“height” guint
The height which this expander is packed into.
Flags: Read / Write
Default value: 1
“width”
property“width” guint
The width of the expander's grid.
Flags: Read / Write
Default value: 1