| Meego Panel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
MplContentPane; MplContentPaneClass; ClutterActor * mpl_content_pane_new (char const *title); char const * mpl_content_pane_get_title (MplContentPane *self); void mpl_content_pane_set_title (MplContentPane *self,char const *title); ClutterActor * mpl_content_pane_get_header_actor (MplContentPane *self); void mpl_content_pane_set_header_actor (MplContentPane *self,ClutterActor *actor); ClutterActor * mpl_content_pane_get_child (MplContentPane *self); void mpl_content_pane_set_child (MplContentPane *self,ClutterActor *child);
GObject +----GInitiallyUnowned +----ClutterActor +----MxWidget +----MxBoxLayout +----MplContentPane
MplContentPane implements ClutterScriptable, MxStylable, ClutterContainer, MxScrollable and MxFocusable.
"child" ClutterActor* : Read / Write "header-actor" ClutterActor* : Read / Write "title" gchar* : Read / Write
MplContentPane provides a styled content pane widget, which consists of a header with a title, an optional header actor packed at the right edge of the header, and a content area.
typedef struct _MplContentPane MplContentPane;
A styled widget implementing a content pane with a header.
ClutterActor * mpl_content_pane_new (char const *title);
Constructs a new MplContentPane with the given title.
|
the panel title |
Returns : |
ClutterActor |
char const * mpl_content_pane_get_title (MplContentPane *self);
Returns the current title of the pane.
|
MplContentPane |
Returns : |
pane title |
void mpl_content_pane_set_title (MplContentPane *self,char const *title);
Sets the title of the pane to the given string.
|
MplContentPane |
|
title |
ClutterActor * mpl_content_pane_get_header_actor (MplContentPane *self);
Returns the pane header actor, if set or NULL.
|
MplContentPane |
Returns : |
ClutterActor |
void mpl_content_pane_set_header_actor (MplContentPane *self,ClutterActor *actor);
Sets the pane header actor. The header actor is an optional actor inserted into the header and packed from its right edge. It can be used, for example, to add a close button to the pane.
|
MplContentPane |
|
ClutterActor or NULL
|
ClutterActor * mpl_content_pane_get_child (MplContentPane *self);
Returns the content child of the pane.
|
MplContentPane |
Returns : |
ClutterActor |
void mpl_content_pane_set_child (MplContentPane *self,ClutterActor *child);
Sets the content child of the pane to the provided actor.
|
MplContentPane |
|
ClutterActor |