Defines a 'main' routine for the applet factory. @iid: The matecomponent-activation iid of the factory. @type: The #GType to instantiate. @name: The applet ID string. @version: The applet version string. @callback: The factory callback. @data: The factory user data pointer. Defines a MateComponent Activation shared library plugin and associated factory callback. @iid: The matecomponent-activation iid of the factory. @type: The #GType to instantiate. @descr: A description of the applet. @callback: The factory callback. @data: The factory user data pointer. The applet is orientated down (i.e. the panel is at the top of the screen). The applet is orientated left (i.e. the panel is at the right hand side of the screen). The applet is orientated right (i.e. the panel is at the left hand side of the screen). The applet is orientated up (i.e. the panel is at the bottom of the screen). A generic 'main' routine for applets. This should not normally be used directly because it is invoked by #MATE_PANEL_APPLET_MATECOMPONENT_FACTORY. @iid: The matecomponent-activation iid of the factory. @applet_type: The #GType to instantiate. @closure: The factory callback closure. @Returns: 0 on success, 1 on failure. Retrieves the #MateComponentControl associated with @applet. @applet: The #MatePanelApplet. @Returns: A #MateComponentControl. Retrieves the #MateComponentUIComponent used for popup menus associated with @applet. @applet: The #MatePanelApplet. @Returns: A #MateComponentUIComponent. A generic shared library factory routine for applets. This should not normally be used directly as it is invoked by #MATE_PANEL_APPLET_MATECOMPONENT_SHLIB_FACTORY. @iid: The matecomponent-activation iid of the factory. @applet_type: The #GType to instantiate. @poa: The #PortableServer_POA passed to the shlib factory callback. @impl_ptr: The #gpointer passed to the shlib factory callback. @callback: The applet factory callback. @user_data: The factory user data pointer. @ev: The $CORBA_Environment passed to the shlib factory callback. @Returns: A #MateComponent_Unknown to return from the shlib factory callback. A generic shared library factory routine for applets. This should not normally be used directly as it is invoked by #MATE_PANEL_APPLET_MATECOMPONENT_SHLIB_FACTORY. @iid: The matecomponent-activation iid of the factory. @applet_type: The #GType to instantiate. @poa: The #PortableServer_POA passed to the shlib factory callback. @impl_ptr: The #gpointer passed to the shlib factory callback. @closure: The applet factory closure. @ev: The $CORBA_Environment passed to the shlib factory callback. @Returns: A #MateComponent_Unknown to return from the shlib factory callback.