|
libgaminggear
|
Dialog that views a message and issues a cancel on timeout. More...
Data Structures | |
| struct | _GaminggearTimeoutDialog |
Macros | |
| #define | GAMINGGEAR_TIMEOUT_DIALOG_TYPE (gaminggear_timeout_dialog_get_type()) |
| #define | GAMINGGEAR_TIMEOUT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GAMINGGEAR_TIMEOUT_DIALOG_TYPE, GaminggearTimeoutDialog)) |
| #define | IS_GAMINGGEAR_TIMEOUT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GAMINGGEAR_TIMEOUT_DIALOG_TYPE)) |
Typedefs | |
| typedef struct _GaminggearTimeoutDialog | GaminggearTimeoutDialog |
| typedef struct _GaminggearTimeoutDialogPrivate | GaminggearTimeoutDialogPrivate |
Functions | |
| GType | gaminggear_timeout_dialog_get_type (void) |
| GtkWidget * | gaminggear_timeout_dialog_new (GtkWindow *parent, gchar const *title, gchar const *text) |
| Creates new timeout dialog. More... | |
| gboolean | gaminggear_timeout_dialog_run (GaminggearTimeoutDialog *timeout_dialog, guint timeout) |
| Run a timeout dialog. More... | |
| gboolean | gaminggear_timeout_dialog (GtkWindow *parent, gchar const *title, gchar const *text, guint timeout) |
| Show a timeout dialog. More... | |
Dialog that views a message and issues a cancel on timeout.
| #define GAMINGGEAR_TIMEOUT_DIALOG | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_CAST((obj), GAMINGGEAR_TIMEOUT_DIALOG_TYPE, GaminggearTimeoutDialog)) |
| #define GAMINGGEAR_TIMEOUT_DIALOG_TYPE (gaminggear_timeout_dialog_get_type()) |
| #define IS_GAMINGGEAR_TIMEOUT_DIALOG | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_TYPE((obj), GAMINGGEAR_TIMEOUT_DIALOG_TYPE)) |
| typedef struct _GaminggearTimeoutDialog GaminggearTimeoutDialog |
| typedef struct _GaminggearTimeoutDialogPrivate GaminggearTimeoutDialogPrivate |
| gboolean gaminggear_timeout_dialog | ( | GtkWindow * | parent, |
| gchar const * | title, | ||
| gchar const * | text, | ||
| guint | timeout | ||
| ) |
Show a timeout dialog.
Convenience function that creates, runs and destroys a timeout dialog.
| parent | Parent window or NULL. |
| title | Title of dialog. |
| text | Caption of dialog. |
| timeout | The time in seconds. |
| boolean | TRUE if accepted, FALSE if dialog was canceled or time ran out. |
| GType gaminggear_timeout_dialog_get_type | ( | void | ) |
| GtkWidget* gaminggear_timeout_dialog_new | ( | GtkWindow * | parent, |
| gchar const * | title, | ||
| gchar const * | text | ||
| ) |
Creates new timeout dialog.
| parent | Parent window or NULL. |
| title | Title of dialog. |
| text | Caption of dialog. |
| widget | The timeout dialog. |
| gboolean gaminggear_timeout_dialog_run | ( | GaminggearTimeoutDialog * | timeout_dialog, |
| guint | timeout | ||
| ) |
Run a timeout dialog.
| timeout_dialog | A timeout dialog. |
| timeout | The time in seconds. |
| boolean | TRUE if accepted, FALSE if dialog was canceled or time ran out. |
1.8.16