aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_fileselector.eo
blob: ffadc1239004dceab6b460997696df1e4bc3c70d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
class Elm.Fileselector (Efl.Ui.Layout, Elm.Interface.Fileselector,
                        Efl.Access.Widget.Action, Efl.Ui.Focus.Composition,
                        Efl.Ui.Clickable, Efl.Ui.Selectable, Efl.Ui.Legacy)
{
   [[Elementary fileselector class]]
   legacy_prefix: elm_fileselector;
   eo_prefix: elm_obj_fileselector;
   event_prefix: elm_fileselector;
   methods {
      @property buttons_ok_cancel {
         set {
            [[Enable/disable the "ok" and "cancel" buttons on a given file
              selector widget

              Note: A file selector without those buttons will never emit the
              "done" smart event, and is only usable if one is just hooking
              to the other two events.

              See also @.buttons_ok_cancel.get.
            ]]
         }
         get {
            [[Get whether the "ok" and "cancel" buttons on a given file
              selector widget are being shown.

              See also @.buttons_ok_cancel.set for more details.
            ]]
         }
         values {
            visible: bool; [[$true to show buttons, $false to hide.]]
         }
      }
   }
   implements {
      class.constructor;
      class.destructor;
      Efl.Object.constructor;
      Efl.Ui.Widget.widget_event;
      Efl.Ui.Widget.theme_apply;
      Elm.Interface.Fileselector.selected_models { get; }
      Elm.Interface.Fileselector.selected_model { get; set; }
      Elm.Interface.Fileselector.custom_filter_append;
      Elm.Interface.Fileselector.expandable { get; set; }
      Elm.Interface.Fileselector.thumbnail_size { get; set; }
      Elm.Interface.Fileselector.mime_types_filter_append;
      Elm.Interface.Fileselector.hidden_visible { get; set; }
      Elm.Interface.Fileselector.filters_clear;
      Elm.Interface.Fileselector.is_save { get; set; }
      Efl.Ui.View.model { get; set; }
      Elm.Interface.Fileselector.sort_method { get; set; }
      Elm.Interface.Fileselector.multi_select { get; set; }
      Elm.Interface.Fileselector.folder_only { get; set; }
      Elm.Interface.Fileselector.mode { get; set; }
      Elm.Interface.Fileselector.current_name { get; set; }
      Efl.Access.Widget.Action.elm_actions { get; }
      Efl.Part.part_get;
   }
   events {
      done: string; [[Called when OK button was pressed]]
      /* FIXME: For all three events below, event_info can either be a string or an Efl.Model */
      activated: void; [[Called when the filesector was activated]]
      selected,invalid: void; [[Called when fileselector was selected]]
      directory,open: void; [[Called when a directory was opened]]
   }
}