Table Of Contents

Previous topic

object_item Module

Next topic

panes Module

panel Module

../_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.

Orientations are as follows:

  • ELM_PANEL_ORIENT_TOP
  • ELM_PANEL_ORIENT_LEFT
  • ELM_PANEL_ORIENT_RIGHT
  • ELM_PANEL_ORIENT_BOTTOM

This widget emits the following signals, besides the ones sent from LayoutClass: - 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 for are:

  • “default” - A content of the panel

Enumerations

Panel orientation types

efl.elementary.panel.ELM_PANEL_ORIENT_TOP

Panel (dis)appears from the top

efl.elementary.panel.ELM_PANEL_ORIENT_BOTTOM

Panel (dis)appears from the bottom

efl.elementary.panel.ELM_PANEL_ORIENT_LEFT

Panel (dis)appears from the left

efl.elementary.panel.ELM_PANEL_ORIENT_RIGHT

Panel (dis)appears from the right

class efl.elementary.panel.Panel

Bases: efl.elementary.layout_class.LayoutClass

This is the class that actually implements the widget.

Changed in version 1.8: Inherits from LayoutClass.

callback_focused_add()

When the panel has received focus.

New in version 1.8.

callback_unfocused_add()

When the panel has lost focus.

New in version 1.8.

hidden

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
toggle()

Toggle the hidden state of the panel from code.