|
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.52">Namegnome-app-util -- Utility functions for manipulating GnomeApp container widgets. Synopsis
#include <gnome.h>
GtkWidget* gnome_app_message (GnomeApp *app,
const gchar *message);
void gnome_app_flash (GnomeApp *app,
const gchar *flash);
GtkWidget* gnome_app_error (GnomeApp *app,
const gchar *error);
GtkWidget* gnome_app_warning (GnomeApp *app,
const gchar *warning);
GtkWidget* gnome_app_question (GnomeApp *app,
const gchar *question,
GnomeReplyCallback callback,
gpointer data);
GtkWidget* gnome_app_question_modal (GnomeApp *app,
const gchar *question,
GnomeReplyCallback callback,
gpointer data);
GtkWidget* gnome_app_ok_cancel (GnomeApp *app,
const gchar *message,
GnomeReplyCallback callback,
gpointer data);
GtkWidget* gnome_app_ok_cancel_modal (GnomeApp *app,
const gchar *message,
GnomeReplyCallback callback,
gpointer data);
GtkWidget* gnome_app_request_string (GnomeApp *app,
const gchar *prompt,
GnomeStringCallback callback,
gpointer data);
GtkWidget* gnome_app_request_password (GnomeApp *app,
const gchar *prompt,
GnomeStringCallback callback,
gpointer data);
gdouble (*GnomeAppProgressFunc) (gpointer data);
void (*GnomeAppProgressCancelFunc) (gpointer data);
typedef GnomeAppProgressKey;
GnomeAppProgressKey gnome_app_progress_timeout
(GnomeApp *app,
const gchar *description,
guint32 interval,
GnomeAppProgressFunc percentage_cb,
GnomeAppProgressCancelFunc cancel_cb,
gpointer data);
GnomeAppProgressKey gnome_app_progress_manual
(GnomeApp *app,
const gchar *description,
GnomeAppProgressCancelFunc cancel_cb,
gpointer data);
void gnome_app_set_progress (GnomeAppProgressKey key,
gdouble percent);
void gnome_app_progress_done (GnomeAppProgressKey key); |
Detailsgnome_app_message ()GtkWidget* gnome_app_message (GnomeApp *app,
const gchar *message); |
A simple message, in an OK dialog or the status bar.
Requires confirmation from the user before it goes away.
gnome_app_flash ()void gnome_app_flash (GnomeApp *app,
const gchar *flash); |
Flash the message in the statusbar for a few moments; if no
statusbar, do nothing (?). For trivial little status messages,
e.g. "Auto saving..."
gnome_app_error ()GtkWidget* gnome_app_error (GnomeApp *app,
const gchar *error); |
An important fatal error; if it appears in the statusbar,
it might gdk_beep() and require acknowledgement.
gnome_app_warning ()GtkWidget* gnome_app_warning (GnomeApp *app,
const gchar *warning); |
A not-so-important error, but still marked better than a flash
gnome_app_question ()Ask a yes or no question, and call the callback when it's answered.
gnome_app_question_modal ()Ask a yes or no question, and call the callback when it's answered.
gnome_app_ok_cancel_modal ()
gnome_app_request_string ()
gnome_app_request_password ()
GnomeAppProgressFunc ()gdouble (*GnomeAppProgressFunc) (gpointer data); |
GnomeAppProgressCancelFunc ()void (*GnomeAppProgressCancelFunc) (gpointer data); |
GnomeAppProgressKeytypedef gpointer GnomeAppProgressKey; |
gnome_app_progress_timeout ()
gnome_app_progress_manual ()
gnome_app_set_progress ()
gnome_app_progress_done ()
|