MxPopup

MxPopup — a popup actor representing a list of user actions

Synopsis

                    MxPopup;
ClutterActor *      mx_popup_new                        (void);
void                mx_popup_add_action                 (MxPopup *popup,
                                                         MxAction *action);
void                mx_popup_remove_action              (MxPopup *popup,
                                                         MxAction *action);
void                mx_popup_clear                      (MxPopup *popup);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----MxWidget
                     +----MxFloatingWidget
                           +----MxPopup

Implemented Interfaces

MxPopup implements ClutterScriptable and MxStylable.

Signals

  "action-activated"                               : Run Last

Description

MxPopup displays a list of user actions, defined by a list of MxActions. The popup list will appear above all other actors.

Details

MxPopup

typedef struct _MxPopup MxPopup;

The contents of this structure are private and should only be accessed through the public API.


mx_popup_new ()

ClutterActor *      mx_popup_new                        (void);

Create a new MxPopup

Returns :

a newly allocated MxPopup

mx_popup_add_action ()

void                mx_popup_add_action                 (MxPopup *popup,
                                                         MxAction *action);

Append action to popup.

popup :

A MxPopup

action :

A MxAction

mx_popup_remove_action ()

void                mx_popup_remove_action              (MxPopup *popup,
                                                         MxAction *action);

Remove action from popup.

popup :

A MxPopup

action :

A MxAction

mx_popup_clear ()

void                mx_popup_clear                      (MxPopup *popup);

Remove all the actions from popup.

popup :

A MxPopup

Signal Details

The "action-activated" signal

void                user_function                      (MxPopup  *mxpopup,
                                                        MxAction *arg1,
                                                        gpointer  user_data)      : Run Last

mxpopup :

the object which received the signal.

arg1 :

user_data :

user data set when the signal handler was connected.