summaryrefslogblamecommitdiff
path: root/src/lib/elementary/efl_ui_popup.eo
blob: 48407fff7e44f072dedf09c3aa9312d6e335a4c3 (plain) (tree)
1
2
3
4
5
6
7
8
9








                         

                                 
            










                                                 












                                                                          
    


                                                                   
               

                             
                               
                              


                                         
                    
    
           
                                                                                       
                                                       
    
 
enum Efl.Ui.Popup.Align {
    none = 0,
    center,
    left,
    right,
    top,
    bottom
}

class Efl.Ui.Popup(Efl.Ui.Layout)
{
   methods {
      @property align {
         set {
            [[ Set the popup alignment.]]
         }
         get {
            [[ Get the current popup alignment.]]
         }
         values {
             type: Efl.Ui.Popup.Align;
         }
      }
      @property timeout {
         set {
            [[ Set the timeout seconds.
               After timeout seconds, popup will be deleted automatically.
            ]]
         }
         get {
            [[ Get the currently set timeout seconds.]]
         }
         values {
             time: double;
         }
      }
   }
   parts {
      backwall: Efl.Ui.Popup.Part; [[A backwall behind the popup.]]
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
      Efl.Gfx.position { set; }
      Efl.Gfx.visible { set; }
      Elm.Widget.widget_parent { set; }
      Efl.Container.content { get; set; }
      Efl.Container.content_unset;
      Efl.Part.part;
   }
   events {
      backwall,clicked; [[This is called whenever the user clicks back wall of popup.]]
      timeout; [[This is called when popup times out.]]
   }
}