Panel

- Main Page
- Related Pages
- Data Structures
- Files
- Examples

Data Structures | Typedefs | Functions
Panel

A panel is an animated side-panel that contains a sub-object. It can be expanded or contracted by clicking the button on its edge. More...

## Data Structures
struct | _Elm_Panel_Scroll_Info
| Panel scroll information. More...

## Typedefs
typedef struct _Elm_Panel_Scroll_Info | Elm_Panel_Scroll_Info
| Panel scroll information. More...

## Functions
Evas_Object * | elm_panel_add (Evas_Object *parent)
| Adds a panel object. More...

## Detailed Description

A panel is an animated side-panel that contains a sub-object. It can be expanded or contracted by clicking the button on its edge.

Orientations are as follows:

- #ELM_PANEL_ORIENT_TOP
- #ELM_PANEL_ORIENT_LEFT
- #ELM_PANEL_ORIENT_RIGHT
- #ELM_PANEL_ORIENT_BOTTOM

This widget inherits from the Layout one, so that all the functions acting on it also work for panel objects (since 1.8).

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

- `"scroll"` : When the content has been scrolled (moved). (since 1.10) This signal is emitted only when the panel is scrollable. Elm_Panel_Scroll_Info will be passed by `event_info` argument.
- `"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 are:

- `"default"` - A content of the panel

Panel example shows one way to use this widget.

## Typedef Documentation

typedef struct _Elm_Panel_Scroll_Info Elm_Panel_Scroll_Info

Panel scroll information.

Since
  1.11

## Function Documentation

Evas_Object* elm_panel_add | ( | Evas_Object * | parent | ) |

Adds a panel object.

Parameters

  parent | The parent object

Returns
  The panel object, or NULL on failure