41 #ifndef __GNC_WINDOW_H 42 #define __GNC_WINDOW_H 50 #define GNC_TYPE_WINDOW (gnc_window_get_type ()) 51 G_DECLARE_INTERFACE (GncWindow, gnc_window, GNC, WINDOW, GObject)
56 GTypeInterface parent;
59 GtkWindow * (* get_gtk_window) (GncWindow *window);
60 GtkWidget * (* get_statusbar) (GncWindow *window);
61 GtkWidget * (* get_progressbar) (GncWindow *window);
62 GtkWidget * (* get_menubar) (GncWindow *window);
63 GtkWidget * (* get_toolbar) (GncWindow *window);
64 GMenuModel * (* get_menubar_model) (GncWindow *window);
65 GtkAccelGroup * (* get_accel_group) (GncWindow *window);
66 void (* ui_set_sensitive) (GncWindow *window, gboolean sensitive);
70 GtkWindow *gnc_window_get_gtk_window (GncWindow *window);
72 void gnc_window_update_status (GncWindow *window,
GncPluginPage *page);
73 void gnc_window_set_status (GncWindow *window,
GncPluginPage *page,
const gchar *message);
75 void gnc_window_set_progressbar_window (GncWindow *window);
76 GncWindow *gnc_window_get_progressbar_window (
void);
77 GtkWidget *gnc_window_get_progressbar (GncWindow *window);
78 void gnc_window_show_progress (
const char *message,
double percentage);
79 GtkWidget *gnc_window_get_menubar (GncWindow *window);
80 GtkWidget *gnc_window_get_toolbar (GncWindow *window);
81 GtkWidget *gnc_window_get_statusbar (GncWindow *window);
82 GMenuModel *gnc_window_get_menubar_model (GncWindow *window);
83 GtkAccelGroup *gnc_window_get_accel_group (GncWindow *window);
The instance data structure for a content plugin.
Functions for adding plugins to a GnuCash window.