| Ethos Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Prerequisites | ||||
#define ETHOS_UI_CONFIGURABLE_GET_INTERFACE (obj) EthosUIConfigurable; EthosUIConfigurableIface; void ethos_ui_configurable_configure (EthosUIConfigurable *configurable, GtkWidget *parent);
The EthosUIConfigurable interface provides a way for plugins to expose that they provide a gtk widget that can be used to configure the plugin.
If a plugin implements the interface, the EthosUIManagerWidget will show a "Configure Plugin" button that will display the configuration widget.
typedef struct {
GObjectClass parent_class;
void (*configure) (EthosUIConfigurable *configurable,
GtkWidget *parent);
void (*reserved1) (void);
void (*reserved2) (void);
void (*reserved3) (void);
void (*reserved4) (void);
} EthosUIConfigurableIface;
void ethos_ui_configurable_configure (EthosUIConfigurable *configurable, GtkWidget *parent);
Requests that the plugin shows its configuration dialog. If parent is non NULL, then the
configuration dialog is set be transient to parent.
|
An EthosUIConfigurable |
|
The GtkWindow that generated the request. |