GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
gnc-main-window.c File Reference

Functions for adding content to a window. More...

#include "config.h"
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
#include "gnc-plugin.h"
#include "gnc-plugin-manager.h"
#include "gnc-main-window.h"
#include "dialog-options.h"
#include "dialog-preferences.h"
#include "dialog-reset-warnings.h"
#include "dialog-transfer.h"
#include "dialog-utils.h"
#include "file-utils.h"
#include "gnc-component-manager.h"
#include "gnc-engine.h"
#include "gnc-file.h"
#include "gnc-filepath-utils.h"
#include "gnc-gkeyfile-utils.h"
#include "gnc-gnome-utils.h"
#include "gnc-gobject-utils.h"
#include "gnc-gui-query.h"
#include "gnc-hooks.h"
#include "gnc-session.h"
#include "gnc-state.h"
#include "gnc-ui.h"
#include "gnc-ui-util.h"
#include "gnc-uri-utils.h"
#include "core-utils/gnc-version.h"
#include "gnc-window.h"
#include "gnc-prefs.h"
#include "option-util.h"
#include "gnc-autosave.h"
#include "print-session.h"

Go to the source code of this file.

Data Structures

struct  GncMainWindowPrivate
 
struct  MergedActionEntry
 
struct  GncMainWindowSaveData
 
struct  menu_update
 
struct  _ActionStatus
 

Macros

#define PLUGIN_PAGE_LABEL   "plugin-page"
 
#define PLUGIN_PAGE_CLOSE_BUTTON   "close-button"
 
#define PLUGIN_PAGE_TAB_LABEL   "label"
 
#define GNC_PREF_SHOW_CLOSE_BUTTON   "tab-close-buttons"
 
#define GNC_PREF_TAB_NEXT_RECENT   "tab-next-recent"
 
#define GNC_PREF_TAB_POSITION_TOP   "tab-position-top"
 
#define GNC_PREF_TAB_POSITION_BOTTOM   "tab-position-bottom"
 
#define GNC_PREF_TAB_POSITION_LEFT   "tab-position-left"
 
#define GNC_PREF_TAB_POSITION_RIGHT   "tab-position-right"
 
#define GNC_PREF_TAB_WIDTH   "tab-width"
 
#define GNC_PREF_TAB_COLOR   "show-account-color-tabs"
 
#define GNC_PREF_SAVE_CLOSE_EXPIRES   "save-on-close-expires"
 
#define GNC_PREF_SAVE_CLOSE_WAIT_TIME   "save-on-close-wait-time"
 
#define GNC_MAIN_WINDOW_NAME   "GncMainWindow"
 
#define MSG_AUTO_SAVE   _("Changes will be saved automatically in %u seconds")
 
#define GNC_MAIN_WINDOW_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), GNC_TYPE_MAIN_WINDOW, GncMainWindowPrivate))
 
#define GTK_STOCK_PAGE_SETUP   NULL
 
#define WINDOW_COUNT   "WindowCount"
 
#define WINDOW_STRING   "Window %d"
 
#define WINDOW_GEOMETRY   "WindowGeometry"
 
#define WINDOW_POSITION   "WindowPosition"
 
#define WINDOW_MAXIMIZED   "WindowMaximized"
 
#define TOOLBAR_VISIBLE   "ToolbarVisible"
 
#define STATUSBAR_VISIBLE   "StatusbarVisible"
 
#define SUMMARYBAR_VISIBLE   "SummarybarVisible"
 
#define WINDOW_FIRSTPAGE   "FirstPage"
 
#define WINDOW_PAGECOUNT   "PageCount"
 
#define WINDOW_PAGEORDER   "PageOrder"
 
#define PAGE_TYPE   "PageType"
 
#define PAGE_NAME   "PageName"
 
#define PAGE_STRING   "Page %d"
 

Typedefs

typedef struct GncMainWindowPrivate GncMainWindowPrivate
 
typedef struct _ActionStatus ActionStatus
 

Enumerations

enum  { PAGE_ADDED, PAGE_CHANGED, LAST_SIGNAL }
 

Functions

void gnc_main_window_foreach_page (GncMainWindowPageFunc fn, gpointer user_data)
 
void gnc_main_window_restore_all_windows (const GKeyFile *keyfile)
 
void gnc_main_window_restore_default_state (GncMainWindow *window)
 
void gnc_main_window_save_all_windows (GKeyFile *keyfile)
 
gboolean gnc_main_window_finish_pending (GncMainWindow *window)
 
gboolean gnc_main_window_all_finish_pending (void)
 
void main_window_update_page_name (GncPluginPage *page, const gchar *name_in)
 
void main_window_update_page_color (GncPluginPage *page, const gchar *color_in)
 
GType gnc_main_window_get_type (void)
 
GncMainWindowgnc_main_window_new (void)
 
void gnc_main_window_display_page (GncPluginPage *page)
 
void gnc_main_window_open_page (GncMainWindow *window, GncPluginPage *page)
 
void gnc_main_window_close_page (GncPluginPage *page)
 
GncPluginPagegnc_main_window_get_current_page (GncMainWindow *window)
 
void gnc_main_window_manual_merge_actions (GncMainWindow *window, const gchar *group_name, GtkActionGroup *group, guint merge_id)
 
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_unmerge_actions (GncMainWindow *window, const gchar *group_name)
 
void gnc_main_window_actions_updated (GncMainWindow *window)
 
GtkAction * gnc_main_window_find_action (GncMainWindow *window, const gchar *name)
 
GtkActionGroup * gnc_main_window_get_action_group (GncMainWindow *window, const gchar *group_name)
 
GtkWidget * gnc_book_options_dialog_cb (gboolean modal, gchar *title)
 
void gnc_main_window_show_all_windows (void)
 
GtkWidget * gnc_ui_get_toplevel (void)
 
void gnc_main_window_set_progressbar_window (GncMainWindow *window)
 
gboolean gnc_main_window_button_press_cb (GtkWidget *whatever, GdkEventButton *event, GncPluginPage *page)
 
void gnc_gtk_action_group_set_translation_domain (GtkActionGroup *action_group, const gchar *domain)
 
void gnc_main_window_all_action_set_sensitive (const gchar *action_name, gboolean sensitive)
 
GtkUIManager * gnc_main_window_get_uimanager (GncMainWindow *window)
 

Detailed Description

Functions for adding content to a window.

Author
Copyright (C) 2003 Jan Arne Petersen jpete.nosp@m.rsen.nosp@m.@uni-.nosp@m.bonn.nosp@m..de
Copyright (C) 2003,2005,2006 David Hampton hampt.nosp@m.on@e.nosp@m.mploy.nosp@m.ees..nosp@m.org

Definition in file gnc-main-window.c.