aboutsummaryrefslogblamecommitdiffstats
path: root/src/lib/elementary/elm_hover.eo
blob: df440d2ae7a8c474ea8e9de77cf11e414d27e9b4 (plain) (tree)
1
2
3
4
5
6
7
8
9

                   
                                                





                                                             
                                                                                 
 
                            
                            
                           

                        
              
                                                   
 


                                                                      

              
                                                    

                 
                                                       

          
                                        
                                                                      
 

                                                                          
 


                                                                             
 





                                                                            
 

                                                      
                        
                 

                                                                           


               
                                   


               
                        
                          





                                     

                                
                               


                                            

                                     
                                                        
                    

           

                    


    
enum Elm.Hover.Axis
{
   [[The orientation axis for the hover object]]
   none, [[ELM_HOVER_AXIS_NONE -- no preferred orientation.]]
   horizontal, [[ELM_HOVER_AXIS_HORIZONTAL -- horizontal.]]
   vertical, [[ELM_HOVER_AXIS_VERTICAL -- vertical.]]
   both [[ELM_HOVER_AXIS_BOTH -- both.]]
}

class Elm.Hover (Elm.Layout, Efl.Ui.Clickable, Elm.Interface.Atspi_Widget_Action)
{
   legacy_prefix: elm_hover;
   eo_prefix: elm_obj_hover;
   event_prefix: elm_hover;
   methods {
      @property target {
         set {
            [[Sets the target object for the hover.

              This function will cause the hover to be centered on the
              target object.
            ]]
         }
         get {
            [[Get the target object for the hover.]]
         }
         values {
            target: Evas.Object; [[The target object.]]
         }
      }
      best_content_location_get @const {
         [[Returns the best swallow location for content in the hover.

           Best is defined here as the location at which there is the most
           available space.

           $pref_axis may be either #ELM_HOVER_AXIS_NONE (for no preferred
           orientation), #ELM_HOVER_AXIS_HORIZONTAL, #ELM_HOVER_AXIS_VERTICAL
           or #ELM_HOVER_AXIS_BOTH.

           If #ELM_HOVER_AXIS_HORIZONTAL is chosen the returned position
           will necessarily be along the horizontal axis("left" or "right").
           If #ELM_HOVER_AXIS_VERTICAL is chosen the returned position will
           necessarily be along the vertical axis("top" or "bottom").
           Choosing #ELM_HOVER_AXIS_BOTH or #ELM_HOVER_AXIS_NONE has the
           same effect and the returned position may be in either axis.

           See also \@ref elm_object_part_content_set.
         ]]
         return: string;
         params {
            @in pref_axis: Elm.Hover.Axis; [[The preferred orientation axis
                                             for the hover object to use]]
         }
      }
      dismiss {
         [[Dismiss a hover object]]
      }
   }
   implements {
      class.constructor;
      Eo.Base.constructor;
      Evas.Object.Smart.smart_del;
      Evas.Object.Smart.smart_hide;
      Evas.Object.Smart.smart_show;
      Evas.Object.Smart.smart_move;
      Evas.Object.Smart.smart_add;
      Evas.Object.Smart.smart_resize;
      Elm.Widget.theme_apply;
      Elm.Widget.sub_object_add;
      Elm.Widget.widget_parent;
      Elm.Widget.focus_direction_manager_is;
      Elm.Widget.focus_next_manager_is;
      Elm.Widget.sub_object_del;
      Elm.Layout.sizing_eval;
      Elm.Layout.content_aliases.get;
      Elm.Interface.Atspi_Widget_Action.elm_actions.get;
      Efl.Part.part;
   }
   events {
      smart,changed;
      dismissed;
   }

}