![]() |
![]() |
![]() |
Mx Toolkit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
struct MxDialog; struct MxDialogClass; ClutterActor * mx_dialog_new (void
); void mx_dialog_set_transient_parent (MxDialog *dialog
,ClutterActor *actor
); void mx_dialog_add_action (MxDialog *dialog
,MxAction *action
); void mx_dialog_remove_action (MxDialog *dialog
,MxAction *action
); GList * mx_dialog_get_actions (MxDialog *dialog
);
GObject +----GInitiallyUnowned +----ClutterActor +----MxWidget +----MxBin +----MxDialog
MxDialog implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface, MxStylable and MxFocusable.
MxDialog is a single-widget container. When presented, it performs a suitable transition animation and blocks input to the actors beneath it until it is hidden again.
It also allows actions to be added to it, which will be represented as buttons, using MxButton.
struct MxDialog;
The contents of this structure is private and should only be accessed using the provided API.
ClutterActor * mx_dialog_new (void
);
Creates a new MxDialog.
Returns : |
A newly allocated MxDialog |
Since 1.2
void mx_dialog_set_transient_parent (MxDialog *dialog
,ClutterActor *actor
);
Sets the parent of the MxDialog. This is the actor over which the
modal frame will appear when clutter_actor_show()
is called.
|
A MxDialog |
|
A ClutterActor |
Since 1.2
void mx_dialog_add_action (MxDialog *dialog
,MxAction *action
);
Adds an MxButton that represents action
to the button area of dialog
Since 1.2
void mx_dialog_remove_action (MxDialog *dialog
,MxAction *action
);
Removes the button associated with action
from the button area of dialog
Since 1.2