Table Of Contents

Previous topic

flipselector Module

Next topic

general Module

frame Module

../_images/frame-preview.png

Widget description

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

The default look is a frame with a title, but Frame supports multiple styles:

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

Of all this styles only default shows the title.

This widget emits the following signals, besides the ones sent from LayoutClass:

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

Default content parts of the frame widget that you can use for are:

  • “default” - A content of the frame

Default text parts of the frame widget that you can use for are:

  • “default” - Label of the frame
class efl.elementary.frame.Frame

Bases: efl.elementary.layout_class.LayoutClass

This is the class that actually implements the widget.

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

The user has clicked the frame’s label.

collapse

The collapse state of a frame, bypassing animations

Type :bool
collapse_go(bool 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