ergtkbusydialog.h File Reference

ereader gtk library - GtkBusyDialog object for ereader system More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _erGtkBusyDialog
struct  _erGtkBusyDialogClass

Defines

#define ERGTK_TYPE_BUSY_DIALOG   (ergtk_busy_dialog_get_type ())
#define ERGTK_BUSY_DIALOG(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), ERGTK_TYPE_BUSY_DIALOG, erGtkBusyDialog))
#define ERGTK_BUSY_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), ERGTK_TYPE_BUSY_DIALOG, erGtkBusyDialogClass))
#define ERGTK_IS_BUSY_DIALOG(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ERGTK_TYPE_BUSY_DIALOG))
#define ERGTK_IS_BUSY_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), ERGTK_TYPE_BUSY_DIALOG))
#define ERGTK_BUSY_DIALOG_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), ERGTK_TYPE_BUSY_DIALOG, erGtkBusyDialogClass))

Typedefs

typedef struct _erGtkBusyDialog erGtkBusyDialog
typedef struct
_erGtkBusyDialogClass 
erGtkBusyDialogClass

Functions

GType ergtk_busy_dialog_get_type (void) G_GNUC_CONST
GtkWidget * ergtk_busy_dialog_new (const gchar *label_text)

Detailed Description

ereader gtk library - GtkBusyDialog object for ereader system

Definition in file ergtkbusydialog.h.


Define Documentation

#define ERGTK_BUSY_DIALOG ( obj   )     (G_TYPE_CHECK_INSTANCE_CAST ((obj), ERGTK_TYPE_BUSY_DIALOG, erGtkBusyDialog))

Definition at line 34 of file ergtkbusydialog.h.

#define ERGTK_BUSY_DIALOG_CLASS ( klass   )     (G_TYPE_CHECK_CLASS_CAST ((klass), ERGTK_TYPE_BUSY_DIALOG, erGtkBusyDialogClass))

Definition at line 35 of file ergtkbusydialog.h.

#define ERGTK_BUSY_DIALOG_GET_CLASS ( obj   )     (G_TYPE_INSTANCE_GET_CLASS ((obj), ERGTK_TYPE_BUSY_DIALOG, erGtkBusyDialogClass))

Definition at line 38 of file ergtkbusydialog.h.

#define ERGTK_IS_BUSY_DIALOG ( obj   )     (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ERGTK_TYPE_BUSY_DIALOG))

Definition at line 36 of file ergtkbusydialog.h.

Referenced by ergtk_busy_dialog_init().

#define ERGTK_IS_BUSY_DIALOG_CLASS ( klass   )     (G_TYPE_CHECK_CLASS_TYPE ((klass), ERGTK_TYPE_BUSY_DIALOG))

Definition at line 37 of file ergtkbusydialog.h.

#define ERGTK_TYPE_BUSY_DIALOG   (ergtk_busy_dialog_get_type ())

Copyright (C) 2008 iRex Technologies B.V. All rights reserved.

Definition at line 33 of file ergtkbusydialog.h.

Referenced by ergtk_busy_dialog_new().


Typedef Documentation

Definition at line 41 of file ergtkbusydialog.h.

Definition at line 42 of file ergtkbusydialog.h.


Function Documentation

GType ergtk_busy_dialog_get_type ( void   ) 
GtkWidget* ergtk_busy_dialog_new ( const gchar *  label_text  ) 

Definition at line 108 of file ergtkbusydialog.c.

References ERGTK_TYPE_BUSY_DIALOG, _erGtkBusyDialog::label, and LOGPRINTF.

Referenced by create_show_busy_loading(), and dialog_wait_show().

00109 {
00110     erGtkBusyDialog *dialog;
00111 
00112     LOGPRINTF("entry");
00113 
00114     dialog = g_object_new (ERGTK_TYPE_BUSY_DIALOG, NULL);
00115 
00116     if (label_text)
00117     {
00118         gtk_label_set_text (GTK_LABEL (dialog->label), label_text);
00119     }
00120 
00121     return GTK_WIDGET (dialog);
00122 }

Here is the caller graph for this function:

Generated by  doxygen 1.6.2-20100208