10#ifndef __GUI_WIDGETS_GENERIC_PROGRESS_DIALOG_H__
11#define __GUI_WIDGETS_GENERIC_PROGRESS_DIALOG_H__
15#define GENERIC_PROGRESS_DIALOG_WIDGET_TYPE \
16 (generic_progress_dialog_widget_get_type ())
17G_DECLARE_DERIVABLE_TYPE (
18 GenericProgressDialogWidget,
19 generic_progress_dialog_widget,
21 GENERIC_PROGRESS_DIALOG_WIDGET,
24typedef struct ProgressInfo ProgressInfo;
53 GtkProgressBar * progress_bar;
69 ProgressInfo * progress_info;
75 size_t num_extra_buttons;
85typedef struct _GenericProgressDialogWidgetClass
87 AdwAlertDialogClass parent_class;
95 GenericProgressDialogWidget * self,
97 ProgressInfo * progress_info,
98 const char * initial_label,
101 void * close_callback_object,
109 GenericProgressDialogWidget * self,
110 const char * response,
111 const char * response_label,
113 void * callback_object,
114 bool only_on_finish);
116GenericProgressDialogWidget *
117generic_progress_dialog_widget_new (
void);
void(* GenericCallback)(void *object)
Generic callback.