codegen: Fix array size variable on assignment
[vala-lang.git] / vapi / gdu-gtk.vapi
blob08ef5a751aa4b5752875f279eb91cb3d92dd579d
1 /* gdu-gtk.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gdu", lower_case_cprefix = "gdu_")]
4 namespace Gdu {
5         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
6         public class AddComponentLinuxMdDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
7                 [CCode (type = "GtkWidget*", has_construct_function = false)]
8                 public AddComponentLinuxMdDialog (Gtk.Window parent, Gdu.AddComponentLinuxMdFlags flags, Gdu.LinuxMdDrive linux_md_drive);
9                 public unowned GLib.GenericArray<Gdu.Drive> get_drives ();
10                 public uint64 get_size ();
11                 public GLib.GenericArray<Gdu.Drive> drives { get; }
12                 [NoAccessorMethod]
13                 public Gdu.AddComponentLinuxMdFlags flags { get; construct; }
14                 public uint64 size { get; }
15         }
16         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
17         public class AddPvLinuxLvm2Dialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
18                 [CCode (type = "GtkWidget*", has_construct_function = false)]
19                 public AddPvLinuxLvm2Dialog (Gtk.Window parent, Gdu.LinuxLvm2VolumeGroup vg);
20                 public unowned Gdu.Drive get_drive ();
21                 public uint64 get_size ();
22                 public Gdu.Drive drive { get; }
23                 public uint64 size { get; }
24         }
25         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
26         public class AtaSmartDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
27                 [CCode (type = "GtkWidget*", has_construct_function = false)]
28                 public AtaSmartDialog (Gtk.Window parent, Gdu.Drive drive);
29         }
30         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
31         public class ButtonElement : GLib.Object {
32                 [CCode (has_construct_function = false)]
33                 public ButtonElement (string icon_name, string primary_text, string secondary_text);
34                 public unowned string get_icon_name ();
35                 public unowned string get_primary_text ();
36                 public unowned string get_secondary_text ();
37                 public bool get_visible ();
38                 public void set_icon_name (string icon_name);
39                 public void set_primary_text (string primary_text);
40                 public void set_secondary_text (string primary_text);
41                 public void set_visible (bool visible);
42                 public string icon_name { get; set construct; }
43                 public string primary_text { get; set construct; }
44                 public string secondary_text { get; set construct; }
45                 public bool visible { get; set construct; }
46                 public virtual signal void changed ();
47                 public virtual signal void clicked ();
48         }
49         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
50         public class ButtonTable : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
51                 [CCode (type = "GtkWidget*", has_construct_function = false)]
52                 public ButtonTable (uint num_columns, GLib.GenericArray<Gdu.ButtonElement> elements);
53                 public GLib.GenericArray<Gdu.ButtonElement> get_elements ();
54                 public uint get_num_columns ();
55                 public void set_elements (GLib.GenericArray<Gdu.ButtonElement> elements);
56                 public void set_num_columns (uint num_columns);
57                 public GLib.GenericArray<Gdu.ButtonElement> elements { get; set construct; }
58                 public uint num_columns { get; set construct; }
59         }
60         [Compact]
61         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
62         public class Color {
63         }
64         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
65         public class ConfirmationDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
66                 [CCode (type = "GtkWidget*", has_construct_function = false)]
67                 public ConfirmationDialog (Gtk.Window parent, Gdu.Presentable presentable, string message, string button_text);
68                 [CCode (type = "GtkWidget*", has_construct_function = false)]
69                 public ConfirmationDialog.for_drive (Gtk.Window parent, Gdu.Device device, string message, string button_text);
70                 [CCode (type = "GtkWidget*", has_construct_function = false)]
71                 public ConfirmationDialog.for_volume (Gtk.Window parent, Gdu.Device device, string message, string button_text);
72                 [NoAccessorMethod]
73                 public string button_text { owned get; construct; }
74                 [NoAccessorMethod]
75                 public string message { owned get; construct; }
76         }
77         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
78         public class ConnectToServerDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
79                 [CCode (type = "GtkWidget*", has_construct_function = false)]
80                 public ConnectToServerDialog (Gtk.Window parent);
81                 public unowned string get_address ();
82                 public unowned string get_user_name ();
83                 public string address { get; }
84                 public string user_name { get; }
85         }
86         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
87         public class CreateLinuxLvm2VolumeDialog : Gdu.FormatDialog, Atk.Implementor, Gtk.Buildable {
88                 [CCode (type = "GtkWidget*", has_construct_function = false)]
89                 public CreateLinuxLvm2VolumeDialog (Gtk.Window parent, Gdu.Presentable presentable, uint64 max_size, Gdu.FormatDialogFlags flags);
90                 public uint64 get_max_size ();
91                 public uint64 get_size ();
92                 public uint64 max_size { get; construct; }
93                 public uint64 size { get; }
94         }
95         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
96         public class CreateLinuxMdDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
97                 [CCode (type = "GtkWidget*", has_construct_function = false)]
98                 public CreateLinuxMdDialog (Gtk.Window parent, Gdu.Pool pool);
99                 public uint64 get_component_size ();
100                 public GLib.GenericArray<Gdu.Drive> get_drives ();
101                 public unowned string get_level ();
102                 public uint64 get_size ();
103                 public uint64 get_stripe_size ();
104                 public uint64 component_size { get; }
105                 public GLib.GenericArray<Gdu.Drive> drives { get; }
106                 public string level { get; }
107                 public string name { get; }
108                 [NoAccessorMethod]
109                 public Gdu.Pool pool { owned get; construct; }
110                 public uint64 size { get; }
111                 public uint64 stripe_size { get; }
112         }
113         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
114         public class CreatePartitionDialog : Gdu.FormatDialog, Atk.Implementor, Gtk.Buildable {
115                 [CCode (type = "GtkWidget*", has_construct_function = false)]
116                 public CreatePartitionDialog (Gtk.Window parent, Gdu.Presentable presentable, uint64 max_size, Gdu.FormatDialogFlags flags);
117                 [CCode (type = "GtkWidget*", has_construct_function = false)]
118                 public CreatePartitionDialog.for_drive (Gtk.Window parent, Gdu.Device device, uint64 max_size, Gdu.FormatDialogFlags flags);
119                 public uint64 get_max_size ();
120                 public uint64 get_size ();
121                 public uint64 max_size { get; construct; }
122                 public uint64 size { get; }
123         }
124         [Compact]
125         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
126         public class Curve {
127         }
128         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
129         public class DetailsElement : GLib.Object {
130                 [CCode (has_construct_function = false)]
131                 public DetailsElement (string heading, string text, string tooltip);
132                 public unowned string get_action_text ();
133                 public unowned string get_action_tooltip ();
134                 public unowned string get_action_uri ();
135                 public unowned string get_heading ();
136                 public unowned GLib.Icon get_icon ();
137                 public bool get_is_spinning ();
138                 public double get_progress ();
139                 public unowned string get_text ();
140                 public uint64 get_time ();
141                 public unowned string get_tooltip ();
142                 public unowned Gtk.Widget get_widget ();
143                 public void set_action_text (string action_text);
144                 public void set_action_tooltip (string action_tooltip);
145                 public void set_action_uri (string action_uri);
146                 public void set_heading (string heading);
147                 public void set_icon (GLib.Icon icon);
148                 public void set_is_spinning (bool is_spinning);
149                 public void set_progress (double progress);
150                 public void set_text (string text);
151                 public void set_time (uint64 time);
152                 public void set_tooltip (string tooltip);
153                 public void set_widget (Gtk.Widget widget);
154                 public string action_text { get; set construct; }
155                 public string action_tooltip { get; set construct; }
156                 public string action_uri { get; set construct; }
157                 public string heading { get; set construct; }
158                 public GLib.Icon icon { get; set construct; }
159                 public bool is_spinning { get; set construct; }
160                 public double progress { get; set construct; }
161                 public string text { get; set construct; }
162                 public uint64 time { get; set construct; }
163                 public string tooltip { get; set construct; }
164                 public Gtk.Widget widget { get; set construct; }
165                 public virtual signal void activated (string uri);
166                 public virtual signal void changed ();
167         }
168         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
169         public class DetailsTable : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
170                 [CCode (type = "GtkWidget*", has_construct_function = false)]
171                 public DetailsTable (uint num_columns, GLib.GenericArray<Gdu.DetailsElement> elements);
172                 public GLib.GenericArray<Gdu.DetailsElement> get_elements ();
173                 public uint get_num_columns ();
174                 public void set_elements (GLib.GenericArray<Gdu.DetailsElement> elements);
175                 public void set_num_columns (uint num_columns);
176                 public GLib.GenericArray<Gdu.DetailsElement> elements { get; set construct; }
177                 public uint num_columns { get; set construct; }
178         }
179         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
180         public class Dialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
181                 [CCode (has_construct_function = false)]
182                 protected Dialog ();
183                 public unowned Gdu.Device get_device ();
184                 public unowned Gdu.Pool get_pool ();
185                 public unowned Gdu.Presentable get_presentable ();
186                 public Gdu.Device drive_device { construct; }
187                 public Gdu.Presentable presentable { get; construct; }
188                 public Gdu.Device volume_device { construct; }
189         }
190         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
191         public class DiskSelectionWidget : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
192                 [CCode (type = "GtkWidget*", has_construct_function = false)]
193                 public DiskSelectionWidget (Gdu.Pool pool, Gdu.DiskSelectionWidgetFlags flags);
194                 public uint64 get_component_size ();
195                 public uint64 get_largest_segment_for_all ();
196                 public uint64 get_largest_segment_for_selected ();
197                 public uint get_num_available_disks ();
198                 public unowned GLib.GenericArray<Gdu.Drive> get_selected_drives ();
199                 public void set_component_size (uint64 component_size);
200                 public uint64 component_size { get; set; }
201                 [NoAccessorMethod]
202                 public Gdu.DiskSelectionWidgetFlags flags { get; construct; }
203                 public uint64 largest_segment_for_all { get; }
204                 public uint64 largest_segment_for_selected { get; }
205                 public uint num_available_disks { get; }
206                 [NoAccessorMethod]
207                 public Gdu.Pool pool { owned get; construct; }
208                 public GLib.GenericArray<Gdu.Drive> selected_drives { get; }
209                 public virtual signal void changed ();
210                 public virtual signal unowned string is_drive_ignored (Gdu.Drive drive);
211         }
212         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
213         public class DriveBenchmarkDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
214                 [CCode (type = "GtkWidget*", has_construct_function = false)]
215                 public DriveBenchmarkDialog (Gtk.Window parent, Gdu.Drive drive);
216         }
217         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
218         public class EditLinuxLvm2Dialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
219                 [CCode (type = "GtkWidget*", has_construct_function = false)]
220                 public EditLinuxLvm2Dialog (Gtk.Window parent, Gdu.LinuxLvm2VolumeGroup vg);
221                 public virtual signal void new_button_clicked ();
222                 public virtual signal void remove_button_clicked (string pv_uuid);
223         }
224         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
225         public class EditLinuxMdDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
226                 [CCode (type = "GtkWidget*", has_construct_function = false)]
227                 public EditLinuxMdDialog (Gtk.Window parent, Gdu.LinuxMdDrive linux_md_drive);
228                 public virtual signal void add_spare_button_clicked ();
229                 public virtual signal void attach_button_clicked (Gdu.Device slave);
230                 public virtual signal void expand_button_clicked ();
231                 public virtual signal void remove_button_clicked (Gdu.Device slave);
232         }
233         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
234         public class EditNameDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
235                 [CCode (type = "GtkWidget*", has_construct_function = false)]
236                 public EditNameDialog (Gtk.Window parent, Gdu.Presentable presentable, string name, uint name_max_bytes, string message, string entry_mnemonic);
237                 [NoAccessorMethod]
238                 public string entry_mnemonic { owned get; construct; }
239                 [NoAccessorMethod]
240                 public string message { owned get; construct; }
241                 public string name { get; set; }
242                 [NoAccessorMethod]
243                 public uint name_max_bytes { get; construct; }
244         }
245         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
246         public class EditPartitionDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
247                 [CCode (type = "GtkWidget*", has_construct_function = false)]
248                 public EditPartitionDialog (Gtk.Window parent, Gdu.Presentable volume);
249                 public unowned string get_partition_flags ();
250                 public unowned string get_partition_label ();
251                 public unowned string get_partition_type ();
252                 [CCode (array_length = false, array_null_terminated = true)]
253                 public string[] partition_flags { get; }
254                 public string partition_label { get; }
255                 public string partition_type { get; }
256         }
257         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
258         public class ErrorDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
259                 [CCode (type = "GtkWidget*", has_construct_function = false)]
260                 public ErrorDialog (Gtk.Window parent, Gdu.Presentable presentable, string message, GLib.Error error);
261                 [CCode (type = "GtkWidget*", has_construct_function = false)]
262                 public ErrorDialog.for_drive (Gtk.Window parent, Gdu.Device device, string message, GLib.Error error);
263                 [CCode (type = "GtkWidget*", has_construct_function = false)]
264                 public ErrorDialog.for_volume (Gtk.Window parent, Gdu.Device device, string message, GLib.Error error);
265                 [NoAccessorMethod]
266                 public Gdu.Error error { get; construct; }
267                 [NoAccessorMethod]
268                 public string message { owned get; construct; }
269         }
270         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
271         public class FormatDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
272                 [CCode (type = "GtkWidget*", has_construct_function = false)]
273                 public FormatDialog (Gtk.Window parent, Gdu.Presentable presentable, Gdu.FormatDialogFlags flags);
274                 [CCode (type = "GtkWidget*", has_construct_function = false)]
275                 public FormatDialog.for_drive (Gtk.Window parent, Gdu.Device device, Gdu.FormatDialogFlags flags);
276                 [CCode (type = "GtkWidget*", has_construct_function = false)]
277                 public FormatDialog.for_volume (Gtk.Window parent, Gdu.Device device, Gdu.FormatDialogFlags flags);
278                 public bool get_encrypt ();
279                 public unowned string get_fs_label ();
280                 public unowned string get_fs_options ();
281                 public unowned string get_fs_type ();
282                 public unowned Gtk.Widget get_table ();
283                 public bool get_take_ownership ();
284                 public string affirmative_button_mnemonic { construct; }
285                 public bool encrypt { get; }
286                 [NoAccessorMethod]
287                 public Gdu.FormatDialogFlags flags { get; construct; }
288                 public string fs_label { get; }
289                 [CCode (array_length = false, array_null_terminated = true)]
290                 public string[] fs_options { get; }
291                 public string fs_type { get; }
292                 public bool take_ownership { get; }
293         }
294         [Compact]
295         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
296         public class Graph {
297         }
298         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
299         public class PartitionDialog : Gdu.Dialog, Atk.Implementor, Gtk.Buildable {
300                 [CCode (type = "GtkWidget*", has_construct_function = false)]
301                 public PartitionDialog (Gtk.Window parent, Gdu.Presentable presentable);
302                 [CCode (type = "GtkWidget*", has_construct_function = false)]
303                 public PartitionDialog.for_drive (Gtk.Window parent, Gdu.Device device);
304                 public unowned string get_scheme ();
305                 public string scheme { get; }
306         }
307         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
308         public class PoolTreeModel : Gtk.TreeStore, Gtk.TreeModel, Gtk.TreeDragSource, Gtk.TreeDragDest, Gtk.TreeSortable, Gtk.Buildable {
309                 [CCode (has_construct_function = false)]
310                 public PoolTreeModel (GLib.GenericArray<Gdu.Pool> pools, Gdu.Presentable root, Gdu.PoolTreeModelFlags flags);
311                 public bool get_iter_for_presentable (Gdu.Presentable presentable, Gtk.TreeIter out_iter);
312                 public void set_pools (GLib.GenericArray<Gdu.Pool> pools);
313                 [NoAccessorMethod]
314                 public Gdu.PoolTreeModelFlags flags { get; construct; }
315                 [NoAccessorMethod]
316                 public GLib.GenericArray<Gdu.Pool> pools { owned get; set construct; }
317                 [NoAccessorMethod]
318                 public Gdu.Presentable root { owned get; construct; }
319         }
320         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
321         public class PoolTreeView : Gtk.TreeView, Atk.Implementor, Gtk.Buildable {
322                 [CCode (type = "GtkWidget*", has_construct_function = false)]
323                 public PoolTreeView (Gdu.PoolTreeModel model, Gdu.PoolTreeViewFlags flags);
324                 public unowned Gdu.Presentable get_selected_presentable ();
325                 public void select_first_presentable ();
326                 public void select_presentable (Gdu.Presentable presentable);
327                 [NoAccessorMethod]
328                 public Gdu.PoolTreeViewFlags flags { get; construct; }
329                 [NoAccessorMethod]
330                 public Gdu.PoolTreeModel pool_tree_model { owned get; construct; }
331         }
332         [Compact]
333         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
334         public class Sample {
335         }
336         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
337         public class SizeWidget : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
338                 [CCode (type = "GtkWidget*", has_construct_function = false)]
339                 public SizeWidget (uint64 size, uint64 min_size, uint64 max_size);
340                 public uint64 get_max_size ();
341                 public uint64 get_min_size ();
342                 public uint64 get_size ();
343                 public void set_max_size (uint64 max_size);
344                 public void set_min_size (uint64 min_size);
345                 public void set_size (uint64 size);
346                 public uint64 max_size { get; set construct; }
347                 public uint64 min_size { get; set construct; }
348                 public uint64 size { get; set construct; }
349                 public virtual signal void changed ();
350         }
351         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
352         public class Spinner : Gtk.DrawingArea, Atk.Implementor, Gtk.Buildable {
353                 [CCode (type = "GtkWidget*", has_construct_function = false)]
354                 public Spinner ();
355                 public void start ();
356                 public void stop ();
357                 [NoAccessorMethod]
358                 public string color { set construct; }
359                 public uint lines { construct; }
360         }
361         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
362         public class TimeLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable {
363                 [CCode (type = "GtkWidget*", has_construct_function = false)]
364                 public TimeLabel (GLib.TimeVal time);
365                 public void set_time (GLib.TimeVal time);
366                 [NoAccessorMethod]
367                 public GLib.TimeVal time { get; set; }
368         }
369         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
370         public class VolumeGrid : Gtk.DrawingArea, Atk.Implementor, Gtk.Buildable {
371                 [CCode (type = "GtkWidget*", has_construct_function = false)]
372                 public VolumeGrid (Gdu.Drive drive);
373                 public unowned Gdu.Presentable get_selected ();
374                 public bool select (Gdu.Presentable volume);
375                 [NoAccessorMethod]
376                 public Gdu.Drive drive { owned get; construct; }
377                 public virtual signal void changed ();
378         }
379         [CCode (cprefix = "GDU_ADD_COMPONENT_LINUX_MD_FLAGS_", cheader_filename = "gdu-gtk/gdu-gtk.h")]
380         [Flags]
381         public enum AddComponentLinuxMdFlags {
382                 NONE,
383                 SPARE,
384                 EXPANSION
385         }
386         [CCode (cprefix = "GDU_DISK_SELECTION_WIDGET_FLAGS_", cheader_filename = "gdu-gtk/gdu-gtk.h")]
387         [Flags]
388         public enum DiskSelectionWidgetFlags {
389                 NONE,
390                 ALLOW_MULTIPLE,
391                 ALLOW_DISKS_WITH_INSUFFICIENT_SPACE
392         }
393         [CCode (cprefix = "GDU_FORMAT_DIALOG_FLAGS_", cheader_filename = "gdu-gtk/gdu-gtk.h")]
394         [Flags]
395         public enum FormatDialogFlags {
396                 NONE,
397                 SIMPLE,
398                 DISK_UTILITY_BUTTON,
399                 ALLOW_MSDOS_EXTENDED
400         }
401         [CCode (cprefix = "GDU_POOL_TREE_MODEL_COLUMN_", cheader_filename = "gdu-gtk/gdu-gtk.h")]
402         public enum PoolTreeModelColumn {
403                 ICON,
404                 NAME,
405                 VPD_NAME,
406                 DESCRIPTION,
407                 PRESENTABLE,
408                 VISIBLE,
409                 TOGGLED,
410                 CAN_BE_TOGGLED
411         }
412         [CCode (cprefix = "GDU_POOL_TREE_MODEL_FLAGS_", cheader_filename = "gdu-gtk/gdu-gtk.h")]
413         [Flags]
414         public enum PoolTreeModelFlags {
415                 NONE,
416                 NO_VOLUMES,
417                 NO_UNALLOCATABLE_DRIVES
418         }
419         [CCode (cprefix = "GDU_POOL_TREE_VIEW_FLAGS_", cheader_filename = "gdu-gtk/gdu-gtk.h")]
420         [Flags]
421         public enum PoolTreeViewFlags {
422                 NONE,
423                 SHOW_TOGGLE
424         }
425         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
426         public static bool util_delete_confirmation_dialog (Gtk.Widget parent_window, string title, string primary_text, string secondary_text, string affirmative_action_button_mnemonic);
427         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
428         public static unowned string util_dialog_ask_for_new_secret (Gtk.Widget parent_window, bool save_in_keyring, bool save_in_keyring_session);
429         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
430         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);
431         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
432         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);
433         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
434         public static bool util_dialog_show_filesystem_busy (Gtk.Widget parent_window, Gdu.Presentable presentable);
435         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
436         public static unowned Gtk.Widget util_fstype_combo_box_create (Gdu.Pool pool, string include_extended_partitions_for_scheme);
437         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
438         public static unowned string util_fstype_combo_box_get_selected (Gtk.Widget combo_box);
439         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
440         public static void util_fstype_combo_box_rebuild (Gtk.Widget combo_box, Gdu.Pool pool, string include_extended_partitions_for_scheme);
441         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
442         public static bool util_fstype_combo_box_select (Gtk.Widget combo_box, string fstype);
443         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
444         public static void util_fstype_combo_box_set_desc_label (Gtk.Widget combo_box, Gtk.Widget desc_label);
445         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
446         public static void util_get_mix_color (Gtk.Widget widget, Gtk.StateType state, string color_buf, size_t color_buf_size);
447         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
448         public static unowned Gdk.Pixbuf util_get_pixbuf_for_presentable (Gdu.Presentable presentable, Gtk.IconSize size);
449         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
450         public static unowned Gdk.Pixbuf util_get_pixbuf_for_presentable_at_pixel_size (Gdu.Presentable presentable, int pixel_size);
451         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
452         public static unowned Gtk.Widget util_part_table_type_combo_box_create ();
453         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
454         public static unowned string util_part_table_type_combo_box_get_selected (Gtk.Widget combo_box);
455         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
456         public static bool util_part_table_type_combo_box_select (Gtk.Widget combo_box, string part_table_type);
457         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
458         public static void util_part_table_type_combo_box_set_desc_label (Gtk.Widget combo_box, Gtk.Widget desc_label);
459         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
460         public static unowned Gtk.Widget util_part_type_combo_box_create (string part_scheme);
461         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
462         public static unowned string util_part_type_combo_box_get_selected (Gtk.Widget combo_box);
463         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
464         public static void util_part_type_combo_box_rebuild (Gtk.Widget combo_box, string part_scheme);
465         [CCode (cheader_filename = "gdu-gtk/gdu-gtk.h")]
466         public static bool util_part_type_combo_box_select (Gtk.Widget combo_box, string part_type);