SwamiguiProp

SwamiguiProp

Synopsis

                    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);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkScrolledWindow
                                       +----SwamiguiProp

Implemented Interfaces

SwamiguiProp implements AtkImplementorIface, GtkBuildable and SwamiguiPanel.

Description

Details

SwamiguiProp

typedef struct _SwamiguiProp SwamiguiProp;

SwamiguiPropHandler ()

GtkWidget *         (*SwamiguiPropHandler)              (GtkWidget *widg,
                                                         GObject *obj);

Function prototype to create a GUI property control interface.

widg :

A previously created widget (if changing obj) or NULL if a new widget should be created.

obj :

Object to create a GUI property control interface for.

Returns :

The toplevel widget of the interface which controls obj.

swamigui_register_prop_glade_widg ()

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.

objtype :

Type of object which the interface will control

handler :

Handler function to create the interface

swamigui_register_prop_handler ()

void                swamigui_register_prop_handler      (GType objtype,
                                                         SwamiguiPropHandler handler);

swamigui_prop_new ()

GtkWidget *         swamigui_prop_new                   (void);

Create a new Swami properties object

Returns :

Swami properties object

swamigui_prop_set_selection ()

void                swamigui_prop_set_selection         (SwamiguiProp *prop,
                                                         IpatchList *selection);

Set the object to control properties of.

prop :

Properties object

select :

Item selection to control or NULL to unset. If list contains multiple items, then selection will be unset.