1 /* hildon-fm-2.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Hildon", lower_case_cprefix = "hildon_")]
5 [CCode (cheader_filename = "hildon/hildon-file-chooser-dialog.h")]
6 public class FileChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser {
7 [CCode (type = "GtkWidget*", has_construct_function = false)]
8 public FileChooserDialog (Gtk.Window parent, Gtk.FileChooserAction action);
9 public unowned Gtk.Widget add_extensions_combo (out unowned string extensions, out unowned string ext_names);
10 public void add_extra (Gtk.Widget widget);
11 public void focus_to_input ();
12 public unowned string get_extension ();
13 public unowned string get_safe_folder ();
14 public unowned string get_safe_folder_uri ();
15 public bool get_show_upnp ();
16 public void set_extension (string extension);
17 public void set_safe_folder (string local_path);
18 public void set_safe_folder_uri (string uri);
19 public void set_show_upnp (bool value);
20 [CCode (type = "GtkWidget*", has_construct_function = false)]
21 public FileChooserDialog.with_properties (Gtk.Window parent, ...);
23 public bool autonaming { get; set; }
25 public string empty_text { owned get; set; }
27 public Hildon.FileSystemModel file_system_model { owned get; construct; }
29 public int max_full_path_length { get; set construct; }
31 public int max_name_length { get; set construct; }
33 public string open_button_text { owned get; set; }
35 public string save_multiple { owned get; set; }
37 public int selection_mode { get; set; }
39 public bool show_folder_button { get; set; }
41 public bool show_location { get; set; }
43 [CCode (cheader_filename = "hildon/hildon-file-details-dialog.h")]
44 public class FileDetailsDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
45 [CCode (type = "GtkWidget*", has_construct_function = false)]
46 public FileDetailsDialog (Gtk.Window parent, string filename);
47 public bool get_file_iter (out Gtk.TreeIter iter);
48 public void set_file_iter (Gtk.TreeIter iter);
49 [CCode (type = "GtkWidget*", has_construct_function = false)]
50 public FileDetailsDialog.with_model (Gtk.Window parent, Hildon.FileSystemModel model);
52 public Gtk.Widget additional_tab { owned get; set construct; }
54 public string additional_tab_label { owned get; set; }
56 public bool enable_read_only_checkbox { get; set construct; }
58 public Hildon.FileSystemModel model { owned get; set; }
60 public bool show_tabs { get; set construct; }
62 public bool show_type_icon { get; set construct; }
64 [CCode (cheader_filename = "hildon/hildon-file-selection.h")]
65 public class FileSelection : Gtk.Container, Atk.Implementor, Gtk.Buildable {
66 public void clear_multi_selection ();
67 public bool content_iter_is_selected (Gtk.TreeIter iter);
68 public void dim_current_selection ();
69 public bool get_active_content_iter (Gtk.TreeIter iter);
70 public Hildon.FileSelectionPane get_active_pane ();
71 public bool get_column_headers_visible ();
72 public bool get_current_content_iter (Gtk.TreeIter iter);
73 public bool get_current_folder_iter (Gtk.TreeIter iter);
74 public unowned string get_current_folder_uri ();
75 public unowned Gtk.FileFilter get_filter ();
76 public Hildon.FileSelectionMode get_mode ();
77 public bool get_select_multiple ();
78 public unowned GLib.SList get_selected_paths ();
79 public unowned GLib.SList get_selected_uris ();
80 public void get_sort_key (Hildon.FileSelectionSortKey key, Gtk.SortType order);
81 public void hide_content_pane ();
82 public void move_cursor_to_uri (string uri);
83 public void select_all ();
84 public bool select_uri (string uri) throws GLib.Error;
85 public void set_column_headers_visible (bool visible);
86 public bool set_current_folder_uri (string folder) throws GLib.Error;
87 public void set_filter (Gtk.FileFilter filter);
88 public void set_mode (Hildon.FileSelectionMode mode);
89 public void set_select_multiple (bool select_multiple);
90 public void set_sort_key (Hildon.FileSelectionSortKey key, Gtk.SortType order);
91 public void show_content_pane ();
92 public void undim_all ();
93 public void unselect_all ();
94 public void unselect_uri (string uri);
95 [CCode (type = "GtkWidget*", has_construct_function = false)]
96 public FileSelection.with_model (Hildon.FileSystemModel model);
98 public int active_pane { get; set; }
100 public bool drag_enabled { get; construct; }
102 public string empty_text { owned get; set; }
104 public bool local_only { get; set; }
106 public Hildon.FileSystemModel model { owned get; construct; }
108 public int pane_position { get; set construct; }
110 public void* safe_folder { get; set; }
112 public bool show_hidden { get; set; }
114 public bool show_upnp { get; set construct; }
116 public int visible_columns { get; construct; }
117 public virtual signal void content_pane_context_menu ();
118 public virtual signal void current_folder_changed ();
119 public virtual signal void file_activated ();
120 public virtual signal void location_insensitive (Gtk.TreeIter iter);
121 public virtual signal void navigation_pane_context_menu ();
122 public virtual signal void selection_changed ();
123 public virtual signal void uris_dropped (string destination, void* sources);
126 [CCode (cheader_filename = "hildon/hildon-file-system-info.h")]
127 public class FileSystemInfo {
128 [CCode (has_construct_function = false)]
129 public FileSystemInfo (string uri) throws GLib.Error;
130 public static void async_cancel (Hildon.FileSystemInfoHandle handle);
131 public static unowned Hildon.FileSystemInfoHandle async_new (string uri, Hildon.FileSystemInfoCallback callback);
132 public unowned string get_display_name ();
133 public unowned Gdk.Pixbuf get_icon (Gtk.Widget ref_widget);
134 public unowned Gdk.Pixbuf get_icon_at_size (Gtk.Widget ref_widget, int size);
137 [CCode (cheader_filename = "hildon/hildon-file-system-info.h")]
138 public class FileSystemInfoHandle {
140 [CCode (cheader_filename = "hildon/hildon-file-system-model.h")]
141 public class FileSystemModel : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource {
142 public unowned string autoname_uri (string uri) throws GLib.Error;
143 [CCode (type = "gchar*", has_construct_function = false)]
144 public FileSystemModel.item (Hildon.FileSystemModel model, Gtk.TreeIter parent, string stub_name, string extension);
145 public void iter_available (Gtk.TreeIter iter, bool available);
146 public bool load_local_path (string path, Gtk.TreeIter iter);
147 public bool load_uri (string uri, Gtk.TreeIter iter);
148 public void reset_available ();
149 public bool search_local_path (string path, Gtk.TreeIter iter, Gtk.TreeIter start_iter, bool recursive);
150 public bool search_uri (string uri, Gtk.TreeIter iter, Gtk.TreeIter start_iter, bool recursive);
152 public string backend { owned get; construct; }
154 public void* backend_object { get; construct; }
156 public bool multi_root { get; construct; }
158 public Gtk.Widget ref_widget { owned get; set; }
160 public string root_dir { owned get; construct; }
162 public void* thumbnail_callback { get; set; }
163 public virtual signal void device_disconnected (Gtk.TreeIter iter);
164 public virtual signal void finished_loading (Gtk.TreeIter iter);
166 [CCode (cheader_filename = "hildon/hildon-file-system-storage-dialog.h")]
167 public class FileSystemStorageDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
168 [CCode (type = "GtkWidget*", has_construct_function = false)]
169 public FileSystemStorageDialog (Gtk.Window parent, string uri_str);
170 public static void set_uri (Gtk.Widget widget, string uri_str);
172 [CCode (cprefix = "HILDON_FILE_SELECTION_MODE_", has_type_id = "0", cheader_filename = "hildon/hildon-file-selection.h")]
173 public enum FileSelectionMode {
177 [CCode (cprefix = "HILDON_FILE_SELECTION_PANE_", has_type_id = "0", cheader_filename = "hildon/hildon-file-selection.h")]
178 public enum FileSelectionPane {
182 [CCode (cprefix = "HILDON_FILE_SELECTION_SORT_", has_type_id = "0", cheader_filename = "hildon/hildon-file-selection.h")]
183 public enum FileSelectionSortKey {
189 [CCode (cprefix = "HILDON_FILE_SELECTION_SHOW_", has_type_id = "0", cheader_filename = "hildon/hildon-file-selection.h")]
190 public enum FileSelectionVisibleColumns {
196 [CCode (cprefix = "HILDON_FILE_SYSTEM_MODEL_", has_type_id = "0", cheader_filename = "hildon/hildon-file-system-model.h")]
197 public enum FileSystemModelColumns {
198 COLUMN_GTK_PATH_INTERNAL,
209 COLUMN_HAS_LOCAL_PATH,
212 COLUMN_ICON_EXPANDED,
213 COLUMN_ICON_COLLAPSED,
220 COLUMN_UNAVAILABLE_REASON,
221 COLUMN_FAILED_ACCESS_MESSAGE,
227 [CCode (cprefix = "HILDON_FILE_SYSTEM_MODEL_", has_type_id = "0", cheader_filename = "hildon/hildon-file-system-model.h")]
228 public enum FileSystemModelItemType {
235 SAFE_FOLDER_DOCUMENTS,
241 [CCode (cheader_filename = "hildon/hildon-file-system-info.h")]
242 public delegate void FileSystemInfoCallback (Hildon.FileSystemInfoHandle handle, Hildon.FileSystemInfo info, GLib.Error error);
243 [CCode (cheader_filename = "hildon/hildon-file-system-model.h", has_target = false)]
244 public delegate bool FileSystemModelThumbnailCallback (string uri, string path, string thumbnail_file);