36 #ifndef __GNC_MAIN_WINDOW_H
37 #define __GNC_MAIN_WINDOW_H
43 #define GNC_TYPE_MAIN_WINDOW (gnc_main_window_get_type ())
44 #define GNC_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_MAIN_WINDOW, GncMainWindow))
45 #define GNC_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_MAIN_WINDOW, GncMainWindowClass))
46 #define GNC_IS_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_MAIN_WINDOW))
47 #define GNC_IS_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_MAIN_WINDOW))
48 #define GNC_MAIN_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_MAIN_WINDOW, GncMainWindowClass))
50 #define PLUGIN_PAGE_IMMUTABLE "page-immutable"
82 typedef void (*GncMainWindowPageFunc) (
GncPluginPage *page, gpointer user_data);
141 void gnc_main_window_foreach_page (GncMainWindowPageFunc fn,
174 const gchar *name_in);
184 const gchar *color_in);
206 const gchar *group_name,
207 GtkActionGroup *group,
241 const gchar *group_name,
242 GtkActionEntry *entries,
244 GtkToggleActionEntry *toggle_entries,
245 guint n_toggle_entries,
246 const gchar *filename,
262 const gchar *group_name);
292 const gchar *group_name);
322 GdkEventButton *event,
361 const gchar *domain);
void gnc_main_window_restore_all_windows(const GKeyFile *keyfile)
GtkWidget * gnc_book_options_dialog_cb(gboolean modal, gchar *title)
GtkWindowClass gtk_window
gboolean gnc_main_window_button_press_cb(GtkWidget *whatever, GdkEventButton *event, GncPluginPage *page)
void gnc_main_window_unmerge_actions(GncMainWindow *window, const gchar *group_name)
void gnc_main_window_show_all_windows(void)
void gnc_main_window_merge_actions(GncMainWindow *window, const gchar *group_name, GtkActionEntry *actions, guint n_actions, GtkToggleActionEntry *toggle_actions, guint n_toggle_actions, const gchar *filename, gpointer user_data)
void gnc_main_window_display_page(GncPluginPage *page)
void gnc_main_window_save_all_windows(GKeyFile *keyfile)
GncPluginPage * gnc_main_window_get_current_page(GncMainWindow *window)
void gnc_main_window_open_page(GncMainWindow *window, GncPluginPage *page)
void gnc_main_window_all_action_set_sensitive(const gchar *action_name, gboolean sensitive)
void main_window_update_page_color(GncPluginPage *page, const gchar *color_in)
GType gnc_main_window_get_type(void)
Functions for adding plugins to a GnuCash window.
struct GncMainWindow GncMainWindow
gboolean gnc_main_window_finish_pending(GncMainWindow *window)
GtkActionGroup * gnc_main_window_get_action_group(GncMainWindow *window, const gchar *group_name)
GncMainWindow * gnc_main_window_new(void)
void gnc_main_window_manual_merge_actions(GncMainWindow *window, const gchar *group_name, GtkActionGroup *group, guint merge_id)
void gnc_main_window_close_page(GncPluginPage *page)
void gnc_main_window_restore_default_state(GncMainWindow *window)
gboolean gnc_main_window_all_finish_pending(void)
void gnc_gtk_action_group_set_translation_domain(GtkActionGroup *action_group, const gchar *domain)
void gnc_main_window_actions_updated(GncMainWindow *window)
void main_window_update_page_name(GncPluginPage *page, const gchar *name_in)
GtkUIManager * gnc_main_window_get_uimanager(GncMainWindow *window)
GtkAction * gnc_main_window_find_action(GncMainWindow *window, const gchar *name)
void gnc_main_window_set_progressbar_window(GncMainWindow *window)