#include <glib.h>
#include <glib-object.h>
#include <gtk/gtkmenu.h>
#include <gtk/gtktoolbar.h>
#include <gdk/gdkx.h>
#include <libosso.h>
#include <gtk/gtk.h>
Go to the source code of this file.
Classes | |
struct | _HomeAppletHandler |
struct | _HomeAppletHandlerClass |
Defines | |
#define | HOME_TYPE_APPLET_HANDLER (home_applet_handler_get_type()) |
#define | HOME_APPLET_HANDLER(obj) |
#define | HOME_APPLET_HANDLER_CLASS(klass) |
#define | IS_HOME_APPLET_HANDLER(obj) |
#define | IS_HOME_APPLET_HANDLER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), HOME_TYPE_APPLET_HANDLER)) |
Typedefs | |
typedef void *(* | AppletInitializeFn )(void *state_data, int *state_size, GtkWidget **widget) |
typedef int(* | AppletSaveStateFn )(void *data, void **state_data, int *state_size) |
typedef void(* | AppletBackgroundFn )(void *data) |
typedef void(* | AppletForegroundFn )(void *data) |
typedef GtkWidget *(* | AppletSettingsFn )(void *data, GtkWindow *parent) |
typedef void(* | AppletDeinitializeFn )(void *data) |
typedef _HomeAppletHandler | HomeAppletHandler |
typedef _HomeAppletHandlerClass | HomeAppletHandlerClass |
typedef _HomeAppletHandlerPrivate | HomeAppletHandlerPrivate |
Functions | |
GType | home_applet_handler_get_type (void) |
HomeAppletHandler * | home_applet_handler_new (const char *desktoppath, const char *libraryfile, void *state_data, int *state_size) |
int | home_applet_handler_save_state (HomeAppletHandler *handler, void **state_data, int *state_size) |
void | home_applet_handler_background (HomeAppletHandler *handler) |
void | home_applet_handler_foreground (HomeAppletHandler *handler) |
GtkWidget * | home_applet_handler_settings (HomeAppletHandler *handler, GtkWindow *parent) |
void | home_applet_handler_deinitialize (HomeAppletHandler *handler) |
gchar * | home_applet_handler_get_desktop_filepath (HomeAppletHandler *handler) |
gchar * | home_applet_handler_get_libraryfile (HomeAppletHandler *handler) |
void | home_applet_handler_set_coordinates (HomeAppletHandler *handler, gint x, gint y) |
void | home_applet_handler_get_coordinates (HomeAppletHandler *handler, gint *x, gint *y) |
GtkEventBox * | home_applet_handler_get_eventbox (HomeAppletHandler *handler) |
|
Value: (GTK_CHECK_CAST (obj, HOME_TYPE_APPLET_HANDLER, \ HomeAppletHandler)) |
|
Value: (GTK_CHECK_CLASS_CAST ((klass),\ HOME_TYPE_APPLET_HANDLER, HomeAppletHandlerClass)) |
|
Value: (GTK_CHECK_TYPE (obj, \ HOME_TYPE_APPLET_HANDLER)) |
|
HomeAppletHandlerPrivate: This structure contains just internal data. It should not be accessed directly. |
|
home_applet_handler_background: Called when Home goes to backround. Applet should stop all timers when this is called.
|
|
home_applet_handler_deinitialize: Called when Home unloads the applet from memory. Applet should deallocate all the resources needed.
|
|
home_applet_handler_foreground: Called when Home goes to foreground. Applet should start periodic UI updates again if needed.
|
|
home_applet_handler_get_get_coordinates: Called when the applet coordinates are wanted
|
|
home_applet_handler_get_desktop_filepath: Called when desktopfilepath is wanted
|
|
home_applet_handler_get_eventbox: Called when eventbox of applet is wanted
|
|
home_applet_handler_get_libraryfile: Called when libraryfile is wanted
|
|
home_applet_handler_get_type:
|
|
home_applet_handler_new: This is called when Home loads the applet from handler. Applet may load it self in initial state or in state given. It loads a GtkWidget that Home will use to display the applet.
|
|
home_applet_handler_save_state: Method called to save the UI state of the applet
|
|
home_applet_handler_get_set_coordinates: Called when the applet coordinates are set
|
|
home_applet_handler_settings: Called when the applet needs to open a properties dialog
|