41 #ifndef __GNC_WINDOW_H 42 #define __GNC_WINDOW_H 50 #define GNC_TYPE_WINDOW (gnc_window_get_type ()) 51 #define GNC_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_WINDOW, GncWindow)) 52 #define GNC_IS_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_WINDOW)) 53 #define GNC_WINDOW_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GNC_TYPE_WINDOW, GncWindowIface)) 56 typedef struct GncWindow GncWindow;
60 GTypeInterface parent;
63 GtkWindow * (* get_gtk_window) (GncWindow *window);
64 GtkWidget * (* get_statusbar) (GncWindow *window);
65 GtkWidget * (* get_progressbar) (GncWindow *window);
66 void (* ui_set_sensitive) (GncWindow *window, gboolean sensitive);
70 GType gnc_window_get_type (
void);
72 GtkWindow *gnc_window_get_gtk_window (GncWindow *window);
74 void gnc_window_update_status (GncWindow *window,
GncPluginPage *page);
75 void gnc_window_set_status (GncWindow *window,
GncPluginPage *page,
const gchar *message);
77 void gnc_window_set_progressbar_window (GncWindow *window);
78 GncWindow *gnc_window_get_progressbar_window (
void);
79 GtkWidget *gnc_window_get_progressbar (GncWindow *window);
80 void gnc_window_show_progress (
const char *message,
double percentage);
96 GtkWidget *statusbar);
The instance data structure for a content plugin.
Functions for adding plugins to a GnuCash window.
void gnc_window_connect_proxy(GtkUIManager *merge, GtkAction *action, GtkWidget *proxy, GtkWidget *statusbar)
This callback functions will set the statusbar text to the "tooltip" property of the currently select...