|  |  |  | Easy Publish and Consume Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#include <libepc-ui/progress-window.h>
                    EpcProgressWindowClass;
                    EpcProgressWindowPrivate;
                    EpcProgressWindow;
GtkWidget*          epc_progress_window_new             (const gchar *title,
                                                         GtkWindow *parent,
                                                         const gchar *message);
void                epc_progress_window_update          (EpcProgressWindow *window,
                                                         gdouble progress,
                                                         const gchar *message);
void                epc_progress_window_install         (GtkWindow *parent);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----EpcProgressWindow
"message" gchar* : Read / Write / Construct "progress" gdouble : Read / Write / Construct "title" gchar* : Read / Write / Construct
The EpcProgressWindow can be used to provide some feedback during lengthly operations, like generating server keys.
See also: epc_tls_private_key_new()
typedef struct {
} EpcProgressWindowClass;
Virtual methods of the EpcProgressWindow class.
typedef struct _EpcProgressWindowPrivate EpcProgressWindowPrivate;
Private fields of the EpcProgressWindow class.
typedef struct _EpcProgressWindow EpcProgressWindow;
Public fields of the EpcProgressWindow class.
GtkWidget* epc_progress_window_new (const gchar *title, GtkWindow *parent, const gchar *message);
Creates a new EpcProgressWindow instance.
| 
 | the title of the window | 
| 
 | the transient parent of the window, or NULL | 
| 
 | the message to show, or NULL | 
| Returns : | The newly created EpcProgressWindow. | 
void epc_progress_window_update (EpcProgressWindow *window, gdouble progress, const gchar *message);
Updates the EpcProgressWindow with new progress information. The progress
is expressed as percentage in the range [0..1], or -1 if the progress cannot
be estimated.
See also: "message", "progress"
| 
 | a EpcProgressWindow | 
| 
 | the current progress, or -1 | 
| 
 | a description of the current progress | 
void epc_progress_window_install (GtkWindow *parent);
Configures the hooks provided by libepc to use EpcProgressWindow when for performing long standing tasks like for instance generating private keys.
See also: epc_tls_set_private_key_hooks()
| 
 | the transient parent of the window, or NULL | 
"message" property"message" gchar* : Read / Write / Construct
The progress message to show.
Default value: NULL
"progress" property"progress" gdouble : Read / Write / Construct
Current progress, or -1.
Allowed values: [-1,1]
Default value: -1
"title" property"title" gchar* : Read / Write / Construct
The title to show.
Default value: NULL