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...
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 1.8).
This widget emits the following signals, besides the ones sent from Layout:
"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.
Panel scroll information.
- Since
- 1.11
Evas_Object* elm_panel_add |
( |
Evas_Object * |
parent | ) |
|
Adds a panel object.
- Parameters
-
- 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
-
hidden | If 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
-
hidden | If 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
-
orient | The 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
-
orient | The panel orientation. Can be one of the following:
- ELM_PANEL_ORIENT_TOP
- ELM_PANEL_ORIENT_LEFT
- ELM_PANEL_ORIENT_RIGHT
|