#include <glib.h>
#include <glib-object.h>
#include <gtk/gtkmenu.h>
#include <gtk/gtktoolbar.h>
#include <gdk/gdkx.h>
#include <libosso.h>
Go to the source code of this file.
Classes | |
struct | _HildonHomePluginLoader |
struct | _HildonHomePluginLoaderClass |
Defines | |
#define | HILDON_TYPE_HOME_PLUGIN_LOADER (hildon_home_plugin_loader_get_type()) |
#define | HILDON_HOME_PLUGIN_LOADER(obj) |
#define | HILDON_HOME_PLUGIN_LOADER_CLASS(klass) |
#define | HILDON_IS_HOME_PLUGIN_LOADER(obj) |
#define | HILDON_IS_HOME_PLUGIN_LOADER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), HILDON_TYPE_HOME_PLUGIN_LOADER)) |
Typedefs | |
typedef void *(* | PluginInitializeFn )(void *state_data, int *state_size, GtkWidget **widget) |
typedef int(* | PluginGetReqWidthFn )(void *data) |
typedef int(* | PluginSaveStateFn )(void *data, void **state_data, int *state_size) |
typedef void(* | PluginBackgroundFn )(void *data) |
typedef void(* | PluginForegroundFn )(void *data) |
typedef GtkWidget *(* | PluginPropertiesFn )(void *data, GtkWindow *parent) |
typedef void(* | PluginDeinitializeFn )(void *data) |
typedef _HildonHomePluginLoader | HildonHomePluginLoader |
typedef _HildonHomePluginLoaderClass | HildonHomePluginLoaderClass |
typedef _HildonHomePluginLoaderPrivate | HildonHomePluginLoaderPrivate |
Functions | |
GType | hildon_home_plugin_loader_get_type (void) |
HildonHomePluginLoader * | hildon_home_plugin_loader_new (const char *plugin_name, void *state_data, int *state_size, GtkWidget **applet) |
int | hildon_home_plugin_get_applet_width (HildonHomePluginLoader *loader) |
int | hildon_home_plugin_applet_save_state (HildonHomePluginLoader *loader, void **state_data, int *state_size) |
void | hildon_home_plugin_applet_background (HildonHomePluginLoader *loader) |
void | hildon_home_plugin_applet_foreground (HildonHomePluginLoader *loader) |
GtkWidget * | hildon_home_plugin_applet_properties (HildonHomePluginLoader *loader, GtkWindow *parent) |
void | hildon_home_plugin_deinitialize (HildonHomePluginLoader *loader) |
|
Value: (GTK_CHECK_CAST (obj, HILDON_TYPE_HOME_PLUGIN_LOADER, \ HildonHomePluginLoader)) |
|
Value: (GTK_CHECK_CLASS_CAST ((klass),\ HILDON_TYPE_HOME_PLUGIN_LOADER, HildonHomePluginLoaderClass)) |
|
Value: (GTK_CHECK_TYPE (obj, \ HILDON_TYPE_HOME_PLUGIN_LOADER)) |
|
HildonHomePluginLoaderPrivate: This structure contains just internal data. It should not be accessed directly. |
|
Called when Home goes to backround. Applet should stop all timers when this is called.
|
|
Called when Home goes to foreground. Applet should start periodic UI updates again if needed.
|
|
Called when the applet needs to open a properties dialog
|
|
Method called to save the UI state of the applet
|
|
Called when Home unloads the applet from memory. Applet should deallocate all the resources needed.
|
|
Method that returns width that the applet needs to be displayed without any truncation. Home may set the width of the widget narower than this if needed. The priorities are listed in Home Layout Guide.
|
|
hildon_home_plugin_loader_get_type:
|
|
hildon_home_plugin_loader_new: This is called when Home loads the applet from plugin. Applet may load it self in initial state or in state given. It loads a GtkWidget that Home will use to display the applet.
|