| Advanced Gtk+ Sequencer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <ags/widget/ags_expander.h> #define AGS_EXPANDER_CHILD (ptr) struct AgsExpander; struct AgsExpanderChild; struct AgsExpanderClass; enum AgsExpanderFlags;void ags_expander_add (AgsExpander *expander,,GtkWidget *widget,guint x,guint y,guint width); AgsExpanderChild * ags_expander_child_alloc (guint height,guint x,guint y,guint width); AgsExpanderChild * ags_expander_child_find (guint heightAgsExpander *expander,); AgsExpander * ags_expander_new (GtkWidget *child,guint width);guint heightvoid ags_expander_remove (AgsExpander *expander,);GtkWidget *widget
AgsExpander is a composite widget containing a
struct AgsExpander {
GtkExpander expander;
guint flags;
GtkTable *table;
GList *children;
};
struct AgsExpanderChild {
GtkWidget *child;
guint x;
guint y;
guint width;
guint height;
};
void ags_expander_add (AgsExpander *expander,,GtkWidget *widget,guint x,guint y,guint width);guint height
Adds a
|
the AgsExpander |
|
the child |
|
x-position |
|
y-position |
|
allocation width |
|
allocation height |
Since 0.4
AgsExpanderChild * ags_expander_child_alloc (,guint x,guint y,guint width);guint height
AgsExpanderChild * ags_expander_child_find (AgsExpander *expander,);GtkWidget *child
AgsExpander * ags_expander_new (,guint width);guint height
Creates an AgsExpander
|
the table's height |
|
the table's width |
Returns : |
a new AgsExpander |
Since 0.4
void ags_expander_remove (AgsExpander *expander,);GtkWidget *widget
Removes a
|
the AgsExpander |
|
the child |
Since 0.4