Table Of Contents

Previous topic

Object Item

Next topic

Panes

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.

Emitted signals

  • focused - When the panel has received focus. (since 1.8)
  • unfocused - When the panel has lost focus. (since 1.8)

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

class efl.elementary.Panel

Bases: efl.elementary.__init__.LayoutClass

This is the class that actually implements the widget.

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
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)
hidden None

The hidden state of the panel.

Type:bool
hidden_get()
hidden_set(hidden)
orient None

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 None

The scrollability of the panel.

Type:bool

New in version 1.12.

scrollable_content_size None

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.