Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | epc_progress_window_new () |
void | epc_progress_window_update () |
void | epc_progress_window_install () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── EpcProgressWindow
The EpcProgressWindow can be used to provide some feedback during lengthly operations, like generating server keys.
See also: epc_tls_private_key_new()
GtkWidget * epc_progress_window_new (const gchar *title
,GtkWindow *parent
,const gchar *message
);
Creates a new EpcProgressWindow instance.
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”
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()
struct EpcProgressWindowClass { };
Virtual methods of the EpcProgressWindow class.
typedef struct _EpcProgressWindowPrivate EpcProgressWindowPrivate;
Private fields of the EpcProgressWindow class.
“message”
property“message” gchar *
The progress message to show.
Flags: Read / Write / Construct
Default value: NULL
“progress”
property“progress” gdouble
Current progress, or -1.
Flags: Read / Write / Construct
Allowed values: [-1,1]
Default value: -1
“title”
property“title” gchar *
The title to show.
Flags: Read / Write / Construct
Default value: NULL