Panel

../_images/panel-preview.png

Widget description

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.

Layout content parts

  • default - A content of the panel

Enumerations

Panel orientation types

efl.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

Inheritance diagram

Inheritance diagram of Panel

class efl.elementary.Panel(Object parent, *args, **kwargs)

Bases: efl.elementary.__init__.LayoutClass

Changed in version 1.8: Inherits from LayoutClass.

Parameters:
  • parent (efl.evas.Object) – The parent object
  • **kwargs – All the remaining keyword arguments are interpreted as properties of the instance
hidden

The hidden state of the panel.

Type:bool
hidden_get()
hidden_set(hidden)
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.