#include "home-applet-handler.h"
#include "hildon-home-plugin-interface.h"
#include "hildon-home-interface.h"
#include "hildon-home-applet.h"
#include <string.h>
#include <dlfcn.h>
#include <gtk/gtk.h>
#include <osso-log.h>
Defines | |
#define | HOME_APPLET_HANDLER_LIBRARY_DIR "/usr/lib/hildon-home/" |
#define | HOME_APPLET_HANDLER_RESIZABLE_WIDTH "X" |
#define | HOME_APPLET_HANDLER_RESIZABLE_HEIGHT "Y" |
#define | HOME_APPLET_HANDLER_RESIZABLE_FULL "XY" |
#define | HOME_APPLET_HANDLER_GET_PRIVATE(obj) |
Enumerations | |
enum | { SYMBOL_INITIALIZE = 0, SYMBOL_SAVE_STATE, SYMBOL_BACKGROUND, SYMBOL_FOREGROUND, SYMBOL_SETTINGS, SYMBOL_DEINITIALIZE, MAX_SYMBOLS } |
Functions | |
GType | home_applet_handler_get_type (void) |
HomeAppletHandler * | home_applet_handler_new (const char *desktoppath, void *state_data, int *state_size) |
GtkWidget * | home_applet_handler_get_widget (HomeAppletHandler *handler) |
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) |
const gchar * | home_applet_handler_get_desktop_filepath (HomeAppletHandler *handler) |
const 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) |
void | home_applet_handler_store_size (HomeAppletHandler *handler) |
void | home_applet_handler_set_size (HomeAppletHandler *handler, gint width, gint height) |
void | home_applet_handler_get_size (HomeAppletHandler *handler, gint *width, gint *height) |
void | home_applet_handler_set_minimum_size (HomeAppletHandler *handler, gint minwidth, gint minheight) |
void | home_applet_handler_get_minimum_size (HomeAppletHandler *handler, gint *minwidth, gint *minheight) |
void | home_applet_handler_set_resizable (HomeAppletHandler *handler, gboolean resizable_width, gboolean resizable_height) |
void | home_applet_handler_get_resizable (HomeAppletHandler *handler, gboolean *resizable_width, gboolean *resizable_height) |
GtkEventBox * | home_applet_handler_get_eventbox (HomeAppletHandler *handler) |
|
Value: (G_TYPE_INSTANCE_GET_PRIVATE ((obj),\ HOME_TYPE_APPLET_HANDLER, HomeAppletHandlerPrivate)) |
|
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_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_minimum_size: Called when the applet minimum size is wanted. If value returned is zero, resizing is not allowed to dimension.
|
|
home_applet_handler_get_resizable: Called when the applet resizable dimensions statuses are wanted. If value returned is FALSE, resizing is not allowed to dimension.
|
|
home_applet_handler_get_size: Called when the applet size is wanted.
|
|
home_applet_handler_get_type: A GType of applet handler |
|
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_set_coordinates: Called when the applet coordinates are set
|
|
home_applet_handler_set_minimum_size: Called when the applet minimum size is wanted to set. If value is zero, resizing is not allowed to dimension.
|
|
home_applet_handler_set_resizable: Called when the applet resizable dimensions statuses are wanted to set. If value is FALSE, resizing is not allowed to dimension.
|
|
home_applet_handler_set_size: Called when the applet size is wanted to set
|
|
home_applet_handler_settings: Called when the applet needs to open a properties dialog
|
|
home_applet_handler_set_size: Called when the applet size is wanted to store to handler from eventbox.
|