| Advanced Gtk+ Sequencer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <ags/widget/ags_expander_set.h> #define AGS_EXPANDER_SET_CHILD (ptr) struct AgsExpanderSet; struct AgsExpanderSetChild; struct AgsExpanderSetClass; enum AgsExpanderSetFlags;void ags_expander_set_add (AgsExpanderSet *expander_set,,GtkWidget *widget,guint x,guint y,guint width); AgsExpanderSetChild * ags_expander_set_child_alloc (guint height,guint x,guint y,guint width); AgsExpanderSetChild * ags_expander_set_child_find (guint heightAgsExpanderSet *expander_set,); AgsExpanderSet * ags_expander_set_new (GtkWidget *child,guint width);guint heightvoid ags_expander_set_remove (AgsExpanderSet *expander_set,);GtkWidget *widgetvoid ags_expander_set_set_flags (AgsExpanderSet *expander_set,);guint flags
struct AgsExpanderSet {
GtkTable table;
guint flags;
GList *ghost;
GList *location;
};
struct AgsExpanderSetChild {
GtkWidget *child;
guint x;
guint y;
guint width;
guint height;
};
typedef enum {
AGS_EXPANDER_SET_DRAW_GHOST = 1,
AGS_EXPANDER_SET_DRAW_LEFT_ENDING = 1 << 1,
AGS_EXPANDER_SET_DRAW_RIGHT_ENDING = 1 << 2,
AGS_EXPANDER_SET_DRAW_LEFT_CONNECTOR = 1 << 3,
AGS_EXPANDER_SET_DRAW_RIGHT_CONNECTOR = 1 << 4,
} AgsExpanderSetFlags;
void ags_expander_set_add (AgsExpanderSet *expander_set,,GtkWidget *widget,guint x,guint y,guint width);guint height
Adds a
|
the AgsExpanderSet |
|
the child |
|
x-position |
|
y-position |
|
allocation width |
|
allocation height |
Since 0.4
AgsExpanderSetChild * ags_expander_set_child_alloc (,guint x,guint y,guint width);guint height
AgsExpanderSetChild * ags_expander_set_child_find (AgsExpanderSet *expander_set,);GtkWidget *child
AgsExpanderSet * ags_expander_set_new (,guint width);guint height
Creates an AgsExpanderSet
|
the table's height |
|
the table's width |
Returns : |
a new AgsExpanderSet |
Since 0.4
void ags_expander_set_remove (AgsExpanderSet *expander_set,);GtkWidget *widget
Removes a
|
the AgsExpanderSet |
|
the child |
Since 0.4
void ags_expander_set_set_flags (AgsExpanderSet *expander_set,);guint flags