GnuCash
5.6-150-g038405b370+
|
Files | |
file | gnc-gnome-utils.h |
Gnome specific utility functions. | |
Functions | |
void | gnc_gnome_utils_init (void) |
Initialize the gnome-utils library Should be run once before using any gnome-utils features. | |
void | gnc_add_css_file (void) |
Load a gtk resource configuration file to customize gtk appearance and behaviour. | |
void | gnc_gnome_help (GtkWindow *parent, const char *file_name, const char *anchor) |
Launch the systems default help browser, gnome's yelp for linux, and open to a given link within a given file. More... | |
void | gnc_launch_doclink (GtkWindow *parent, const char *uri) |
Launch the default browser and open the provided URI. | |
GtkWidget * | gnc_gnome_get_pixmap (const char *name) |
Given a file name, find and load the requested pixmap. More... | |
GdkPixbuf * | gnc_gnome_get_gdkpixbuf (const char *name) |
Given a file name, find and load the requested pixbuf. More... | |
void | gnc_shutdown (int exit_status) |
Shutdown gnucash. More... | |
GncMainWindow * | gnc_gui_init (void) |
Initialize the gnucash gui. | |
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 516 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 485 of file gnc-gnome-utils.c.
void gnc_gnome_help | ( | GtkWindow * | parent, |
const char * | file_name, | ||
const char * | anchor | ||
) |
Launch the systems default help browser, gnome's yelp for linux, 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.
parent | The parent window for any dialogs. |
file_name | The name of the help file. |
anchor | The anchor the help browser should scroll to. |
Definition at line 343 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 747 of file gnc-gnome-utils.c.