GnuCash  4.901-15-g732a005710
Data Structures | Macros | Typedefs | Functions
gnc-window.h File Reference

Functions that are supported by all types of windows. More...

#include <gtk/gtk.h>
#include "gnc-plugin-page.h"

Go to the source code of this file.

Data Structures

struct  GncWindowIface
 

Macros

#define GNC_TYPE_WINDOW   (gnc_window_get_type ())
 
#define GNC_WINDOW(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_WINDOW, GncWindow))
 
#define GNC_IS_WINDOW(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_WINDOW))
 
#define GNC_WINDOW_GET_IFACE(o)   (G_TYPE_INSTANCE_GET_INTERFACE ((o), GNC_TYPE_WINDOW, GncWindowIface))
 

Typedefs

typedef struct GncWindow GncWindow
 

Functions

GType gnc_window_get_type (void)
 
GtkWindow * gnc_window_get_gtk_window (GncWindow *window)
 
void gnc_window_update_status (GncWindow *window, GncPluginPage *page)
 
void gnc_window_set_status (GncWindow *window, GncPluginPage *page, const gchar *message)
 
void gnc_window_set_progressbar_window (GncWindow *window)
 
GncWindow * gnc_window_get_progressbar_window (void)
 
GtkWidget * gnc_window_get_progressbar (GncWindow *window)
 
void gnc_window_show_progress (const char *message, double percentage)
 
GtkWidget * gnc_window_get_menubar (GncWindow *window)
 
GtkWidget * gnc_window_get_toolbar (GncWindow *window)
 
GtkWidget * gnc_window_get_statusbar (GncWindow *window)
 
GMenuModel * gnc_window_get_menubar_model (GncWindow *window)
 

Detailed Description

Functions that are supported by all types of windows.

Author
Copyright (C) 2003 Jan Arne Petersen
Copyright (C) 2003 David Hampton hampt.nosp@m.on@e.nosp@m.mploy.nosp@m.ees..nosp@m.org

GnuCash has two types of "windows" that can show Plugin Pages. The first is called a "Main Window" and is implemented on top of a GtkWindow. The second is called an "Embedded Window" and is implemented on top of a GtkBox. The functions in this file will work with either type of window.

Definition in file gnc-window.h.