The GNOME Panel Libraries | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#include <applet-widget.h> struct AppletWidget; struct AppletWidgetClass; void applet_factory_new (const char *goad_id, |
|
"change-orient" void user_function (AppletWidget *appletwidget, |
struct AppletWidget { char *privcfgpath; char *globcfgpath; /* you should really use the accessors for these anyway */ PanelOrientType orient; int size; }; |
void applet_factory_new (const char *goad_id, |
create a new applet factory. It is used for applets that can run many applets from one process.
|
Make a new applet and register us with the panel, if you decide to cancel the load before calling applet_widget_add, you should call applet_widget_abort_load. This widget is a simple container but you should always use only applet_widget_add to add a child and you should only use it once.
goad_id : | The goad_id of the applet we are starting |
Returns : | A pointer to a new widget of type AppletWidget, or NULL if something went wrong. |
void applet_widget_construct (AppletWidget *applet, const char *goad_id); |
For bindings and subclassing only
applet : | AppletWidget to work on |
goad_id : | goad_id of the applet to construct |
|
Initialize the applet library, gnome and corba.
|
Duplicates the applet's CORBA object. This should be called when a shared library applet is activated.
void applet_widget_corba_deactivate ( |
void user_function (AppletWidget *appletwidget, |
void user_function (AppletWidget *appletwidget, |
|
void user_function (AppletWidget *appletwidget, |
void user_function (AppletWidget *appletwidget, |
void user_function (AppletWidget *appletwidget, |