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.
toggled - Emitted when the panel has been toggled. (since 1.19)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_toggled_add(func, *args, **kwargs)¶The panel has been toggled.
New in version 1.19.
callback_toggled_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.
Changed in version 1.19: Property is now also readable
scrollable_content_size_get()¶scrollable_content_size_set(ratio)¶scrollable_get()¶scrollable_set(scrollable)¶toggle()¶Toggle the hidden state of the panel from code.