A panel is a type of animated container that contains subobjects.
It can be expanded or contracted by clicking the button on it’s edge.
focused
- When the panel has received focus. (since 1.8)unfocused
- When the panel has lost focus. (since 1.8)default
- A content of the panelefl.elementary.
ELM_PANEL_ORIENT_TOP
¶Panel (dis)appears from the top
efl.elementary.
ELM_PANEL_ORIENT_BOTTOM
¶Panel (dis)appears from the bottom
efl.elementary.
ELM_PANEL_ORIENT_LEFT
¶Panel (dis)appears from the left
efl.elementary.
ELM_PANEL_ORIENT_RIGHT
¶Panel (dis)appears from the right
efl.elementary.
Panel
(Object parent, *args, **kwargs)¶Bases: efl.elementary.__init__.LayoutClass
Changed in version 1.8: Inherits from LayoutClass.
Parameters: |
|
---|
callback_focused_add
(func, *args, **kwargs)¶When the panel has received focus.
New in version 1.8.
callback_focused_del
(func)¶callback_unfocused_add
(func, *args, **kwargs)¶When the panel has lost focus.
New in version 1.8.
callback_unfocused_del
(func)¶The hidden state of the panel.
Type: | bool |
---|
orient
¶The orientation of the panel.
Tells from where the panel will (dis)appear.
This has value ELM_PANEL_ORIENT_LEFT on failure
Type: | Panel orientation types |
---|
orient_get
()¶orient_set
(orient)¶scrollable
¶The scrollability of the panel.
Type: | bool |
---|
New in version 1.12.
scrollable_content_size
¶The size of the scrollable panel.
Type: | double |
---|
New in version 1.12.
scrollable_content_size_set
(ratio)¶scrollable_get
()¶scrollable_set
(scrollable)¶toggle
()¶Toggle the hidden state of the panel from code.