GnuCash
2.6.99
|
Files | |
file | gnc-gnome-utils.h |
Gnome specific utility functions. | |
Functions | |
void | gnc_gtk_add_rc_file (void) |
void | gnc_gnome_help (const char *file_name, const char *anchor) |
void | gnc_launch_assoc (const char *uri) |
void | gnc_options_dialog_set_book_options_help_cb (GNCOptionWin *win) |
void | gnc_options_dialog_set_new_book_option_values (GNCOptionDB *odb) |
GtkWidget * | gnc_gnome_get_pixmap (const char *name) |
GdkPixbuf * | gnc_gnome_get_gdkpixbuf (const char *name) |
void | gnc_shutdown (int exit_status) |
GncMainWindow * | gnc_gui_init (void) |
int | gnc_ui_start_event_loop (void) |
gboolean | gnucash_ui_is_running (void) |
GdkPixbuf* gnc_gnome_get_gdkpixbuf | ( | const char * | name | ) |
Given a file name, find and load the requested pixbuf. This routine will display an error message if it can't find the file or load the pixbuf.
name | The name of the pixbuf file to load. |
Definition at line 514 of file gnc-gnome-utils.c.
GtkWidget* gnc_gnome_get_pixmap | ( | const char * | name | ) |
Given a file name, find and load the requested pixmap. This routine will display an error message if it can't find the file or load the pixmap.
name | The name of the pixmap file to load. |
Definition at line 483 of file gnc-gnome-utils.c.
void gnc_gnome_help | ( | const char * | file_name, |
const char * | anchor | ||
) |
Launch the default gnome help browser and open to a given link within a given file. This routine will display an error message if it can't find the help file or can't open the help browser.
file_name | The name of the help file. |
anchor | The anchor the help browser should scroll to.. |
Definition at line 371 of file gnc-gnome-utils.c.
void gnc_gtk_add_rc_file | ( | void | ) |
Load a gtk resource configuration file to customize gtk appearance and behviour.
Definition at line 173 of file gnc-gnome-utils.c.
GncMainWindow* gnc_gui_init | ( | void | ) |
Initialize the gnucash gui
Definition at line 619 of file gnc-gnome-utils.c.
void gnc_launch_assoc | ( | const char * | uri | ) |
Launch the default gnome browser and open the provided URI.
Definition at line 450 of file gnc-gnome-utils.c.
void gnc_options_dialog_set_book_options_help_cb | ( | GNCOptionWin * | win | ) |
Set the help callback to 'gnc_book_options_help_cb' to open a help browser and point it to the Book Options link in the Help file.
Definition at line 84 of file gnc-gnome-utils.c.
void gnc_options_dialog_set_new_book_option_values | ( | GNCOptionDB * | odb | ) |
Set the intial values of new book options to values specified in user preferences.
Definition at line 92 of file gnc-gnome-utils.c.
void gnc_shutdown | ( | int | exit_status | ) |
Shutdown gnucash. This function will initiate an orderly shutdown, and when that has finished it will exit the program.
exit_status | The exit status for the program. |
Definition at line 767 of file gnc-gnome-utils.c.