MxModalFrame

MxModalFrame — a modal, single-widget container

Synopsis

                    MxModalFrame;
ClutterActor *      mx_modal_frame_new                  (void);
void                mx_modal_frame_set_transient_parent (MxModalFrame *modal_frame,
                                                         ClutterActor *actor);
void                mx_modal_frame_show                 (MxModalFrame *modal_frame);
void                mx_modal_frame_hide                 (MxModalFrame *modal_frame);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----MxWidget
                     +----MxBin
                           +----MxModalFrame

Implemented Interfaces

MxModalFrame implements ClutterScriptable, ClutterAnimatable, AtkImplementorIface, MxStylable, ClutterContainer and MxFocusable.

Description

MxModalFrame 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.

Details

MxModalFrame

typedef struct _MxModalFrame MxModalFrame;

The contents of this structure is private and should only be accessed using the provided API.


mx_modal_frame_new ()

ClutterActor *      mx_modal_frame_new                  (void);

Creates a new MxModalFrame.

Returns :

A newly allocated MxModalFrame

mx_modal_frame_set_transient_parent ()

void                mx_modal_frame_set_transient_parent (MxModalFrame *modal_frame,
                                                         ClutterActor *actor);

Sets the parent of the MxModalFrame. This is the actor over which the modal frame will appear when mx_modal_frame_show() is called.

modal_frame :

A MxModalFrame

actor :

A ClutterActor

mx_modal_frame_show ()

void                mx_modal_frame_show                 (MxModalFrame *modal_frame);

Shows the MxModalFrame. When the frame is visible, it will block input to its parent.

modal_frame :

A MxModalFrame

mx_modal_frame_hide ()

void                mx_modal_frame_hide                 (MxModalFrame *modal_frame);

Hides the MxModalFrame.

modal_frame :

A MxModalFrame