#include "rox_debug.h"
#include "choices.h"
#include "options.h"
#include "error.h"
#include "infowin.h"
#include "rox_resources.h"
#include "menu.h"
Functions | |
void | rox_init (const char *program, int *argc, char ***argv) |
void | rox_init_with_domain (const char *program, const char *domain, int *argc, char ***argv) |
const gchar * | rox_get_program_name (void) |
const gchar * | rox_get_program_domain (void) |
GdkPixbuf * | rox_get_program_icon (void) |
const gchar * | rox_get_app_dir (void) |
int | rox_clib_version_number (void) |
const char * | rox_clib_version_string (void) |
int | rox_clib_gtk_version_number (void) |
const char * | rox_clib_gtk_version_string (void) |
void | rox_deprecated_warning (const char *func, const char *use) |
void | rox_add_window (GtkWidget *window) |
int | rox_get_n_windows (void) |
void | rox_main_loop (void) |
void | rox_main_quit (void) |
int | rox_is_appdir (const char *path) |
char * | rox_find_appdir (const char *name, gchar **dirs, const char *env_name) |
char * | rox_clib_find (void) |
This is the top level header file for ROX-CLib. It provides the usual facilities required by most ROX programs.
|
Add this window to the ones which are being counted. When it is destroyed this will be noted and the window count decreased.
|
|
Return the path to ROX-CLib's AppDir. This tries
|
|
Returns the version number of the GTK+ library encoded as an int
|
|
Returns the version number of the GTK+ library as a string
|
|
Returns the version number of the library encoded as an int
|
|
Returns the version number of the library as a string
|
|
Warn about use of a deprecated function and indicate it's replacement. This warning is enabled by ROX_CLIB_DEPRECATION_WARNING=1 and disabled by ROX_CLIB_DEPRECATION_WARNING=0 (the default state depends on the release). This function is for internal use.
|
|
Return the path to an AppDir.
|
|
Returns the application directory.
|
|
Return the number of windows ROX-CLib is tracking
|
|
Returns the program domain as passed to rox_init_with_domain()
|
|
Returns the program icon used for the windows
|
|
Returns the program name as passed to rox_init_with_domain()
|
|
Initialize the library. Equivalent to rox_init_with_domain(program, NULL, argc, argv).
|
|
Initialize the library. This calls:
If If the ROX-CLib AppDir can be located by rox_clib_find() then the translations for ROX-CLib are made available from ROX-CLib/Messages. The default location for the applications translations is set to $APP_DIR/Messages.
|
|
Confirm that path exists and is a valid AppDir. This includes checking ownership and permissions.
|
|
Call gtk_main() repeatedly until either rox_get_n_windows() returns less than one, or rox_main_quit() is called |
|
Cause rox_main_loop() to exit. If rox_main_loop() has been called recursivly only the innermost is exited. |