summaryrefslogblamecommitdiff
path: root/src/lib/elementary/elm_fileselector.eo
blob: 177a75a0c290f7746fd5d8a699361b7202f626bb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                                        
                                                                           
                                                                          
 
                                    
                                   
                                   
                                  

                                   
              

                                                                          
 


                                                                             
 
                                               
              

              

                                                                       
 
                                                                
              

                 
                                                                     



               

                        
                             
                                               
                                
                                                         
                                                             
                                                      

                                                             
                                                          
                                                             
                                               
                                                      
                                     




                                                           
                                                   
                        

           




                                                                                                
    
 
class Elm.Fileselector extends Efl.Ui.Layout_Base implements 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_input_event_handler;
      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]]
   }
}