Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

GTaskWindow


Defines

#define GTASK_GCONF_ROOT_KEY   "/apps/gtask"

Enumerations

enum  { COL_VIEW_ID, COL_VIEW_NAME, N_VIEW_COLUMNS }

Functions

void gtask_window_init (GTaskWindow *window, gpointer g_class)
void gtask_window_class_init (GTaskWindowClass *klass)
void gtask_window_destroy (GtkObject *obj)
void gtask_window_finalize (GObject *obj)
void filter_text_clear (GtkButton *button, gpointer data)
void filter_text_changed (GtkEntry *text, gpointer data)
void view_mode_changed (GObject *widget, gpointer data)
GType gtask_window_get_type (void)
void gtask_window_init_ui (GTaskWindow *window)
char * gtask_window_get_gconf_root (GTaskWindow *window)
void gtask_window_restore_preferences (GTaskWindow *window)
void gtask_window_save_preferences (GTaskWindow *window)
gboolean gtask_window_save_prefs_timeout (gpointer data)
void gtask_window_queue_prefs_save (GTaskWindow *window)
gboolean gtask_window_configure_event (GtkWidget *widget, GdkEventConfigure *config, gpointer data)
GTaskWindowgtask_window_new_with_name (const char *name, const char *window_title)
void gtask_window_add_task (GTaskWindow *window, GTaskGenericTask *task)
GTaskViewgtask_window_get_view (GTaskWindow *window)

Variables

gpointer parent_class

Define Documentation

#define GTASK_GCONF_ROOT_KEY   "/apps/gtask"
 

Todo:
properties window title view mode filter string name
expose a way to get the inner task view we also need a place to allow people to add their own custom widgets

Definition at line 26 of file gtask-window.c.

Referenced by gtask_window_get_gconf_root().


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
COL_VIEW_ID 
COL_VIEW_NAME 
N_VIEW_COLUMNS 

Definition at line 28 of file gtask-window.c.


Function Documentation

void filter_text_changed GtkEntry *  text,
gpointer  data
 

Definition at line 486 of file gtask-window.c.

References gtask_view_set_filter_string(), GTASK_WINDOW, GTaskWindow, GTaskWindowPrivate, and _GTaskWindow::private.

Referenced by gtask_window_init_ui().

void filter_text_clear GtkButton *  button,
gpointer  data
 

Definition at line 475 of file gtask-window.c.

Referenced by gtask_window_init_ui().

void gtask_window_add_task GTaskWindow window,
GTaskGenericTask *  task
 

Definition at line 453 of file gtask-window.c.

References GTASK_IS_WINDOW, gtask_view_add_task(), GTaskWindow, _GTaskWindow::private, and _GTaskWindowPrivate::task_view.

Referenced by gtask_ui_manager_private_task_event().

void gtask_window_class_init GTaskWindowClass klass  )  [static]
 

Definition at line 398 of file gtask-window.c.

References gtask_window_destroy(), gtask_window_finalize(), GTaskWindowClass, and parent_class.

Referenced by gtask_window_get_type().

gboolean gtask_window_configure_event GtkWidget *  widget,
GdkEventConfigure *  config,
gpointer  data
[static]
 

Definition at line 352 of file gtask-window.c.

References GTASK_WINDOW, gtask_window_queue_prefs_save(), GTaskWindow, GTaskWindowPrivate, and _GTaskWindow::private.

Referenced by gtask_window_init().

void gtask_window_destroy GtkObject *  obj  )  [static]
 

Todo:
implement me

Definition at line 410 of file gtask-window.c.

References _GTaskWindowPrivate::gconf_client, GTASK_WINDOW, gtask_window_save_preferences(), GTaskWindow, and _GTaskWindow::private.

Referenced by gtask_window_class_init().

void gtask_window_finalize GObject *  obj  )  [static]
 

Todo:
implement me

Definition at line 421 of file gtask-window.c.

Referenced by gtask_window_class_init().

char* gtask_window_get_gconf_root GTaskWindow window  )  [static]
 

Definition at line 199 of file gtask-window.c.

References GTASK_GCONF_ROOT_KEY, GTaskWindow, _GTaskWindowPrivate::name, and _GTaskWindow::private.

Referenced by gtask_window_restore_preferences(), and gtask_window_save_preferences().

GType gtask_window_get_type void   ) 
 

Definition at line 58 of file gtask-window.c.

References gtask_window_class_init(), gtask_window_init(), GTaskWindow, and GTaskWindowClass.

GTaskView* gtask_window_get_view GTaskWindow window  ) 
 

Definition at line 465 of file gtask-window.c.

References GTASK_IS_WINDOW, GTaskWindow, _GTaskWindow::private, and _GTaskWindowPrivate::task_view.

void gtask_window_init GTaskWindow window,
gpointer  g_class
[static]
 

Todo:
in the future perhaps we should make all of the strings we need constrution parameters?

Definition at line 375 of file gtask-window.c.

References _GTaskWindowPrivate::gconf_client, gtask_window_configure_event(), GTaskWindow, GTaskWindowPrivate, and _GTaskWindow::private.

Referenced by gtask_window_get_type().

void gtask_window_init_ui GTaskWindow window  )  [static]
 

Todo:
in the future some more introspective version of the below would be preferred

Definition at line 84 of file gtask-window.c.

References COL_VIEW_ID, COL_VIEW_NAME, filter_text_changed(), filter_text_clear(), GTASK_VIEW_MODE_BASIC, GTASK_VIEW_MODE_LIST, GTASK_VIEW_MODE_TYPE, gtask_view_new(), GTaskWindow, GTaskWindowPrivate, N_VIEW_COLUMNS, _GTaskWindow::private, and view_mode_changed().

Referenced by gtask_window_new_with_name().

GTaskWindow* gtask_window_new_with_name const char *  name,
const char *  window_title
 

Definition at line 427 of file gtask-window.c.

References gtask_window_init_ui(), gtask_window_restore_preferences(), GTASK_WINDOW_TYPE, GTaskWindow, _GTaskWindowPrivate::name, _GTaskWindow::private, and _GTaskWindowPrivate::window_title.

Referenced by gtask_ui_manager_private_task_event().

void gtask_window_queue_prefs_save GTaskWindow window  )  [static]
 

Definition at line 337 of file gtask-window.c.

References gtask_window_save_prefs_timeout(), GTaskWindow, GTaskWindowPrivate, and _GTaskWindow::private.

Referenced by gtask_window_configure_event(), and view_mode_changed().

void gtask_window_restore_preferences GTaskWindow window  )  [static]
 

Definition at line 225 of file gtask-window.c.

References _GTaskWindowPrivate::gconf_client, GTASK_VIEW_MODE_BASIC, GTASK_VIEW_MODE_LIST, gtask_view_set_view_mode(), gtask_window_get_gconf_root(), GTaskWindow, _GTaskWindow::private, and _GTaskWindowPrivate::task_view.

Referenced by gtask_window_new_with_name().

void gtask_window_save_preferences GTaskWindow window  )  [static]
 

Definition at line 278 of file gtask-window.c.

References gtask_view_get_view_mode(), gtask_window_get_gconf_root(), GTaskViewMode, GTaskWindow, GTaskWindowPrivate, and _GTaskWindow::private.

Referenced by gtask_window_destroy(), and gtask_window_save_prefs_timeout().

gboolean gtask_window_save_prefs_timeout gpointer  data  )  [static]
 

Definition at line 322 of file gtask-window.c.

References GTASK_WINDOW, gtask_window_save_preferences(), GTaskWindow, _GTaskWindow::private, and _GTaskWindowPrivate::save_prefs_timeout.

Referenced by gtask_window_queue_prefs_save().

void view_mode_changed GObject *  widget,
gpointer  data
 

Definition at line 499 of file gtask-window.c.

References COL_VIEW_ID, gtask_view_set_view_mode(), GTASK_WINDOW, gtask_window_queue_prefs_save(), GTaskViewMode, GTaskWindow, _GTaskWindow::private, _GTaskWindowPrivate::save_prefs, and _GTaskWindowPrivate::task_view.

Referenced by gtask_window_init_ui().


Variable Documentation

gpointer parent_class [static]
 

Definition at line 34 of file gtask-window.c.

Referenced by gtask_window_class_init().


Generated on Mon Feb 2 21:33:26 2004 for libgtask-ui by doxygen 1.3.4