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.
Orientations are as follows:
ELM_PANEL_ORIENT_TOP
ELM_PANEL_ORIENT_LEFT
ELM_PANEL_ORIENT_RIGHT
ELM_PANEL_ORIENT_BOTTOM
This widget inherits from the Layout one, so that all the functions acting on it also work for panel objects (
- Since (EFL) :
- 1.8).
The default content parts of the panel widget that you can use are:
"default"
- Content of the panel.
This widget emits the following signals, besides the ones sent from
"scroll"
- The content has been scrolled (moved).
Enumeration Type Documentation
Enumeration of Elm Panel Orient type.
- Enumerator:
ELM_PANEL_ORIENT_TOP |
Panel (dis)appears from the top
|
ELM_PANEL_ORIENT_BOTTOM |
Panel (dis)appears from the bottom
|
ELM_PANEL_ORIENT_LEFT |
Panel (dis)appears from the left
|
ELM_PANEL_ORIENT_RIGHT |
Panel (dis)appears from the right
|
Function Documentation
Adds a panel object.
- Since :
- 2.3
- Parameters:
-
[in] | parent | The parent object |
- Returns:
- The panel object, otherwise
NULL
on failure
Gets the state of the panel.
- Since :
- 2.3
- Parameters:
-
- Returns:
EINA_TRUE
if it is the hidden state, otherwise EINA_FALSE
Sets the state of the panel.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The panel object |
[in] | hidden | If true the panel runs the animation to disappear, otherwise false |
Gets the orientation of the panel.
- Since :
- 2.3
- Parameters:
-
- Returns:
- The Elm_Panel_Orient, otherwise
ELM_PANEL_ORIENT_LEFT
on failure
Sets the orientation of the panel.
This sets the location from where the panel (dis)appears.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The panel object |
[in] | orient | The panel orientation, can be one of the following:
- ELM_PANEL_ORIENT_TOP
- ELM_PANEL_ORIENT_LEFT
- ELM_PANEL_ORIENT_RIGHT
|
Enables or disables scrolling in the panel.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The panel object |
[in] | scrollable | If EINA_TRUE it is scrollable, otherwise EINA_FALSE |
Toggles the hidden state of the panel from the code.
- Since :
- 2.3
- Parameters:
-