Top |
Functions
GtkWidget * | epc_progress_window_new () |
void | epc_progress_window_update () |
void | epc_progress_window_install () |
Object Hierarchy
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── EpcProgressWindow
Description
The EpcProgressWindow can be used to provide some feedback during lengthly operations, like generating server keys.
See also: epc_tls_private_key_new()
Functions
epc_progress_window_new ()
GtkWidget * epc_progress_window_new (const gchar *title
,GtkWindow *parent
,const gchar *message
);
Creates a new EpcProgressWindow instance.
epc_progress_window_update ()
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”
epc_progress_window_install ()
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()
Types and Values
struct EpcProgressWindowClass
struct EpcProgressWindowClass { };
Virtual methods of the EpcProgressWindow class.
EpcProgressWindowPrivate
typedef struct _EpcProgressWindowPrivate EpcProgressWindowPrivate;
Private fields of the EpcProgressWindow class.