10#ifndef __GUI_WIDGETS_GENERIC_PROGRESS_DIALOG_H__
11#define __GUI_WIDGETS_GENERIC_PROGRESS_DIALOG_H__
17#define GENERIC_PROGRESS_DIALOG_WIDGET_TYPE \
18 (generic_progress_dialog_widget_get_type ())
19G_DECLARE_DERIVABLE_TYPE (
20 GenericProgressDialogWidget,
21 generic_progress_dialog_widget,
23 GENERIC_PROGRESS_DIALOG_WIDGET,
26typedef struct ProgressInfo ProgressInfo;
55 GtkProgressBar * progress_bar;
71 ProgressInfo * progress_info;
77 size_t num_extra_buttons;
87typedef struct _GenericProgressDialogWidgetClass
89 AdwAlertDialogClass parent_class;
97 GenericProgressDialogWidget * self,
99 ProgressInfo * progress_info,
100 const char * initial_label,
103 void * close_callback_object,
111 GenericProgressDialogWidget * self,
112 const char * response,
113 const char * response_label,
115 void * callback_object,
116 bool only_on_finish);
118GenericProgressDialogWidget *
119generic_progress_dialog_widget_new (
void);
void(* GenericCallback)(void *object)
Generic callback.