00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef __HILDON_HOME_WINDOW_H__
00026 #define __HILDON_HOME_WINDOW_H__
00027
00028 #include <gtk/gtkwindow.h>
00029 #include <libosso.h>
00030
00031 G_BEGIN_DECLS
00032
00033 #define HILDON_TYPE_HOME_WINDOW (hildon_home_window_get_type ())
00034 #define HILDON_HOME_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HILDON_TYPE_HOME_WINDOW, HildonHomeWindow))
00035 #define HILDON_IS_HOME_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HILDON_TYPE_HOME_WINDOW))
00036 #define HILDON_HOME_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HILDON_TYPE_HOME_WINDOW, HildonHomeWindowClass))
00037 #define HILDON_IS_HOME_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HILDON_TYPE_HOME_WINDOW))
00038 #define HILDON_HOME_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), HILDON_TYPE_HOME_WINDOW, HildonHomeWindowClass))
00039
00040 typedef struct _HildonHomeWindow HildonHomeWindow;
00041 typedef struct _HildonHomeWindowPrivate HildonHomeWindowPrivate;
00042 typedef struct _HildonHomeWindowClass HildonHomeWindowClass;
00043
00044 struct _HildonHomeWindow
00045 {
00046 GtkWindow parent_instance;
00047
00048 HildonHomeWindowPrivate *priv;
00049 };
00050
00051 struct _HildonHomeWindowClass
00052 {
00053 GtkWindowClass parent_class;
00054
00055 void (* background) (HildonHomeWindow *window, gboolean is_background);
00056 void (* lowmem) (HildonHomeWindow *window, gboolean is_lowmem);
00057 void (* system_inactivity)
00058 (HildonHomeWindow *window, gboolean is_inactive);
00059 };
00060
00061 GType hildon_home_window_get_type (void) G_GNUC_CONST;
00062
00063 GtkWidget *hildon_home_window_new (osso_context_t *osso_context);
00064
00065 void hildon_home_window_set_osso_context (HildonHomeWindow *window,
00066 osso_context_t *osso_context);
00067
00068 GtkWidget *hildon_home_window_get_titlebar (HildonHomeWindow *window);
00069 GtkWidget *hildon_home_window_get_main_area (HildonHomeWindow *window);
00070
00071 void hildon_home_window_show_information_note(HildonHomeWindow *window,
00072 const gchar *text);
00073
00074 void hildon_home_window_applets_init (HildonHomeWindow *window);
00075
00076 void hildon_home_window_set_desktop_dimmed (HildonHomeWindow *window,
00077 gboolean dimmed);
00078
00079 G_END_DECLS
00080
00081 #endif