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:
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 Elm_Layout:
"toggled"
: When the panel has been toggled. (since 1.18)
"scroll"
: When the content has been scrolled (moved). (since 1.10) This signal is emitted only when the panel is scrollable. Elm_Panel_Scroll_Info will be passed by event_info
argument.
"focused"
: When the panel has received focus. (since 1.8)
"unfocused"
: When the panel has lost focus. (since 1.8)
Default content parts of the panel widget that you can use are:
"default"
- A content of the panel
Panel example shows one way to use this widget.
Typedef Documentation
Panel scroll information
- Since (EFL) :
- 1.11
Enumeration Type Documentation
Panel orientation mode
- 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.
- Parameters:
-
- Returns:
- The panel object, or NULL on failure
- Since :
- 2.3
Get the state of the panel.
- Since :
- 2.3
- Parameters:
-
- Returns:
- If true, the panel will run the animation to disappear.
Set the state of the panel.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The object. |
[in] | hidden | If true, the panel will run the animation to disappear. |
Get the orientation of the panel.
- Since :
- 2.3
- Parameters:
-
- Returns:
- The panel orientation.
Set the orientation of the panel.
Set from where the panel will (dis)appear.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The object. |
[in] | orient | The panel orientation. |
Get the size of the scrollable panel.
- Since (EFL) :
- 1.19
Set the size of the scrollable panel.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The object. |
[in] | ratio | |
Get the state of the scrollability.
- Since :
- 3.0
- Parameters:
-
- Returns:
- The scrollable state.
- Since (EFL) :
- 1.12
Set the scrollability of the panel.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The object. |
[in] | scrollable | The scrollable state. |
Toggle the hidden state of the panel from code.
- Since :
- 2.3
- Parameters:
-