summaryrefslogtreecommitdiff
path: root/vapi/gdu-gtk.vapi
blob: 977e4d5f25e505e3ff75df9e502f23eebbe1f83f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
/* gdu-gtk.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "Gdu", lower_case_cprefix = "gdu_")]
namespace Gdu {
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class AddComponentLinuxMdDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public AddComponentLinuxMdDialog (Gtk.Window parent, Gdu.AddComponentLinuxMdFlags flags, Gdu.LinuxMdDrive linux_md_drive);
		public unowned GLib.PtrArray get_drives ();
		public uint64 get_size ();
		public GLib.PtrArray drives { get; }
		[NoAccessorMethod]
		public Gdu.AddComponentLinuxMdFlags flags { get; construct; }
		public uint64 size { get; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class AddPvLinuxLvm2Dialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public AddPvLinuxLvm2Dialog (Gtk.Window parent, Gdu.LinuxLvm2VolumeGroup vg);
		public unowned Gdu.Drive get_drive ();
		public uint64 get_size ();
		public Gdu.Drive drive { get; }
		public uint64 size { get; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class AtaSmartDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public AtaSmartDialog (Gtk.Window parent, Gdu.Drive drive);
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class ButtonElement : GLib.Object {
		[CCode (has_construct_function = false)]
		public ButtonElement (string icon_name, string primary_text, string secondary_text);
		public unowned string get_icon_name ();
		public unowned string get_primary_text ();
		public unowned string get_secondary_text ();
		public bool get_visible ();
		public void set_icon_name (string icon_name);
		public void set_primary_text (string primary_text);
		public void set_secondary_text (string primary_text);
		public void set_visible (bool visible);
		public string icon_name { get; set construct; }
		public string primary_text { get; set construct; }
		public string secondary_text { get; set construct; }
		public bool visible { get; set construct; }
		public virtual signal void changed ();
		public virtual signal void clicked ();
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class ButtonTable : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public ButtonTable (uint num_columns, GLib.PtrArray elements);
		public unowned GLib.PtrArray get_elements ();
		public uint get_num_columns ();
		public void set_elements (GLib.PtrArray elements);
		public void set_num_columns (uint num_columns);
		public GLib.PtrArray elements { get; set construct; }
		public uint num_columns { get; set construct; }
	}
	[Compact]
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class Color {
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class ConfirmationDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public ConfirmationDialog (Gtk.Window parent, Gdu.Presentable presentable, string message, string button_text);
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public ConfirmationDialog.for_drive (Gtk.Window parent, Gdu.Device device, string message, string button_text);
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public ConfirmationDialog.for_volume (Gtk.Window parent, Gdu.Device device, string message, string button_text);
		[NoAccessorMethod]
		public string button_text { owned get; construct; }
		[NoAccessorMethod]
		public string message { owned get; construct; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class ConnectToServerDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public ConnectToServerDialog (Gtk.Window parent);
		public unowned string get_address ();
		public unowned string get_user_name ();
		public string address { get; }
		public string user_name { get; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class CreateLinuxLvm2VolumeDialog : Gdu.FormatDialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public CreateLinuxLvm2VolumeDialog (Gtk.Window parent, Gdu.Presentable presentable, uint64 max_size, Gdu.FormatDialogFlags flags);
		public uint64 get_max_size ();
		public uint64 get_size ();
		public uint64 max_size { get; construct; }
		public uint64 size { get; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class CreateLinuxMdDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public CreateLinuxMdDialog (Gtk.Window parent, Gdu.Pool pool);
		public uint64 get_component_size ();
		public unowned GLib.PtrArray get_drives ();
		public unowned string get_level ();
		public uint64 get_size ();
		public uint64 get_stripe_size ();
		public uint64 component_size { get; }
		public GLib.PtrArray drives { get; }
		public string level { get; }
		public string name { get; }
		[NoAccessorMethod]
		public Gdu.Pool pool { owned get; construct; }
		public uint64 size { get; }
		public uint64 stripe_size { get; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class CreatePartitionDialog : Gdu.FormatDialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public CreatePartitionDialog (Gtk.Window parent, Gdu.Presentable presentable, uint64 max_size, Gdu.FormatDialogFlags flags);
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public CreatePartitionDialog.for_drive (Gtk.Window parent, Gdu.Device device, uint64 max_size, Gdu.FormatDialogFlags flags);
		public uint64 get_max_size ();
		public uint64 get_size ();
		public uint64 max_size { get; construct; }
		public uint64 size { get; }
	}
	[Compact]
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class Curve {
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class DetailsElement : GLib.Object {
		[CCode (has_construct_function = false)]
		public DetailsElement (string heading, string text, string tooltip);
		public unowned string get_action_text ();
		public unowned string get_action_tooltip ();
		public unowned string get_action_uri ();
		public unowned string get_heading ();
		public unowned GLib.Icon get_icon ();
		public bool get_is_spinning ();
		public double get_progress ();
		public unowned string get_text ();
		public uint64 get_time ();
		public unowned string get_tooltip ();
		public unowned Gtk.Widget get_widget ();
		public void set_action_text (string action_text);
		public void set_action_tooltip (string action_tooltip);
		public void set_action_uri (string action_uri);
		public void set_heading (string heading);
		public void set_icon (GLib.Icon icon);
		public void set_is_spinning (bool is_spinning);
		public void set_progress (double progress);
		public void set_text (string text);
		public void set_time (uint64 time);
		public void set_tooltip (string tooltip);
		public void set_widget (Gtk.Widget widget);
		public string action_text { get; set construct; }
		public string action_tooltip { get; set construct; }
		public string action_uri { get; set construct; }
		public string heading { get; set construct; }
		public GLib.Icon icon { get; set construct; }
		public bool is_spinning { get; set construct; }
		public double progress { get; set construct; }
		public string text { get; set construct; }
		public uint64 time { get; set construct; }
		public string tooltip { get; set construct; }
		public Gtk.Widget widget { get; set construct; }
		public virtual signal void activated (string uri);
		public virtual signal void changed ();
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class DetailsTable : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public DetailsTable (uint num_columns, GLib.PtrArray elements);
		public unowned GLib.PtrArray get_elements ();
		public uint get_num_columns ();
		public void set_elements (GLib.PtrArray elements);
		public void set_num_columns (uint num_columns);
		public GLib.PtrArray elements { get; set construct; }
		public uint num_columns { get; set construct; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class Dialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
		public unowned Gdu.Device get_device ();
		public unowned Gdu.Pool get_pool ();
		public unowned Gdu.Presentable get_presentable ();
		public Gdu.Device drive_device { construct; }
		public Gdu.Presentable presentable { get; construct; }
		public Gdu.Device volume_device { construct; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class DiskSelectionWidget : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public DiskSelectionWidget (Gdu.Pool pool, Gdu.DiskSelectionWidgetFlags flags);
		public uint64 get_component_size ();
		public uint64 get_largest_segment_for_all ();
		public uint64 get_largest_segment_for_selected ();
		public uint get_num_available_disks ();
		public unowned GLib.PtrArray get_selected_drives ();
		public void set_component_size (uint64 component_size);
		public uint64 component_size { get; set; }
		[NoAccessorMethod]
		public Gdu.DiskSelectionWidgetFlags flags { get; construct; }
		public uint64 largest_segment_for_all { get; }
		public uint64 largest_segment_for_selected { get; }
		public uint num_available_disks { get; }
		[NoAccessorMethod]
		public Gdu.Pool pool { owned get; construct; }
		public GLib.PtrArray selected_drives { get; }
		public virtual signal void changed ();
		public virtual signal unowned string is_drive_ignored (Gdu.Drive drive);
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class DriveBenchmarkDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public DriveBenchmarkDialog (Gtk.Window parent, Gdu.Drive drive);
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class EditLinuxLvm2Dialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public EditLinuxLvm2Dialog (Gtk.Window parent, Gdu.LinuxLvm2VolumeGroup vg);
		public virtual signal void new_button_clicked ();
		public virtual signal void remove_button_clicked (string pv_uuid);
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class EditLinuxMdDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public EditLinuxMdDialog (Gtk.Window parent, Gdu.LinuxMdDrive linux_md_drive);
		public virtual signal void add_spare_button_clicked ();
		public virtual signal void attach_button_clicked (Gdu.Device slave);
		public virtual signal void expand_button_clicked ();
		public virtual signal void remove_button_clicked (Gdu.Device slave);
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class EditNameDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public EditNameDialog (Gtk.Window parent, Gdu.Presentable presentable, string name, uint name_max_bytes, string message, string entry_mnemonic);
		[NoAccessorMethod]
		public string entry_mnemonic { owned get; construct; }
		[NoAccessorMethod]
		public string message { owned get; construct; }
		public string name { get; set; }
		[NoAccessorMethod]
		public uint name_max_bytes { get; construct; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class EditPartitionDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public EditPartitionDialog (Gtk.Window parent, Gdu.Presentable volume);
		public unowned string get_partition_flags ();
		public unowned string get_partition_label ();
		public unowned string get_partition_type ();
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] partition_flags { get; }
		public string partition_label { get; }
		public string partition_type { get; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class ErrorDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public ErrorDialog (Gtk.Window parent, Gdu.Presentable presentable, string message, GLib.Error error);
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public ErrorDialog.for_drive (Gtk.Window parent, Gdu.Device device, string message, GLib.Error error);
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public ErrorDialog.for_volume (Gtk.Window parent, Gdu.Device device, string message, GLib.Error error);
		[NoAccessorMethod]
		public Gdu.Error error { get; construct; }
		[NoAccessorMethod]
		public string message { owned get; construct; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class FormatDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public FormatDialog (Gtk.Window parent, Gdu.Presentable presentable, Gdu.FormatDialogFlags flags);
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public FormatDialog.for_drive (Gtk.Window parent, Gdu.Device device, Gdu.FormatDialogFlags flags);
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public FormatDialog.for_volume (Gtk.Window parent, Gdu.Device device, Gdu.FormatDialogFlags flags);
		public bool get_encrypt ();
		public unowned string get_fs_label ();
		public unowned string get_fs_options ();
		public unowned string get_fs_type ();
		public unowned Gtk.Widget get_table ();
		public bool get_take_ownership ();
		public string affirmative_button_mnemonic { construct; }
		public bool encrypt { get; }
		[NoAccessorMethod]
		public Gdu.FormatDialogFlags flags { get; construct; }
		public string fs_label { get; }
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] fs_options { get; }
		public string fs_type { get; }
		public bool take_ownership { get; }
	}
	[Compact]
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class Graph {
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class PartitionDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public PartitionDialog (Gtk.Window parent, Gdu.Presentable presentable);
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public PartitionDialog.for_drive (Gtk.Window parent, Gdu.Device device);
		public unowned string get_scheme ();
		public string scheme { get; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class PoolTreeModel : Gtk.TreeStore, Gtk.TreeModel, Gtk.TreeDragSource, Gtk.TreeDragDest, Gtk.TreeSortable, Gtk.Buildable {
		[CCode (has_construct_function = false)]
		public PoolTreeModel (GLib.PtrArray pools, Gdu.Presentable root, Gdu.PoolTreeModelFlags flags);
		public bool get_iter_for_presentable (Gdu.Presentable presentable, Gtk.TreeIter out_iter);
		public void set_pools (GLib.PtrArray pools);
		[NoAccessorMethod]
		public Gdu.PoolTreeModelFlags flags { get; construct; }
		[NoAccessorMethod]
		public GLib.PtrArray pools { owned get; set construct; }
		[NoAccessorMethod]
		public Gdu.Presentable root { owned get; construct; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class PoolTreeView : Gtk.TreeView, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public PoolTreeView (Gdu.PoolTreeModel model, Gdu.PoolTreeViewFlags flags);
		public unowned Gdu.Presentable get_selected_presentable ();
		public void select_first_presentable ();
		public void select_presentable (Gdu.Presentable presentable);
		[NoAccessorMethod]
		public Gdu.PoolTreeViewFlags flags { get; construct; }
		[NoAccessorMethod]
		public Gdu.PoolTreeModel pool_tree_model { owned get; construct; }
	}
	[Compact]
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class Sample {
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class SizeWidget : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public SizeWidget (uint64 size, uint64 min_size, uint64 max_size);
		public uint64 get_max_size ();
		public uint64 get_min_size ();
		public uint64 get_size ();
		public void set_max_size (uint64 max_size);
		public void set_min_size (uint64 min_size);
		public void set_size (uint64 size);
		public uint64 max_size { get; set construct; }
		public uint64 min_size { get; set construct; }
		public uint64 size { get; set construct; }
		public virtual signal void changed ();
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class Spinner : Gtk.DrawingArea, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public Spinner ();
		public void start ();
		public void stop ();
		[NoAccessorMethod]
		public string color { set construct; }
		public uint lines { construct; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class TimeLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public TimeLabel (GLib.TimeVal time);
		public void set_time (GLib.TimeVal time);
		[NoAccessorMethod]
		public GLib.TimeVal time { get; set; }
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public class VolumeGrid : Gtk.DrawingArea, Atk.Implementor, Gtk.Buildable {
		[CCode (type = "GtkWidget*", has_construct_function = false)]
		public VolumeGrid (Gdu.Drive drive);
		public unowned Gdu.Presentable get_selected ();
		public bool select (Gdu.Presentable volume);
		[NoAccessorMethod]
		public Gdu.Drive drive { owned get; construct; }
		public virtual signal void changed ();
	}
	[CCode (cprefix = "GDU_ADD_COMPONENT_LINUX_MD_FLAGS_", cheader_filename = "gdu-gtk/gdu-gtk.h")]
	[Flags]
	public enum AddComponentLinuxMdFlags {
		NONE,
		SPARE,
		EXPANSION
	}
	[CCode (cprefix = "GDU_DISK_SELECTION_WIDGET_FLAGS_", cheader_filename = "gdu-gtk/gdu-gtk.h")]
	[Flags]
	public enum DiskSelectionWidgetFlags {
		NONE,
		ALLOW_MULTIPLE,
		ALLOW_DISKS_WITH_INSUFFICIENT_SPACE
	}
	[CCode (cprefix = "GDU_FORMAT_DIALOG_FLAGS_", cheader_filename = "gdu-gtk/gdu-gtk.h")]
	[Flags]
	public enum FormatDialogFlags {
		NONE,
		SIMPLE,
		DISK_UTILITY_BUTTON,
		ALLOW_MSDOS_EXTENDED
	}
	[CCode (cprefix = "GDU_POOL_TREE_MODEL_COLUMN_", cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public enum PoolTreeModelColumn {
		ICON,
		NAME,
		VPD_NAME,
		DESCRIPTION,
		PRESENTABLE,
		VISIBLE,
		TOGGLED,
		CAN_BE_TOGGLED
	}
	[CCode (cprefix = "GDU_POOL_TREE_MODEL_FLAGS_", cheader_filename = "gdu-gtk/gdu-gtk.h")]
	[Flags]
	public enum PoolTreeModelFlags {
		NONE,
		NO_VOLUMES,
		NO_UNALLOCATABLE_DRIVES
	}
	[CCode (cprefix = "GDU_POOL_TREE_VIEW_FLAGS_", cheader_filename = "gdu-gtk/gdu-gtk.h")]
	[Flags]
	public enum PoolTreeViewFlags {
		NONE,
		SHOW_TOGGLE
	}
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static bool util_delete_confirmation_dialog (Gtk.Widget parent_window, string title, string primary_text, string secondary_text, string affirmative_action_button_mnemonic);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static unowned string util_dialog_ask_for_new_secret (Gtk.Widget parent_window, bool save_in_keyring, bool save_in_keyring_session);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static unowned string util_dialog_ask_for_secret (Gtk.Widget parent_window, Gdu.Presentable presentable, bool bypass_keyring, bool indicate_wrong_passphrase, bool asked_user);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static bool util_dialog_change_secret (Gtk.Widget parent_window, Gdu.Presentable presentable, out unowned string old_secret, out unowned string new_secret, bool save_in_keyring, bool save_in_keyring_session, bool bypass_keyring, bool indicate_wrong_passphrase);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static bool util_dialog_show_filesystem_busy (Gtk.Widget parent_window, Gdu.Presentable presentable);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static unowned Gtk.Widget util_fstype_combo_box_create (Gdu.Pool pool, string include_extended_partitions_for_scheme);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static unowned string util_fstype_combo_box_get_selected (Gtk.Widget combo_box);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static void util_fstype_combo_box_rebuild (Gtk.Widget combo_box, Gdu.Pool pool, string include_extended_partitions_for_scheme);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static bool util_fstype_combo_box_select (Gtk.Widget combo_box, string fstype);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static void util_fstype_combo_box_set_desc_label (Gtk.Widget combo_box, Gtk.Widget desc_label);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static void util_get_mix_color (Gtk.Widget widget, Gtk.StateType state, string color_buf, size_t color_buf_size);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static unowned Gdk.Pixbuf util_get_pixbuf_for_presentable (Gdu.Presentable presentable, Gtk.IconSize size);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static unowned Gdk.Pixbuf util_get_pixbuf_for_presentable_at_pixel_size (Gdu.Presentable presentable, int pixel_size);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static unowned Gtk.Widget util_part_table_type_combo_box_create ();
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static unowned string util_part_table_type_combo_box_get_selected (Gtk.Widget combo_box);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static bool util_part_table_type_combo_box_select (Gtk.Widget combo_box, string part_table_type);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static void util_part_table_type_combo_box_set_desc_label (Gtk.Widget combo_box, Gtk.Widget desc_label);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static unowned Gtk.Widget util_part_type_combo_box_create (string part_scheme);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static unowned string util_part_type_combo_box_get_selected (Gtk.Widget combo_box);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static void util_part_type_combo_box_rebuild (Gtk.Widget combo_box, string part_scheme);
	[CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
	public static bool util_part_type_combo_box_select (Gtk.Widget combo_box, string part_type);
}