| Meego Panel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
MplEntry; MplEntryClass; MxWidget * mpl_entry_new (const gchar *label); const gchar * mpl_entry_get_label (MplEntry *self); void mpl_entry_set_label (MplEntry *self,const gchar *label); const gchar * mpl_entry_get_text (MplEntry *self); void mpl_entry_set_text (MplEntry *self,const gchar *text); MxWidget * mpl_entry_get_mx_entry (MplEntry *self);
GObject +----GInitiallyUnowned +----ClutterActor +----MxWidget +----MxBin +----MxFrame +----MplEntry
MplEntry implements ClutterScriptable, MxStylable, ClutterContainer and MxFocusable.
typedef struct {
/* Signals. */
void (* button_clicked) (MplEntry *self);
void (* text_changed) (MplEntry *self);
} MplEntryClass;
Class struct for MplEntry.
| signal closure for the "button-clicked" signal | |
| signal closure for the "text-changed" signal |
MxWidget * mpl_entry_new (const gchar *label);
Creates an instance of MplEntry.
|
entry prompt |
Returns : |
MxWidget |
const gchar * mpl_entry_get_label (MplEntry *self);
Retrieves the text of the entry prompt.
|
MplEntry |
Returns : |
pointer to string holding the label; the string is owned by the entry and must not be freed. |
void mpl_entry_set_label (MplEntry *self,const gchar *label);
Sets the text of the entry prompt.
|
MplEntry |
|
text of the entry propmpt |
const gchar * mpl_entry_get_text (MplEntry *self);
Retrieves the text of the entry.
|
MplEntry |
Returns : |
pointer to string holding the text; the string is owned by the entry and must not be freed. |
void mpl_entry_set_text (MplEntry *self,const gchar *text);
Sets the text of the entry.
|
MplEntry |
|
text to set the entry to |
"label" property"label" gchar* : Read / Write / Construct
The label inside the button.
Default value: NULL
"text" property"text" gchar* : Read / Write / Construct
The text inside the entry.
Default value: NULL