Frame

../_images/frame-preview.png

Widget description

Frame is a widget that holds some content and has a title.

Available styles

  • default
  • pad_small
  • pad_medium
  • pad_large
  • pad_huge
  • outdent_top
  • outdent_bottom

Out of all these styles only default shows the title.

Emitted signals

  • clicked - The user has clicked the frame’s label

Layout content parts

  • default - A content of the frame

Layout text parts

  • default - Label of the frame

Inheritance diagram

Inheritance diagram of Frame

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

Bases: efl.elementary.__init__.LayoutClass

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

Autocollapsing of a frame

When this is True, clicking a frame’s label will collapse the frame vertically, shrinking it to the height of the label. By default, this is DISABLED.

Type:bool
autocollapse_get()
autocollapse_set(autocollapse)
callback_clicked_add(func, *args, **kwargs)

The user has clicked the frame’s label.

callback_clicked_del(func)
collapse

The collapse state of a frame, bypassing animations

Type:bool
collapse_get()
collapse_go(collapse)

Manually collapse a frame with animations

Use this to toggle the collapsed state of a frame, triggering animations.

Parameters:collapse (bool) – True to collapse, False to expand
collapse_set(autocollapse)