Data Structures | Typedefs | Functions
Panel

A panel is an animated side-panel that contains a sub-object. It can be expanded or contracted by clicking the button on its edge. More...

Data Structures

struct  _Elm_Panel_Scroll_Info
 Panel scroll information. More...
 

Typedefs

typedef struct _Elm_Panel_Scroll_Info Elm_Panel_Scroll_Info
 Panel scroll information. More...
 

Functions

void elm_panel::toggle () const
 Toggle the hidden state of the panel from code.
 
Elm_Panel_Orient elm_panel::orient_get () const
 Get the orientation of the panel. More...
 
void elm_panel::orient_set (Elm_Panel_Orient orient_) const
 Get the orientation of the panel. More...
 
bool elm_panel::hidden_get () const
 Get the state of the panel. More...
 
void elm_panel::hidden_set (bool hidden_) const
 Get the state of the panel. More...
 
Evas_Object * elm_panel_add (Evas_Object *parent)
 Adds a panel object. More...
 

Detailed Description

A panel is an animated side-panel that contains a sub-object. It can be expanded or contracted by clicking the button on its edge.

panel_inheritance_tree.png
preview-00.png

Orientations are as follows:

This widget inherits from the Layout one, so that all the functions acting on it also work for panel objects (since 1.8).

This widget emits the following signals, besides the ones sent from Layout:

Default content parts of the panel widget that you can use are:

Panel example shows one way to use this widget.

Typedef Documentation

Panel scroll information.

Since
1.11

Function Documentation

Evas_Object* elm_panel_add ( Evas_Object *  parent)

Adds a panel object.

Parameters
parentThe parent object
Returns
The panel object, or NULL on failure
bool elm_panel::hidden_get ( ) const
inline

Get the state of the panel.

Returns
EINA_TRUE if it is hidden state
Parameters
hiddenIf true, the panel will run the animation to disappear.
void elm_panel::hidden_set ( bool  hidden_) const
inline

Get the state of the panel.

Returns
EINA_TRUE if it is hidden state
Parameters
hiddenIf true, the panel will run the animation to disappear.
Elm_Panel_Orient elm_panel::orient_get ( ) const
inline

Get the orientation of the panel.

Returns
The Elm_Panel_Orient, or ELM_PANEL_ORIENT_LEFT on failure.
Parameters
orientThe panel orientation. Can be one of the following:
  • ELM_PANEL_ORIENT_TOP
  • ELM_PANEL_ORIENT_LEFT
  • ELM_PANEL_ORIENT_RIGHT
void elm_panel::orient_set ( Elm_Panel_Orient  orient_) const
inline

Get the orientation of the panel.

Returns
The Elm_Panel_Orient, or ELM_PANEL_ORIENT_LEFT on failure.
Parameters
orientThe panel orientation. Can be one of the following:
  • ELM_PANEL_ORIENT_TOP
  • ELM_PANEL_ORIENT_LEFT
  • ELM_PANEL_ORIENT_RIGHT