Functions
Frame

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

Functions

void elm_frame::collapse_go (bool collapse_) const
 Manually collapse a frame with animations Use this to toggle the collapsed state of a frame, triggering animations. More...
 
bool elm_frame::collapse_get () const
 Determine the collapse state of a frame. More...
 
void elm_frame::collapse_set (bool collapse_) const
 Determine the collapse state of a frame. More...
 
bool elm_frame::autocollapse_get () const
 Determine autocollapsing of a frame. More...
 
void elm_frame::autocollapse_set (bool autocollapse_) const
 Determine autocollapsing of a frame. More...
 
Evas_Object * elm_frame_add (Evas_Object *parent)
 Add a new frame to the parent. More...
 

Detailed Description

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

frame_inheritance_tree.png
preview-00.png

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

Of all this styles only default shows the title.

This widget inherits from the Layout one, so that all the functions acting on it also work for frame objects.

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

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

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

Supported elm_object common APIs.

For a detailed example see the Frame example.

Function Documentation

bool elm_frame::autocollapse_get ( ) const
inline

Determine autocollapsing of a frame.

Returns
Whether autocollapse is enabled

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

Parameters
autocollapseWhether to enable autocollapse
void elm_frame::autocollapse_set ( bool  autocollapse_) const
inline

Determine autocollapsing of a frame.

Returns
Whether autocollapse is enabled

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

Parameters
autocollapseWhether to enable autocollapse
bool elm_frame::collapse_get ( ) const
inline

Determine the collapse state of a frame.

Returns
true if collapsed, false otherwise

Use this to determine the collapse state of a frame.

Parameters
collapsetrue to collapse, false to expand
void elm_frame::collapse_go ( bool  collapse_) const
inline

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

Parameters
collapsetrue to collapse, false to expand
void elm_frame::collapse_set ( bool  collapse_) const
inline

Determine the collapse state of a frame.

Returns
true if collapsed, false otherwise

Use this to determine the collapse state of a frame.

Parameters
collapsetrue to collapse, false to expand
Evas_Object* elm_frame_add ( Evas_Object *  parent)

Add a new frame to the parent.

Parameters
parentThe parent object
Returns
The new object or NULL if it cannot be created