1
<!-- ##### MACRO PANEL_APPLET_BONOBO_FACTORY ##### -->
3
Defines a 'main' routine for the applet factory.
6
@iid: The bonobo-activation iid of the factory.
7
@type: The #GType to instantiate.
8
@name: The applet ID string.
9
@version: The applet version string.
10
@callback: The factory callback.
11
@data: The factory user data pointer.
13
<!-- ##### MACRO PANEL_APPLET_BONOBO_SHLIB_FACTORY ##### -->
15
Defines a Bonobo Activation shared library plugin and associated
19
@iid: The bonobo-activation iid of the factory.
20
@type: The #GType to instantiate.
21
@descr: A description of the applet.
22
@callback: The factory callback.
23
@data: The factory user data pointer.
25
<!-- ##### MACRO PANEL_APPLET_ORIENT_DOWN ##### -->
27
The applet is orientated down (i.e. the panel is at the top of the screen).
31
<!-- ##### MACRO PANEL_APPLET_ORIENT_LEFT ##### -->
33
The applet is orientated left (i.e. the panel is at the right hand side of the screen).
37
<!-- ##### MACRO PANEL_APPLET_ORIENT_RIGHT ##### -->
39
The applet is orientated right (i.e. the panel is at the left hand side of the screen).
43
<!-- ##### MACRO PANEL_APPLET_ORIENT_UP ##### -->
45
The applet is orientated up (i.e. the panel is at the bottom of the screen).
49
<!-- ##### FUNCTION panel_applet_factory_main_closure ##### -->
51
A generic 'main' routine for applets. This should not normally be
52
used directly because it is invoked by #PANEL_APPLET_BONOBO_FACTORY.
55
@iid: The bonobo-activation iid of the factory.
56
@applet_type: The #GType to instantiate.
57
@closure: The factory callback closure.
58
@Returns: 0 on success, 1 on failure.
60
<!-- ##### FUNCTION panel_applet_get_control ##### -->
62
Retrieves the #BonoboControl associated with @applet.
65
@applet: The #PanelApplet.
66
@Returns: A #BonoboControl.
68
<!-- ##### FUNCTION panel_applet_get_popup_component ##### -->
70
Retrieves the #BonoboUIComponent used for popup menus associated
74
@applet: The #PanelApplet.
75
@Returns: A #BonoboUIComponent.
77
<!-- ##### FUNCTION panel_applet_shlib_factory ##### -->
79
A generic shared library factory routine for applets. This should not
80
normally be used directly as it is invoked by #PANEL_APPLET_BONOBO_SHLIB_FACTORY.
83
@iid: The bonobo-activation iid of the factory.
84
@applet_type: The #GType to instantiate.
85
@poa: The #PortableServer_POA passed to the shlib factory
87
@impl_ptr: The #gpointer passed to the shlib factory callback.
88
@callback: The applet factory callback.
89
@user_data: The factory user data pointer.
90
@ev: The $CORBA_Environment passed to the shlib factory callback.
91
@Returns: A #Bonobo_Unknown to return from the shlib factory
94
<!-- ##### FUNCTION panel_applet_shlib_factory_closure ##### -->
96
A generic shared library factory routine for applets. This should not
97
normally be used directly as it is invoked by #PANEL_APPLET_BONOBO_SHLIB_FACTORY.
100
@iid: The bonobo-activation iid of the factory.
101
@applet_type: The #GType to instantiate.
102
@poa: The #PortableServer_POA passed to the shlib factory
104
@impl_ptr: The #gpointer passed to the shlib factory callback.
105
@closure: The applet factory closure.
106
@ev: The $CORBA_Environment passed to the shlib factory callback.
107
@Returns: A #Bonobo_Unknown to return from the shlib factory