swamigui Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
SwamiguiProp; GtkWidget * (*SwamiguiPropHandler) (GtkWidget *widg
,GObject *obj
); void swamigui_register_prop_glade_widg (GType objtype
,const char *name
); void swamigui_register_prop_handler (GType objtype
,SwamiguiPropHandler handler
); GtkWidget * swamigui_prop_new (void
); void swamigui_prop_set_selection (SwamiguiProp *prop
,IpatchList *selection
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkScrolledWindow +----SwamiguiProp
GtkWidget * (*SwamiguiPropHandler) (GtkWidget *widg
,GObject *obj
);
Function prototype to create a GUI property control interface.
|
A previously created widget (if changing obj ) or NULL if a new
widget should be created.
|
|
Object to create a GUI property control interface for. |
Returns : |
The toplevel widget of the interface which controls obj .
|
void swamigui_register_prop_glade_widg (GType objtype
,const char *name
);
Registers a handler function to create an interface control for a given
objtype
. The handler should create a widget (if its widg parameter is
NULL
), or use previously created widget, and connect its controls to the
properties of the passed in object. Use swamigui_prop_register_glade_widg()
instead if no special customization is needed beyond simply connecting
widgets to an object's properties.
|
Type of object which the interface will control |
|
Handler function to create the interface |
void swamigui_register_prop_handler (GType objtype
,SwamiguiPropHandler handler
);
GtkWidget * swamigui_prop_new (void
);
Create a new Swami properties object
Returns : |
Swami properties object |
void swamigui_prop_set_selection (SwamiguiProp *prop
,IpatchList *selection
);
Set the object to control properties of.
|
Properties object |
|
Item selection to control or NULL to unset. If list contains
multiple items, then selection will be unset.
|