codegen: Fix array size variable on assignment
[vala-lang.git] / vapi / hildon-1.vapi
blobae4fc0e4af7663b2597b4c025e570ee5a435cb65
1 /* hildon-1.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Hildon", lower_case_cprefix = "hildon_")]
4 namespace Hildon {
5         [CCode (cheader_filename = "hildon/hildon.h")]
6         public class AnimationActor : Gtk.Window, Atk.Implementor, Gtk.Buildable {
7                 [CCode (type = "GtkWidget*", has_construct_function = false)]
8                 public AnimationActor ();
9                 public void send_message (uint32 message_type, uint32 l0, uint32 l1, uint32 l2, uint32 l3, uint32 l4);
10                 public void set_anchor (int x, int y);
11                 public void set_anchor_from_gravity (uint gravity);
12                 public void set_depth (int depth);
13                 public void set_opacity (int opacity);
14                 public void set_parent (Gtk.Window parent);
15                 public void set_position (int x, int y);
16                 public void set_position_full (int x, int y, int depth);
17                 public void set_rotation (int axis, double degrees, int x, int y, int z);
18                 public void set_rotationx (int axis, int32 degrees, int x, int y, int z);
19                 public void set_scale (double x_scale, double y_scale);
20                 public void set_scalex (int32 x_scale, int32 y_scale);
21                 public void set_show (int show);
22                 public void set_show_full (int show, int opacity);
23         }
24         [CCode (cheader_filename = "hildon/hildon.h")]
25         public class AppMenu : Gtk.Window, Atk.Implementor, Gtk.Buildable {
26                 [CCode (type = "GtkWidget*", has_construct_function = false)]
27                 public AppMenu ();
28                 public void add_filter (Gtk.Button filter);
29                 public void append (Gtk.Button item);
30                 public unowned GLib.List get_filters ();
31                 public unowned GLib.List get_items ();
32                 public void insert (Gtk.Button item, int position);
33                 public void popup (Gtk.Window parent_window);
34                 public void prepend (Gtk.Button item);
35                 public void reorder_child (Gtk.Button item, int position);
36         }
37         [CCode (cheader_filename = "hildon/hildon.h")]
38         public class Banner : Gtk.Window, Atk.Implementor, Gtk.Buildable {
39                 [CCode (has_construct_function = false)]
40                 protected Banner ();
41                 public void set_fraction (double fraction);
42                 public void set_icon (string icon_name);
43                 public void set_icon_from_file (string icon_file);
44                 public void set_markup (string markup);
45                 public void set_text (string text);
46                 public void set_timeout (uint timeout);
47                 public static unowned Gtk.Widget show_animation (Gtk.Widget widget, string animation_name, string text);
48                 public static unowned Gtk.Widget show_information (Gtk.Widget widget, string? icon_name, string text);
49                 public static unowned Gtk.Widget show_information_override_dnd (Gtk.Widget widget, string text);
50                 public static unowned Gtk.Widget show_information_with_markup (Gtk.Widget widget, string? icon_name, string markup);
51                 public static unowned Gtk.Widget show_informationf (Gtk.Widget widget, string icon_name, string format);
52                 public static unowned Gtk.Widget show_progress (Gtk.Widget widget, Gtk.ProgressBar bar, string text);
53                 [NoAccessorMethod]
54                 public bool is_timed { get; construct; }
55                 [NoAccessorMethod]
56                 public Gtk.Window parent_window { owned get; construct; }
57                 [NoAccessorMethod]
58                 public uint timeout { get; construct; }
59         }
60         [CCode (cheader_filename = "hildon/hildon.h")]
61         public class BreadCrumbTrail : Gtk.Container, Atk.Implementor, Gtk.Buildable {
62                 [CCode (type = "GtkWidget*", has_construct_function = false)]
63                 public BreadCrumbTrail ();
64                 public void clear ();
65                 public void pop ();
66                 public void push (Hildon.BreadCrumb item, void* id, GLib.DestroyNotify destroy);
67                 public void push_icon (string text, Gtk.Widget icon, void* id, GLib.DestroyNotify destroy);
68                 public void push_text (string text, void* id, GLib.DestroyNotify destroy);
69                 public virtual signal bool crumb_clicked (void* id);
70                 public virtual signal void move_parent ();
71         }
72         [CCode (cheader_filename = "hildon/hildon.h")]
73         public class Button : Gtk.Button, Atk.Implementor, Gtk.Buildable {
74                 [CCode (type = "GtkWidget*", has_construct_function = false)]
75                 public Button (Hildon.SizeType size, Hildon.ButtonArrangement arrangement);
76                 public void add_image_size_group (Gtk.SizeGroup size_group);
77                 public void add_size_groups (Gtk.SizeGroup title_size_group, Gtk.SizeGroup value_size_group, Gtk.SizeGroup image_size_group);
78                 public void add_title_size_group (Gtk.SizeGroup size_group);
79                 public void add_value_size_group (Gtk.SizeGroup size_group);
80                 public unowned Gtk.Widget get_image ();
81                 public Hildon.ButtonStyle get_style ();
82                 public unowned string get_title ();
83                 public unowned string get_value ();
84                 public void set_alignment (float xalign, float yalign, float xscale, float yscale);
85                 public void set_image (Gtk.Widget image);
86                 public void set_image_alignment (float xalign, float yalign);
87                 public void set_image_position (Gtk.PositionType position);
88                 public void set_style (Hildon.ButtonStyle style);
89                 public void set_text (string title, string value);
90                 public void set_title (string title);
91                 public void set_title_alignment (float xalign, float yalign);
92                 public void set_value (string value);
93                 public void set_value_alignment (float xalign, float yalign);
94                 [CCode (type = "GtkWidget*", has_construct_function = false)]
95                 public Button.with_text (Hildon.SizeType size, Hildon.ButtonArrangement arrangement, string title, string value);
96                 public Hildon.ButtonArrangement arrangement { construct; }
97                 public Hildon.SizeType size { construct; }
98                 public Hildon.ButtonStyle style { get; set; }
99                 public string title { get; set; }
100                 public string value { get; set; }
101         }
102         [CCode (cheader_filename = "hildon/hildon.h")]
103         public class Calendar : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
104                 [CCode (array_length = false)]
105                 public weak int[] day_month;
106                 public Hildon.CalendarDisplayOptions display_flags;
107                 public int focus_col;
108                 public int focus_row;
109                 public weak Gdk.GC gc;
110                 [CCode (array_length = false)]
111                 public weak char[] grow_space;
112                 public weak Gtk.Style header_style;
113                 public int highlight_col;
114                 public int highlight_row;
115                 public weak Gtk.Style label_style;
116                 [CCode (array_length = false)]
117                 public weak int[] marked_date;
118                 [CCode (array_length = false)]
119                 public weak Gdk.Color[] marked_date_color;
120                 public int num_marked_dates;
121                 public int selected_day;
122                 public weak Gdk.GC xor_gc;
123                 [CCode (type = "GtkWidget*", has_construct_function = false)]
124                 public Calendar ();
125                 public void clear_marks ();
126                 public void freeze ();
127                 public void get_date (uint year, uint month, uint day);
128                 public Hildon.CalendarDisplayOptions get_display_options ();
129                 public bool mark_day (uint day);
130                 public void select_day (uint day);
131                 public bool select_month (uint month, uint year);
132                 public void set_display_options (Hildon.CalendarDisplayOptions flags);
133                 public void thaw ();
134                 public bool unmark_day (uint day);
135                 [NoAccessorMethod]
136                 public int day { get; set; }
137                 [NoAccessorMethod]
138                 public int max_year { get; set; }
139                 [NoAccessorMethod]
140                 public int min_year { get; set; }
141                 [NoAccessorMethod]
142                 public int month { get; set; }
143                 [NoAccessorMethod]
144                 public bool no_month_change { get; set; }
145                 [NoAccessorMethod]
146                 public bool show_day_names { get; set; }
147                 [NoAccessorMethod]
148                 public bool show_heading { get; set; }
149                 [NoAccessorMethod]
150                 public bool show_week_numbers { get; set; }
151                 [NoAccessorMethod]
152                 public int week_start { get; set; }
153                 [NoAccessorMethod]
154                 public int year { get; set; }
155                 public virtual signal void day_selected ();
156                 public virtual signal void day_selected_double_click ();
157                 public virtual signal void erroneous_date ();
158                 public virtual signal void month_changed ();
159                 public virtual signal void next_month ();
160                 public virtual signal void next_year ();
161                 public virtual signal void prev_month ();
162                 public virtual signal void prev_year ();
163                 public virtual signal void selected_date ();
164         }
165         [CCode (cheader_filename = "hildon/hildon.h")]
166         public class CalendarPopup : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
167                 [CCode (type = "GtkWidget*", has_construct_function = false)]
168                 public CalendarPopup (Gtk.Window parent, uint year, uint month, uint day);
169                 public void get_date (uint year, uint month, uint day);
170                 public void set_date (uint year, uint month, uint day);
171                 [NoAccessorMethod]
172                 public int day { get; set; }
173                 [NoAccessorMethod]
174                 public uint max_year { set; }
175                 [NoAccessorMethod]
176                 public uint min_year { set; }
177                 [NoAccessorMethod]
178                 public int month { get; set; }
179                 [NoAccessorMethod]
180                 public int year { get; set; }
181         }
182         [CCode (cheader_filename = "hildon/hildon.h")]
183         public class Caption : Gtk.EventBox, Atk.Implementor, Gtk.Buildable {
184                 [CCode (type = "GtkWidget*", has_construct_function = false)]
185                 public Caption (Gtk.SizeGroup group, string value, Gtk.Widget control, Gtk.Widget icon, Hildon.CaptionStatus flag);
186                 public bool get_child_expand ();
187                 public unowned Gtk.Widget get_icon_image ();
188                 public Hildon.CaptionIconPosition get_icon_position ();
189                 public unowned string get_label ();
190                 public float get_label_alignment ();
191                 public unowned string get_separator ();
192                 public unowned Gtk.SizeGroup get_size_group ();
193                 public Hildon.CaptionStatus get_status ();
194                 public bool is_mandatory ();
195                 public void set_child_expand (bool expand);
196                 public void set_icon_image (Gtk.Widget icon);
197                 public void set_icon_position (Hildon.CaptionIconPosition pos);
198                 public void set_label (string label);
199                 public void set_label_alignment (float alignment);
200                 public void set_label_markup (string markup);
201                 public void set_separator (string separator);
202                 public void set_size_group (Gtk.SizeGroup new_group);
203                 public void set_status (Hildon.CaptionStatus flag);
204                 [NoAccessorMethod]
205                 public Gtk.Widget icon { owned get; set; }
206                 public Hildon.CaptionIconPosition icon_position { get; set; }
207                 public string label { get; set; }
208                 [NoAccessorMethod]
209                 public string markup { set; }
210                 public string separator { get; set; }
211                 public Gtk.SizeGroup size_group { get; set; }
212                 public Hildon.CaptionStatus status { get; set; }
213                 public virtual signal void activate ();
214         }
215         [CCode (cheader_filename = "hildon/hildon.h")]
216         public class CheckButton : Gtk.Button, Atk.Implementor, Gtk.Buildable {
217                 [CCode (type = "GtkWidget*", has_construct_function = false)]
218                 public CheckButton (Hildon.SizeType size);
219                 public bool get_active ();
220                 public void set_active (bool is_active);
221                 [NoAccessorMethod]
222                 public Hildon.SizeType size { set; }
223                 public virtual signal void toggled ();
224         }
225         [CCode (cheader_filename = "hildon/hildon.h")]
226         public class CodeDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
227                 [CCode (type = "GtkWidget*", has_construct_function = false)]
228                 public CodeDialog ();
229                 public void clear_code ();
230                 public unowned string get_code ();
231                 public void set_help_text (string text);
232                 public void set_input_sensitive (bool sensitive);
233                 public virtual signal void input ();
234         }
235         [CCode (cheader_filename = "hildon/hildon.h")]
236         public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Buildable {
237                 [CCode (type = "GtkWidget*", has_construct_function = false)]
238                 public ColorButton ();
239                 public void get_color (out Gdk.Color color);
240                 public bool get_popup_shown ();
241                 public void popdown ();
242                 public void set_color (Gdk.Color color);
243                 [CCode (type = "GtkWidget*", has_construct_function = false)]
244                 public ColorButton.with_color (Gdk.Color color);
245                 public Gdk.Color color { get; set; }
246                 public bool popup_shown { get; }
247                 public virtual signal void setup_dialog (Hildon.ColorChooserDialog p0);
248         }
249         [CCode (cheader_filename = "hildon/hildon.h")]
250         public class ColorChooser : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
251                 [CCode (type = "GtkWidget*", has_construct_function = false)]
252                 public ColorChooser ();
253                 public void get_color (out Gdk.Color color);
254                 public virtual void set_color (Gdk.Color color);
255                 public Gdk.Color color { get; set; }
256                 public virtual signal void color_changed ();
257         }
258         [CCode (cheader_filename = "hildon/hildon.h")]
259         public class ColorChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
260                 [CCode (type = "GtkWidget*", has_construct_function = false)]
261                 public ColorChooserDialog ();
262                 public void get_color (out Gdk.Color color);
263                 public void set_color (Gdk.Color color);
264         }
265         [CCode (cheader_filename = "hildon/hildon.h")]
266         public class Controlbar : Gtk.Scale, Atk.Implementor, Gtk.Buildable {
267                 [CCode (type = "GtkWidget*", has_construct_function = false)]
268                 public Controlbar ();
269                 public int get_max ();
270                 public int get_min ();
271                 public int get_value ();
272                 public void set_max (int max);
273                 public void set_min (int min);
274                 public void set_range (int min, int max);
275                 public void set_value (int value);
276                 public int max { get; set; }
277                 public int min { get; set; }
278                 public int value { get; set; }
279                 public virtual signal void end_reached (bool end);
280         }
281         [CCode (cheader_filename = "hildon/hildon.h")]
282         public class DateButton : Hildon.PickerButton, Atk.Implementor, Gtk.Buildable {
283                 [CCode (type = "GtkWidget*", has_construct_function = false)]
284                 public DateButton (Hildon.SizeType size, Hildon.ButtonArrangement arrangement);
285                 public void get_date (uint year, uint month, uint day);
286                 public void set_date (uint year, uint month, uint day);
287                 [CCode (type = "GtkWidget*", has_construct_function = false)]
288                 public DateButton.with_year_range (Hildon.SizeType size, Hildon.ButtonArrangement arrangement, int min_year, int max_year);
289         }
290         [CCode (cheader_filename = "hildon/hildon.h")]
291         public class DateEditor : Gtk.Container, Atk.Implementor, Gtk.Buildable {
292                 [CCode (type = "GtkWidget*", has_construct_function = false)]
293                 public DateEditor ();
294                 public void get_date (uint year, uint month, uint day);
295                 public uint get_day ();
296                 public uint get_month ();
297                 public uint get_year ();
298                 public void set_date (uint year, uint month, uint day);
299                 public bool set_day (uint day);
300                 public bool set_month (uint month);
301                 public bool set_year (uint year);
302                 public uint day { get; set; }
303                 [NoAccessorMethod]
304                 public uint max_year { get; set; }
305                 [NoAccessorMethod]
306                 public uint min_year { get; set; }
307                 public uint month { get; set; }
308                 public uint year { get; set; }
309                 public virtual signal bool date_error (Hildon.DateTimeError type);
310         }
311         [CCode (cheader_filename = "hildon/hildon.h")]
312         public class DateSelector : Hildon.TouchSelector, Atk.Implementor, Gtk.Buildable {
313                 [CCode (type = "GtkWidget*", has_construct_function = false)]
314                 public DateSelector ();
315                 public void get_date (uint year, uint month, uint day);
316                 public bool select_current_date (uint year, uint month, uint day);
317                 public void select_day (uint day);
318                 public bool select_month (uint month, uint year);
319                 [CCode (type = "GtkWidget*", has_construct_function = false)]
320                 public DateSelector.with_year_range (int min_year, int max_year);
321                 [NoAccessorMethod]
322                 public int max_year { get; construct; }
323                 [NoAccessorMethod]
324                 public int min_year { get; construct; }
325         }
326         [CCode (cheader_filename = "hildon/hildon.h")]
327         public class Dialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
328                 [CCode (type = "GtkWidget*", has_construct_function = false)]
329                 public Dialog ();
330                 public unowned Gtk.Widget add_button (string button_text, int response_id);
331                 public void add_buttons (...);
332                 [CCode (type = "GtkWidget*", has_construct_function = false)]
333                 public Dialog.with_buttons (string title, Gtk.Window parent, Gtk.DialogFlags flags, ...);
334         }
335         [CCode (cheader_filename = "hildon/hildon.h")]
336         public class EditToolbar : Gtk.HBox, Atk.Implementor, Gtk.Buildable {
337                 [CCode (type = "GtkWidget*", has_construct_function = false)]
338                 public EditToolbar ();
339                 public void set_button_label (string label);
340                 public void set_label (string label);
341                 [CCode (type = "GtkWidget*", has_construct_function = false)]
342                 public EditToolbar.with_text (string label, string button);
343                 public virtual signal void arrow_clicked ();
344                 public virtual signal void button_clicked ();
345         }
346         [CCode (cheader_filename = "hildon/hildon.h")]
347         public class Entry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable {
348                 [CCode (type = "GtkWidget*", has_construct_function = false)]
349                 public Entry (Hildon.SizeType size);
350                 public unowned string get_text ();
351                 public void set_placeholder (string text);
352                 public void set_text (string text);
353                 [NoAccessorMethod]
354                 public Hildon.SizeType size { set construct; }
355         }
356         [CCode (cheader_filename = "hildon/hildon.h")]
357         public class FindToolbar : Gtk.Toolbar, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell {
358                 [CCode (type = "GtkWidget*", has_construct_function = false)]
359                 public FindToolbar (string label);
360                 public int get_active ();
361                 public bool get_active_iter (out Gtk.TreeIter iter);
362                 public int32 get_last_index ();
363                 public void highlight_entry (bool get_focus);
364                 public void set_active (int index);
365                 public void set_active_iter (Gtk.TreeIter iter);
366                 [CCode (type = "GtkWidget*", has_construct_function = false)]
367                 public FindToolbar.with_model (string label, Gtk.ListStore model, int column);
368                 [NoAccessorMethod]
369                 public int column { get; set; }
370                 [NoAccessorMethod]
371                 public int history_limit { get; set construct; }
372                 [NoAccessorMethod]
373                 public string label { owned get; set construct; }
374                 [NoAccessorMethod]
375                 public Gtk.ListStore list { owned get; set; }
376                 [NoAccessorMethod]
377                 public int max_characters { get; set construct; }
378                 [NoAccessorMethod]
379                 public string prefix { owned get; set; }
380                 public virtual signal void close ();
381                 public virtual signal bool history_append ();
382                 public virtual signal void invalid_input ();
383                 public virtual signal void search ();
384         }
385         [CCode (cheader_filename = "hildon/hildon.h")]
386         public class FontSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
387                 [CCode (type = "GtkWidget*", has_construct_function = false)]
388                 public FontSelectionDialog (Gtk.Window parent, string title);
389                 public unowned string get_preview_text ();
390                 public void set_preview_text (string text);
391                 [NoAccessorMethod]
392                 public bool bold { get; set; }
393                 [NoAccessorMethod]
394                 public bool bold_set { get; set construct; }
395                 [NoAccessorMethod]
396                 public Gdk.Color color { get; set; }
397                 [NoAccessorMethod]
398                 public bool color_set { get; set construct; }
399                 [NoAccessorMethod]
400                 public string family { owned get; set; }
401                 [NoAccessorMethod]
402                 public bool family_set { get; set construct; }
403                 [NoAccessorMethod]
404                 public double font_scaling { get; set; }
405                 [NoAccessorMethod]
406                 public bool italic { get; set; }
407                 [NoAccessorMethod]
408                 public bool italic_set { get; set construct; }
409                 [NoAccessorMethod]
410                 public int position { get; set; }
411                 [NoAccessorMethod]
412                 public bool position_set { get; set construct; }
413                 public string preview_text { get; set; }
414                 [NoAccessorMethod]
415                 public int size { get; set; }
416                 [NoAccessorMethod]
417                 public bool size_set { get; set construct; }
418                 [NoAccessorMethod]
419                 public bool strikethrough { get; set; }
420                 [NoAccessorMethod]
421                 public bool strikethrough_set { get; set construct; }
422                 [NoAccessorMethod]
423                 public bool underline { get; set; }
424                 [NoAccessorMethod]
425                 public bool underline_set { get; set construct; }
426         }
427         [CCode (cheader_filename = "hildon/hildon.h")]
428         public class GetPasswordDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
429                 [CCode (type = "GtkWidget*", has_construct_function = false)]
430                 public GetPasswordDialog (Gtk.Window parent, bool get_old);
431                 public unowned string get_password ();
432                 public void set_caption (string new_caption);
433                 public void set_max_characters (int max_characters);
434                 public void set_message (string message);
435                 [CCode (type = "GtkWidget*", has_construct_function = false)]
436                 public GetPasswordDialog.with_default (Gtk.Window parent, string password, bool get_old);
437                 [NoAccessorMethod]
438                 public string caption_label { owned get; set; }
439                 [NoAccessorMethod]
440                 public bool get_old { get; construct; }
441                 [NoAccessorMethod]
442                 public int max_characters { get; set; }
443                 [NoAccessorMethod]
444                 public string message { owned get; set; }
445                 [NoAccessorMethod]
446                 public bool numbers_only { get; set; }
447                 [NoAccessorMethod]
448                 public string password { owned get; set; }
449         }
450         [CCode (cheader_filename = "hildon/hildon.h")]
451         public class HVolumebar : Hildon.Volumebar, Atk.Implementor, Gtk.Buildable {
452                 [CCode (type = "GtkWidget*", has_construct_function = false)]
453                 public HVolumebar ();
454         }
455         [CCode (cheader_filename = "hildon/hildon.h")]
456         public class LoginDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
457                 [CCode (type = "GtkWidget*", has_construct_function = false)]
458                 public LoginDialog (Gtk.Window parent);
459                 public unowned string get_password ();
460                 public unowned string get_username ();
461                 public void set_message (string msg);
462                 [CCode (type = "GtkWidget*", has_construct_function = false)]
463                 public LoginDialog.with_default (Gtk.Window parent, string name, string password);
464                 [NoAccessorMethod]
465                 public string message { owned get; set; }
466                 [NoAccessorMethod]
467                 public string password { owned get; set; }
468                 [NoAccessorMethod]
469                 public string username { owned get; set; }
470         }
471         [CCode (cheader_filename = "hildon/hildon.h")]
472         public class Note : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
473                 [CCode (has_construct_function = false)]
474                 protected Note ();
475                 [CCode (type = "GtkWidget*", has_construct_function = false)]
476                 public Note.cancel_with_progress_bar (Gtk.Window parent, string description, Gtk.ProgressBar progressbar);
477                 [CCode (type = "GtkWidget*", has_construct_function = false)]
478                 public Note.confirmation (Gtk.Window parent, string description);
479                 [CCode (type = "GtkWidget*", has_construct_function = false)]
480                 public Note.confirmation_add_buttons (Gtk.Window parent, string description);
481                 [CCode (type = "GtkWidget*", has_construct_function = false)]
482                 public Note.confirmation_with_icon_name (Gtk.Window parent, string description, string icon_name);
483                 [CCode (type = "GtkWidget*", has_construct_function = false)]
484                 public Note.information (Gtk.Window parent, string description);
485                 [CCode (type = "GtkWidget*", has_construct_function = false)]
486                 public Note.information_with_icon_name (Gtk.Window parent, string description, string icon_name);
487                 public void set_button_text (string text);
488                 public void set_button_texts (string text_ok, string text_cancel);
489                 [NoAccessorMethod]
490                 public string description { owned get; set; }
491                 [NoAccessorMethod]
492                 public string icon { owned get; set; }
493                 [NoAccessorMethod]
494                 public Hildon.NoteType note_type { get; set construct; }
495                 [NoAccessorMethod]
496                 public Gtk.ProgressBar progressbar { owned get; set; }
497                 [NoAccessorMethod]
498                 public string stock_icon { owned get; set; }
499         }
500         [CCode (cheader_filename = "hildon/hildon.h")]
501         public class NumberEditor : Gtk.Container, Atk.Implementor, Gtk.Buildable {
502                 [CCode (type = "GtkWidget*", has_construct_function = false)]
503                 public NumberEditor (int min, int max);
504                 public int get_value ();
505                 public void set_range (int min, int max);
506                 public void set_value (int value);
507                 public int value { get; set; }
508                 public virtual signal bool range_error (Hildon.NumberEditorErrorType type);
509         }
510         [CCode (cheader_filename = "hildon/hildon.h")]
511         public class PannableArea : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
512                 [CCode (type = "GtkWidget*", has_construct_function = false)]
513                 public PannableArea ();
514                 public void add_with_viewport (Gtk.Widget child);
515                 [CCode (type = "GtkWidget*", has_construct_function = false)]
516                 public PannableArea.full (int mode, bool enabled, double vel_min, double vel_max, double decel, uint sps);
517                 public unowned Gtk.Adjustment get_hadjustment ();
518                 public Hildon.SizeRequestPolicy get_size_request_policy ();
519                 public unowned Gtk.Adjustment get_vadjustment ();
520                 public void jump_to (int x, int y);
521                 public void jump_to_child (Gtk.Widget child);
522                 public void scroll_to (int x, int y);
523                 public void scroll_to_child (Gtk.Widget child);
524                 public void set_size_request_policy (Hildon.SizeRequestPolicy size_request_policy);
525                 [NoAccessorMethod]
526                 public uint bounce_steps { get; set construct; }
527                 [NoAccessorMethod]
528                 public double deceleration { get; set construct; }
529                 [NoAccessorMethod]
530                 public uint direction_error_margin { get; set construct; }
531                 [NoAccessorMethod]
532                 public double drag_inertia { get; set construct; }
533                 [NoAccessorMethod]
534                 public bool enabled { get; set construct; }
535                 [NoAccessorMethod]
536                 public uint force { get; set construct; }
537                 public Gtk.Adjustment hadjustment { get; }
538                 [NoAccessorMethod]
539                 public int hovershoot_max { get; set construct; }
540                 [NoAccessorMethod]
541                 public Gtk.PolicyType hscrollbar_policy { get; set construct; }
542                 [NoAccessorMethod]
543                 public bool initial_hint { get; set construct; }
544                 [NoAccessorMethod]
545                 public bool low_friction_mode { get; set construct; }
546                 [NoAccessorMethod]
547                 public Hildon.PannableAreaMode mode { get; set construct; }
548                 [NoAccessorMethod]
549                 public Hildon.MovementMode mov_mode { get; set construct; }
550                 [NoAccessorMethod]
551                 public uint panning_threshold { get; set construct; }
552                 [NoAccessorMethod]
553                 public double scroll_time { get; set construct; }
554                 [NoAccessorMethod]
555                 public uint scrollbar_fade_delay { get; set construct; }
556                 public Hildon.SizeRequestPolicy size_request_policy { get; set construct; }
557                 [NoAccessorMethod]
558                 public uint sps { get; set construct; }
559                 public Gtk.Adjustment vadjustment { get; }
560                 [NoAccessorMethod]
561                 public double velocity_fast_factor { get; set construct; }
562                 [NoAccessorMethod]
563                 public double velocity_max { get; set construct; }
564                 [NoAccessorMethod]
565                 public double velocity_min { get; set construct; }
566                 [NoAccessorMethod]
567                 public double velocity_overshooting_max { get; set construct; }
568                 [NoAccessorMethod]
569                 public int vovershoot_max { get; set construct; }
570                 [NoAccessorMethod]
571                 public Gtk.PolicyType vscrollbar_policy { get; set construct; }
572                 public virtual signal void horizontal_movement (int direction, double x, double y);
573                 public virtual signal void panning_finished ();
574                 public virtual signal bool panning_started ();
575                 public virtual signal void vertical_movement (int direction, double x, double y);
576         }
577         [CCode (cheader_filename = "hildon/hildon.h")]
578         public class PickerButton : Hildon.Button, Atk.Implementor, Gtk.Buildable {
579                 [CCode (type = "GtkWidget*", has_construct_function = false)]
580                 public PickerButton (Hildon.SizeType size, Hildon.ButtonArrangement arrangement);
581                 public int get_active ();
582                 public unowned string get_done_button_text ();
583                 public unowned Hildon.TouchSelector get_selector ();
584                 public void set_active (int index);
585                 public void set_done_button_text (string done_button_text);
586                 public void set_selector (Hildon.TouchSelector selector);
587                 public string done_button_text { get; set; }
588                 [NoAccessorMethod]
589                 public Hildon.TouchSelector touch_selector { owned get; set; }
590                 public virtual signal void value_changed ();
591         }
592         [CCode (cheader_filename = "hildon/hildon.h")]
593         public class PickerDialog : Hildon.Dialog, Atk.Implementor, Gtk.Buildable {
594                 [CCode (type = "GtkWidget*", has_construct_function = false)]
595                 public PickerDialog (Gtk.Window parent);
596                 public unowned string get_done_label ();
597                 public unowned Hildon.TouchSelector get_selector ();
598                 public void set_done_label (string label);
599                 public virtual bool set_selector (Hildon.TouchSelector selector);
600                 [NoAccessorMethod]
601                 public bool center_on_show { get; set construct; }
602                 [NoAccessorMethod]
603                 public string done_button_text { owned get; set construct; }
604         }
605         [CCode (cheader_filename = "hildon/hildon.h")]
606         public class Program : GLib.Object {
607                 [CCode (has_construct_function = false)]
608                 protected Program ();
609                 public void add_window (Hildon.Window window);
610                 public bool get_can_hibernate ();
611                 public unowned Hildon.AppMenu get_common_app_menu ();
612                 public unowned Gtk.Menu get_common_menu ();
613                 public unowned Gtk.Toolbar get_common_toolbar ();
614                 public static unowned Hildon.Program get_instance ();
615                 public bool get_is_topmost ();
616                 public void go_to_root_window ();
617                 public unowned Hildon.StackableWindow peek_window_stack ();
618                 public unowned Hildon.StackableWindow pop_window_stack ();
619                 public void remove_window (Hildon.Window window);
620                 public void set_can_hibernate (bool can_hibernate);
621                 public void set_common_app_menu (Hildon.AppMenu menu);
622                 public void set_common_menu (Gtk.Menu menu);
623                 public void set_common_toolbar (Gtk.Toolbar toolbar);
624                 public bool can_hibernate { get; set; }
625                 public bool is_topmost { get; }
626         }
627         [CCode (cheader_filename = "hildon/hildon.h")]
628         public class RangeEditor : Gtk.Container, Atk.Implementor, Gtk.Buildable {
629                 [CCode (type = "GtkWidget*", has_construct_function = false)]
630                 public RangeEditor ();
631                 public int get_higher ();
632                 public int get_lower ();
633                 public int get_max ();
634                 public int get_min ();
635                 public void get_range (int start, int end);
636                 public unowned string get_separator ();
637                 public void set_higher (int value);
638                 public void set_limits (int start, int end);
639                 public void set_lower (int value);
640                 public void set_max (int value);
641                 public void set_min (int value);
642                 public void set_range (int start, int end);
643                 public void set_separator (string separator);
644                 [CCode (type = "GtkWidget*", has_construct_function = false)]
645                 public RangeEditor.with_separator (string separator);
646                 public int higher { get; set construct; }
647                 public int lower { get; set construct; }
648                 public int max { get; set construct; }
649                 public int min { get; set construct; }
650                 public string separator { get; set construct; }
651         }
652         [CCode (cheader_filename = "hildon/hildon.h")]
653         public class RemoteTexture : Gtk.Window, Atk.Implementor, Gtk.Buildable {
654                 [CCode (type = "GtkWidget*", has_construct_function = false)]
655                 public RemoteTexture ();
656                 public void send_message (uint32 message_type, uint32 l0, uint32 l1, uint32 l2, uint32 l3, uint32 l4);
657                 public void set_image (uint32 key, uint width, uint height, uint bpp);
658                 public void set_offset (double x, double y);
659                 public void set_opacity (int opacity);
660                 public void set_parent (Gtk.Window parent);
661                 public void set_position (int x, int y, int width, int height);
662                 public void set_scale (double x_scale, double y_scale);
663                 public void set_show (int show);
664                 public void set_show_full (int show, int opacity);
665                 public void update_area (int x, int y, int width, int height);
666         }
667         [CCode (cheader_filename = "hildon/hildon.h")]
668         public class Seekbar : Gtk.Scale, Atk.Implementor, Gtk.Buildable {
669                 [CCode (type = "GtkWidget*", has_construct_function = false)]
670                 public Seekbar ();
671                 public uint get_fraction ();
672                 public int get_position ();
673                 public int get_total_time ();
674                 public void set_fraction (uint fraction);
675                 public void set_position (int time);
676                 public void set_total_time (int time);
677                 public double fraction { get; set; }
678                 public double position { get; set; }
679                 public double total_time { get; set; }
680         }
681         [CCode (cheader_filename = "hildon/hildon.h")]
682         public class SetPasswordDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
683                 [CCode (type = "GtkWidget*", has_construct_function = false)]
684                 public SetPasswordDialog (Gtk.Window parent, bool modify_protection);
685                 public unowned string get_password ();
686                 public bool get_protected ();
687                 public void set_message (string message);
688                 [CCode (type = "GtkWidget*", has_construct_function = false)]
689                 public SetPasswordDialog.with_default (Gtk.Window parent, string password, bool modify_protection);
690                 [NoAccessorMethod]
691                 public string message { owned get; set; }
692                 [NoAccessorMethod]
693                 public bool modify_protection { get; construct; }
694                 [NoAccessorMethod]
695                 public string password { owned get; set; }
696         }
697         [CCode (cheader_filename = "hildon/hildon.h")]
698         public class SortDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
699                 [CCode (type = "GtkWidget*", has_construct_function = false)]
700                 public SortDialog (Gtk.Window parent);
701                 public int add_sort_key (string sort_key);
702                 public int add_sort_key_reversed (string sort_key);
703                 public int get_sort_key ();
704                 public Gtk.SortType get_sort_order ();
705                 public void set_sort_key (int key);
706                 public void set_sort_order (Gtk.SortType order);
707                 public int sort_key { get; set; }
708                 public Gtk.SortType sort_order { get; set; }
709         }
710         [CCode (cheader_filename = "hildon/hildon.h")]
711         public class StackableWindow : Hildon.Window, Atk.Implementor, Gtk.Buildable {
712                 [CCode (type = "GtkWidget*", has_construct_function = false)]
713                 public StackableWindow ();
714                 public unowned Hildon.WindowStack get_stack ();
715                 public void set_main_menu (Hildon.AppMenu menu);
716         }
717         [CCode (cheader_filename = "hildon/hildon.h")]
718         public class TextView : Gtk.TextView, Atk.Implementor, Gtk.Buildable {
719                 [CCode (type = "GtkWidget*", has_construct_function = false)]
720                 public TextView ();
721                 public unowned Gtk.TextBuffer get_buffer ();
722                 public void set_buffer (Gtk.TextBuffer buffer);
723                 public void set_placeholder (string text);
724         }
725         [CCode (cheader_filename = "hildon/hildon.h")]
726         public class TimeButton : Hildon.PickerButton, Atk.Implementor, Gtk.Buildable {
727                 [CCode (type = "GtkWidget*", has_construct_function = false)]
728                 public TimeButton (Hildon.SizeType size, Hildon.ButtonArrangement arrangement);
729                 public void get_time (uint hours, uint minutes);
730                 public void set_time (uint hours, uint minutes);
731                 [CCode (type = "GtkWidget*", has_construct_function = false)]
732                 public TimeButton.step (Hildon.SizeType size, Hildon.ButtonArrangement arrangement, uint minutes_step);
733         }
734         [CCode (cheader_filename = "hildon/hildon.h")]
735         public class TimeEditor : Gtk.Container, Atk.Implementor, Gtk.Buildable {
736                 [CCode (type = "GtkWidget*", has_construct_function = false)]
737                 public TimeEditor ();
738                 public uint get_duration_max ();
739                 public uint get_duration_min ();
740                 public bool get_duration_mode ();
741                 public void get_duration_range (uint min_seconds, uint max_seconds);
742                 public bool get_show_hours ();
743                 public bool get_show_seconds ();
744                 public uint get_ticks ();
745                 public void get_time (uint hours, uint minutes, uint seconds);
746                 public static void get_time_separators (Gtk.Label hm_sep_label, Gtk.Label ms_sep_label);
747                 public void set_duration_max (uint duration_max);
748                 public void set_duration_min (uint duration_min);
749                 public void set_duration_mode (bool duration_mode);
750                 public void set_duration_range (uint min_seconds, uint max_seconds);
751                 public void set_show_hours (bool show_hours);
752                 public void set_show_seconds (bool show_seconds);
753                 public void set_ticks (uint ticks);
754                 public void set_time (uint hours, uint minutes, uint seconds);
755                 public uint duration_max { get; set; }
756                 public uint duration_min { get; set; }
757                 public bool duration_mode { get; set; }
758                 public bool show_hours { get; set; }
759                 public bool show_seconds { get; set; }
760                 public uint ticks { get; set; }
761                 public virtual signal bool time_error (Hildon.DateTimeError type);
762         }
763         [CCode (cheader_filename = "hildon/hildon.h")]
764         public class TimePicker : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
765                 [CCode (type = "GtkWidget*", has_construct_function = false)]
766                 public TimePicker (Gtk.Window parent);
767                 public void get_time (uint hours, uint minutes);
768                 public void set_time (uint hours, uint minutes);
769                 [NoAccessorMethod]
770                 public uint minutes { get; set; }
771         }
772         [CCode (cheader_filename = "hildon/hildon.h")]
773         public class TimeSelector : Hildon.TouchSelector, Atk.Implementor, Gtk.Buildable {
774                 [CCode (type = "GtkWidget*", has_construct_function = false)]
775                 public TimeSelector ();
776                 public void get_time (uint hours, uint minutes);
777                 public bool set_time (uint hours, uint minutes);
778                 [CCode (type = "GtkWidget*", has_construct_function = false)]
779                 public TimeSelector.step (uint minutes_step);
780                 [NoAccessorMethod]
781                 public uint minutes_step { get; construct; }
782                 [NoAccessorMethod]
783                 public Hildon.TimeSelectorFormatPolicy time_format_policy { get; set construct; }
784         }
785         [CCode (cheader_filename = "hildon/hildon.h")]
786         public class TouchSelector : Gtk.VBox, Atk.Implementor, Gtk.Buildable {
787                 [CCode (type = "GtkWidget*", has_construct_function = false)]
788                 public TouchSelector ();
789                 public unowned Hildon.TouchSelectorColumn append_column (Gtk.TreeModel model, Gtk.CellRenderer cell_renderer);
790                 public void append_text (string text);
791                 public unowned Hildon.TouchSelectorColumn append_text_column (Gtk.TreeModel model, bool center);
792                 public void center_on_selected ();
793                 public int get_active (int column);
794                 public unowned Hildon.TouchSelectorColumn get_column (int column);
795                 public Hildon.TouchSelectorSelectionMode get_column_selection_mode ();
796                 public unowned string get_current_text ();
797                 public Hildon.UIMode get_hildon_ui_mode ();
798                 public unowned Gtk.TreePath get_last_activated_row (int column);
799                 public unowned Gtk.TreeModel get_model (int column);
800                 public int get_num_columns ();
801                 public unowned Hildon.TouchSelectorPrintFunc get_print_func ();
802                 public bool get_selected (int column, Gtk.TreeIter iter);
803                 public unowned GLib.List get_selected_rows (int column);
804                 public void insert_text (int position, string text);
805                 public void optimal_size_request (Gtk.Requisition requisition);
806                 public void prepend_text (string text);
807                 public bool remove_column (int column);
808                 public void select_iter (int column, Gtk.TreeIter iter, bool scroll_to);
809                 public void set_active (int column, int index);
810                 public void set_column_attributes (int num_column, Gtk.CellRenderer cell_renderer);
811                 public void set_column_selection_mode (Hildon.TouchSelectorSelectionMode mode);
812                 public bool set_hildon_ui_mode (Hildon.UIMode mode);
813                 public virtual void set_model (int column, Gtk.TreeModel model);
814                 public void set_print_func (Hildon.TouchSelectorPrintFunc func);
815                 public void set_print_func_full (owned Hildon.TouchSelectorPrintFunc func);
816                 [CCode (type = "GtkWidget*", has_construct_function = false)]
817                 public TouchSelector.text ();
818                 public void unselect_all (int column);
819                 public void unselect_iter (int column, Gtk.TreeIter iter);
820                 [NoAccessorMethod]
821                 public bool has_multiple_selection { get; }
822                 public Hildon.UIMode hildon_ui_mode { get; set; }
823                 [NoAccessorMethod]
824                 public bool initial_scroll { get; set construct; }
825                 public virtual signal void changed (int column);
826                 public virtual signal void columns_changed ();
827         }
828         [CCode (cheader_filename = "hildon/hildon.h")]
829         public class TouchSelectorColumn : GLib.Object, Gtk.CellLayout {
830                 [CCode (has_construct_function = false)]
831                 protected TouchSelectorColumn ();
832                 public int get_text_column ();
833                 public void set_text_column (int text_column);
834                 public int text_column { get; set; }
835         }
836         [CCode (cheader_filename = "hildon/hildon.h")]
837         public class TouchSelectorEntry : Hildon.TouchSelector, Atk.Implementor, Gtk.Buildable {
838                 [CCode (type = "GtkWidget*", has_construct_function = false)]
839                 public TouchSelectorEntry ();
840                 public unowned Hildon.Entry get_entry ();
841                 public Hildon.GtkInputMode get_input_mode ();
842                 public int get_text_column ();
843                 public void set_input_mode (Hildon.GtkInputMode input_mode);
844                 public void set_text_column (int text_column);
845                 [CCode (type = "GtkWidget*", has_construct_function = false)]
846                 public TouchSelectorEntry.text ();
847                 public int text_column { get; set; }
848         }
849         [CCode (cheader_filename = "hildon/hildon.h")]
850         public class VVolumebar : Hildon.Volumebar, Atk.Implementor, Gtk.Buildable {
851                 [CCode (type = "GtkWidget*", has_construct_function = false)]
852                 public VVolumebar ();
853         }
854         [CCode (cheader_filename = "hildon/hildon.h")]
855         public class Volumebar : Gtk.Container, Atk.Implementor, Gtk.Buildable {
856                 [CCode (has_construct_function = false)]
857                 protected Volumebar ();
858                 public unowned Gtk.Adjustment get_adjustment ();
859                 public double get_level ();
860                 public bool get_mute ();
861                 public void set_level (double level);
862                 public void set_mute (bool mute);
863                 public void set_range_insensitive_message (string message);
864                 public void set_range_insensitive_messagef (string format);
865                 [NoAccessorMethod]
866                 public bool has_mute { get; set construct; }
867                 public double level { get; set; }
868                 public bool mute { get; set; }
869                 public virtual signal void level_changed ();
870                 public virtual signal void mute_toggled ();
871         }
872         [CCode (cheader_filename = "hildon/hildon.h")]
873         public class VolumebarRange : Gtk.Scale, Atk.Implementor, Gtk.Buildable {
874                 [CCode (type = "GtkWidget*", has_construct_function = false)]
875                 public VolumebarRange (Gtk.Orientation orientation);
876                 public double get_level ();
877                 public void set_level (double level);
878                 public double level { get; set; }
879         }
880         [CCode (cheader_filename = "hildon/hildon.h")]
881         public class WeekdayPicker : Gtk.Container, Atk.Implementor, Gtk.Buildable {
882                 [CCode (type = "GtkWidget*", has_construct_function = false)]
883                 public WeekdayPicker ();
884                 public bool isset_day (GLib.DateWeekday day);
885                 public void set_all ();
886                 public void set_day (GLib.DateWeekday day);
887                 public void toggle_day (GLib.DateWeekday day);
888                 public void unset_all ();
889                 public void unset_day (GLib.DateWeekday day);
890                 public virtual signal void selection_changed (int p0);
891         }
892         [CCode (cheader_filename = "hildon/hildon.h")]
893         public class Window : Gtk.Window, Atk.Implementor, Gtk.Buildable {
894                 [CCode (type = "GtkWidget*", has_construct_function = false)]
895                 public Window ();
896                 public void add_toolbar (Gtk.Toolbar toolbar);
897                 public void add_with_scrollbar (Gtk.Widget child);
898                 public unowned Hildon.AppMenu get_app_menu ();
899                 public bool get_is_topmost ();
900                 public unowned Gtk.Menu get_main_menu ();
901                 public unowned string get_markup ();
902                 public unowned Gtk.Menu get_menu ();
903                 public void remove_toolbar (Gtk.Toolbar toolbar);
904                 public void set_app_menu (Hildon.AppMenu menu);
905                 public void set_edit_toolbar (Hildon.EditToolbar toolbar);
906                 public void set_main_menu (Gtk.Menu menu);
907                 public void set_markup (string markup);
908                 public void set_menu (Gtk.Menu menu);
909                 [NoWrapper]
910                 public virtual bool toggle_menu (uint button, uint32 time);
911                 public bool is_topmost { get; }
912                 public string markup { get; set; }
913                 public virtual signal void clipboard_operation (int operation);
914         }
915         [CCode (cheader_filename = "hildon/hildon.h")]
916         public class WindowStack : GLib.Object {
917                 [CCode (has_construct_function = false)]
918                 public WindowStack ();
919                 public static unowned Hildon.WindowStack get_default ();
920                 public unowned GLib.List get_windows ();
921                 public unowned Gtk.Widget peek ();
922                 public void pop (int nwindows, GLib.List popped_windows);
923                 public unowned Gtk.Widget pop_1 ();
924                 public void pop_and_push (int nwindows, GLib.List popped_windows, Hildon.StackableWindow win1);
925                 public void pop_and_push_list (int nwindows, GLib.List popped_windows, GLib.List list);
926                 public void push (Hildon.StackableWindow win1);
927                 public void push_1 (Hildon.StackableWindow win);
928                 public void push_list (GLib.List list);
929                 public int size ();
930                 [NoAccessorMethod]
931                 public Gtk.WindowGroup window_group { owned get; construct; }
932         }
933         [CCode (cheader_filename = "hildon/hildon.h")]
934         public class WizardDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
935                 [CCode (type = "GtkWidget*", has_construct_function = false)]
936                 public WizardDialog (Gtk.Window parent, string wizard_name, Gtk.Notebook notebook);
937                 public void set_forward_page_func (owned Hildon.WizardDialogPageFunc page_func);
938                 [NoAccessorMethod]
939                 public bool autotitle { get; set; }
940                 [NoAccessorMethod]
941                 public string wizard_name { owned get; set; }
942                 [NoAccessorMethod]
943                 public Gtk.Notebook wizard_notebook { owned get; set; }
944         }
945         [CCode (cheader_filename = "hildon/hildon.h")]
946         public interface BreadCrumb : Gtk.Widget {
947                 public void activated ();
948                 public abstract void get_natural_size (int width, int height);
949                 public signal void crumb_activated ();
950         }
951         [CCode (cprefix = "HILDON_BUTTON_ARRANGEMENT_", cheader_filename = "hildon/hildon.h")]
952         public enum ButtonArrangement {
953                 HORIZONTAL,
954                 VERTICAL
955         }
956         [CCode (cprefix = "HILDON_BUTTON_STYLE_", cheader_filename = "hildon/hildon.h")]
957         public enum ButtonStyle {
958                 NORMAL,
959                 PICKER
960         }
961         [CCode (cprefix = "HILDON_CALENDAR_", cheader_filename = "hildon/hildon.h")]
962         [Flags]
963         public enum CalendarDisplayOptions {
964                 SHOW_HEADING,
965                 SHOW_DAY_NAMES,
966                 NO_MONTH_CHANGE,
967                 SHOW_WEEK_NUMBERS,
968                 WEEK_START_MONDAY
969         }
970         [CCode (cprefix = "HILDON_CAPTION_POSITION_", cheader_filename = "hildon/hildon.h")]
971         public enum CaptionIconPosition {
972                 LEFT,
973                 RIGHT
974         }
975         [CCode (cprefix = "HILDON_CAPTION_", cheader_filename = "hildon/hildon.h")]
976         public enum CaptionStatus {
977                 OPTIONAL,
978                 MANDATORY
979         }
980         [CCode (cprefix = "HILDON_DATE_TIME_ERROR_", cheader_filename = "hildon/hildon.h")]
981         public enum DateTimeError {
982                 NO_ERROR,
983                 MAX_HOURS,
984                 MAX_MINS,
985                 MAX_SECS,
986                 MAX_DAY,
987                 MAX_MONTH,
988                 MAX_YEAR,
989                 MIN_HOURS,
990                 MIN_MINS,
991                 MIN_SECS,
992                 MIN_DAY,
993                 MIN_MONTH,
994                 MIN_YEAR,
995                 EMPTY_HOURS,
996                 EMPTY_MINS,
997                 EMPTY_SECS,
998                 EMPTY_DAY,
999                 EMPTY_MONTH,
1000                 EMPTY_YEAR,
1001                 MIN_DURATION,
1002                 MAX_DURATION,
1003                 INVALID_CHAR,
1004                 INVALID_DATE,
1005                 INVALID_TIME
1006         }
1007         [CCode (cprefix = "HILDON_GTK_INPUT_MODE_", has_type_id = false, cheader_filename = "gtk/gtk.h")]
1008         public enum GtkInputMode {
1009                 ALPHA,
1010                 NUMERIC,
1011                 SPECIAL,
1012                 HEXA,
1013                 TELE,
1014                 FULL,
1015                 MULTILINE,
1016                 INVISIBLE,
1017                 AUTOCAP,
1018                 DICTIONARY
1019         }
1020         [CCode (cprefix = "HILDON_", has_type_id = false, cheader_filename = "gtk/gtk.h")]
1021         public enum Mode {
1022                 DIABLO,
1023                 FREMANTLE
1024         }
1025         [CCode (cprefix = "HILDON_MOVEMENT_", cheader_filename = "hildon/hildon.h")]
1026         public enum MovementDirection {
1027                 UP,
1028                 DOWN,
1029                 LEFT,
1030                 RIGHT
1031         }
1032         [CCode (cprefix = "HILDON_MOVEMENT_MODE_", cheader_filename = "hildon/hildon.h")]
1033         [Flags]
1034         public enum MovementMode {
1035                 HORIZ,
1036                 VERT,
1037                 BOTH
1038         }
1039         [CCode (cprefix = "HILDON_NOTE_TYPE_", cheader_filename = "hildon/hildon.h")]
1040         public enum NoteType {
1041                 CONFIRMATION,
1042                 CONFIRMATION_BUTTON,
1043                 INFORMATION,
1044                 INFORMATION_THEME,
1045                 PROGRESSBAR
1046         }
1047         [CCode (cprefix = "HILDON_NUMBER_EDITOR_ERROR_", cheader_filename = "hildon/hildon.h")]
1048         public enum NumberEditorErrorType {
1049                 MAXIMUM_VALUE_EXCEED,
1050                 MINIMUM_VALUE_EXCEED,
1051                 ERRONEOUS_VALUE
1052         }
1053         [CCode (cprefix = "HILDON_PANNABLE_AREA_MODE_", cheader_filename = "hildon/hildon.h")]
1054         public enum PannableAreaMode {
1055                 PUSH,
1056                 ACCEL,
1057                 AUTO
1058         }
1059         [CCode (cprefix = "HILDON_PORTRAIT_MODE_", cheader_filename = "hildon/hildon.h")]
1060         [Flags]
1061         public enum PortraitFlags {
1062                 REQUEST,
1063                 SUPPORT
1064         }
1065         [CCode (cprefix = "HILDON_SIZE_REQUEST_", cheader_filename = "hildon/hildon.h")]
1066         public enum SizeRequestPolicy {
1067                 MINIMUM,
1068                 CHILDREN
1069         }
1070         [CCode (cprefix = "HILDON_SIZE_", has_type_id = false, cheader_filename = "gtk/gtk.h")]
1071         public enum SizeType {
1072                 AUTO_WIDTH,
1073                 HALFSCREEN_WIDTH,
1074                 FULLSCREEN_WIDTH,
1075                 AUTO_HEIGHT,
1076                 FINGER_HEIGHT,
1077                 THUMB_HEIGHT,
1078                 AUTO
1079         }
1080         [CCode (cprefix = "HILDON_TIME_SELECTOR_FORMAT_POLICY_", cheader_filename = "hildon/hildon.h")]
1081         public enum TimeSelectorFormatPolicy {
1082                 AMPM,
1083                 @24H,
1084                 AUTOMATIC
1085         }
1086         [CCode (cprefix = "HILDON_TOUCH_SELECTOR_SELECTION_MODE_", cheader_filename = "hildon/hildon.h")]
1087         public enum TouchSelectorSelectionMode {
1088                 SINGLE,
1089                 MULTIPLE
1090         }
1091         [CCode (cprefix = "HILDON_UI_MODE_", has_type_id = false, cheader_filename = "gtk/gtk.h")]
1092         public enum UIMode {
1093                 NORMAL,
1094                 EDIT
1095         }
1096         [CCode (cprefix = "HILDON_WINDOW_CO_", cheader_filename = "hildon/hildon.h")]
1097         public enum WindowClipboardOperation {
1098                 COPY,
1099                 CUT,
1100                 PASTE
1101         }
1102         [CCode (cprefix = "HILDON_WIZARD_DIALOG_", cheader_filename = "hildon/hildon.h")]
1103         public enum WizardDialogResponse {
1104                 CANCEL,
1105                 PREVIOUS,
1106                 NEXT,
1107                 FINISH
1108         }
1109         [CCode (cheader_filename = "hildon/hildon.h")]
1110         public delegate unowned string TouchSelectorPrintFunc (Hildon.TouchSelector selector);
1111         [CCode (cheader_filename = "hildon/hildon.h")]
1112         public delegate bool WizardDialogPageFunc (Gtk.Notebook notebook, int current_page);
1113         [CCode (cheader_filename = "hildon/hildon.h")]
1114         public const int AA_CENTER_GRAVITY;
1115         [CCode (cheader_filename = "hildon/hildon.h")]
1116         public const int AA_E_GRAVITY;
1117         [CCode (cheader_filename = "hildon/hildon.h")]
1118         public const int AA_NE_GRAVITY;
1119         [CCode (cheader_filename = "hildon/hildon.h")]
1120         public const int AA_NW_GRAVITY;
1121         [CCode (cheader_filename = "hildon/hildon.h")]
1122         public const int AA_N_GRAVITY;
1123         [CCode (cheader_filename = "hildon/hildon.h")]
1124         public const int AA_SE_GRAVITY;
1125         [CCode (cheader_filename = "hildon/hildon.h")]
1126         public const int AA_SW_GRAVITY;
1127         [CCode (cheader_filename = "hildon/hildon.h")]
1128         public const int AA_S_GRAVITY;
1129         [CCode (cheader_filename = "hildon/hildon.h")]
1130         public const int AA_W_GRAVITY;
1131         [CCode (cheader_filename = "hildon/hildon.h")]
1132         public const int AA_X_AXIS;
1133         [CCode (cheader_filename = "hildon/hildon.h")]
1134         public const int AA_Y_AXIS;
1135         [CCode (cheader_filename = "hildon/hildon.h")]
1136         public const int AA_Z_AXIS;
1137         [CCode (cheader_filename = "hildon/hildon.h")]
1138         public const int MAJOR_VERSION;
1139         [CCode (cheader_filename = "hildon/hildon.h")]
1140         public const int MARGIN_DEFAULT;
1141         [CCode (cheader_filename = "hildon/hildon.h")]
1142         public const int MARGIN_DOUBLE;
1143         [CCode (cheader_filename = "hildon/hildon.h")]
1144         public const int MARGIN_HALF;
1145         [CCode (cheader_filename = "hildon/hildon.h")]
1146         public const int MARGIN_TRIPLE;
1147         [CCode (cheader_filename = "hildon/hildon.h")]
1148         public const int MICRO_VERSION;
1149         [CCode (cheader_filename = "hildon/hildon.h")]
1150         public const int MINOR_VERSION;
1151         [CCode (cheader_filename = "hildon/hildon.h")]
1152         public const int WINDOW_LONG_PRESS_TIME;
1153         [CCode (cheader_filename = "hildon/hildon.h")]
1154         public const int WINDOW_TITLEBAR_HEIGHT;
1155         [CCode (cheader_filename = "hildon/hildon.h")]
1156         public static unowned string format_file_size_for_display (int64 size);
1157         [CCode (cheader_filename = "hildon/hildon.h")]
1158         public static int get_icon_pixel_size (Gtk.IconSize size);
1159         [CCode (cheader_filename = "hildon/hildon.h")]
1160         public static unowned Gtk.Widget gtk_button_new (Hildon.SizeType size);
1161         [CCode (cheader_filename = "hildon/hildon.h")]
1162         public static unowned Gtk.Widget gtk_hscale_new ();
1163         [CCode (cheader_filename = "hildon/hildon.h")]
1164         public static unowned Gtk.Widget gtk_icon_view_new (Hildon.UIMode mode);
1165         [CCode (cheader_filename = "hildon/hildon.h")]
1166         public static unowned Gtk.Widget gtk_icon_view_new_with_model (Hildon.UIMode mode, Gtk.TreeModel model);
1167         [CCode (cheader_filename = "hildon/hildon.h")]
1168         public static void gtk_icon_view_set_ui_mode (Gtk.IconView iconview, Hildon.UIMode mode);
1169         [CCode (cheader_filename = "hildon/hildon.h")]
1170         public static void gtk_init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
1171         [CCode (cheader_filename = "hildon/hildon.h")]
1172         public static unowned Gtk.Widget gtk_menu_new ();
1173         [CCode (cheader_filename = "hildon/hildon.h")]
1174         public static unowned Gtk.Widget gtk_radio_button_new (Hildon.SizeType size, GLib.SList group);
1175         [CCode (cheader_filename = "hildon/hildon.h")]
1176         public static unowned Gtk.Widget gtk_radio_button_new_from_widget (Hildon.SizeType size, Gtk.RadioButton radio_group_member);
1177         [CCode (cheader_filename = "hildon/hildon.h")]
1178         public static unowned Gtk.Widget gtk_toggle_button_new (Hildon.SizeType size);
1179         [CCode (cheader_filename = "hildon/hildon.h")]
1180         public static unowned Gtk.Widget gtk_tree_view_new (Hildon.UIMode mode);
1181         [CCode (cheader_filename = "hildon/hildon.h")]
1182         public static unowned Gtk.Widget gtk_tree_view_new_with_model (Hildon.UIMode mode, Gtk.TreeModel model);
1183         [CCode (cheader_filename = "hildon/hildon.h")]
1184         public static void gtk_tree_view_set_ui_mode (Gtk.TreeView treeview, Hildon.UIMode mode);
1185         [CCode (cheader_filename = "hildon/hildon.h")]
1186         public static unowned Gtk.Widget gtk_vscale_new ();
1187         [CCode (cheader_filename = "gtk/gtk.h")]
1188         public static void gtk_widget_set_theme_size (Gtk.Widget widget, Hildon.SizeType size);
1189         [CCode (cheader_filename = "hildon/hildon.h")]
1190         public static void gtk_window_set_do_not_disturb (Gtk.Window window, bool dndflag);
1191         [CCode (cheader_filename = "hildon/hildon.h")]
1192         public static void gtk_window_set_portrait_flags (Gtk.Window window, Hildon.PortraitFlags portrait_flags);
1193         [CCode (cheader_filename = "hildon/hildon.h")]
1194         public static void gtk_window_set_progress_indicator (Gtk.Window window, uint state);
1195         [CCode (cheader_filename = "hildon/hildon.h")]
1196         public static void gtk_window_take_screenshot (Gtk.Window window, bool take);
1197         [CCode (cheader_filename = "hildon/hildon.h")]
1198         public static bool helper_event_button_is_finger (Gdk.EventButton event);
1199         [CCode (cheader_filename = "hildon/hildon.h")]
1200         public static void helper_set_insensitive_message (Gtk.Widget widget, string message);
1201         [CCode (cheader_filename = "hildon/hildon.h")]
1202         public static void helper_set_insensitive_messagef (Gtk.Widget widget, string format);
1203         [CCode (cheader_filename = "hildon/hildon.h")]
1204         public static ulong helper_set_logical_color (Gtk.Widget widget, Gtk.RcFlags rcflags, Gtk.StateType state, string logicalcolorname);
1205         [CCode (cheader_filename = "hildon/hildon.h")]
1206         public static ulong helper_set_logical_font (Gtk.Widget widget, string logicalfontname);
1207         [CCode (cheader_filename = "hildon/hildon.h")]
1208         public static void helper_set_thumb_scrollbar (Gtk.ScrolledWindow win, bool thumb);
1209         [CCode (cheader_filename = "hildon/hildon.h")]
1210         public static void init ();
1211         [CCode (cheader_filename = "hildon/hildon.h")]
1212         public static unowned Gtk.Widget pannable_get_child_widget_at (Hildon.PannableArea area, double x, double y);
1213         [CCode (cheader_filename = "hildon/hildon.h")]
1214         public static void play_system_sound (string sample);