Top | ![]() |
![]() |
![]() |
![]() |
MxApplication * | mx_application_new () |
MxWindow * | mx_application_create_window () |
void | mx_application_add_window () |
void | mx_application_remove_window () |
const GList * | mx_application_get_windows () |
MxApplication * mx_application_new (const gchar *application_id
,GApplicationFlags flags
);
Intialises everything needed to operate Clutter and use MxApplication.
See clutter_init()
.
MxWindow * mx_application_create_window (MxApplication *application
,const gchar *window_title
);
Creates a new MxWindow and adds it to MxApplication. The application must be registered before this function is run.
void mx_application_add_window (MxApplication *application
,MxWindow *window
);
Adds a window to the list of windows associated with application
. If this
is the first window, it will be treated as the primary window and used for
startup notification.
This function does not take a reference on window
.
application |
The MxApplication |
|
window |
The MxWindow to add to the application. |
[transfer full] |
void mx_application_remove_window (MxApplication *application
,MxWindow *window
);
Remove the specified window from the application. This will cause the window to be unreferenced and destroyed unless another reference is held on it.
const GList *
mx_application_get_windows (MxApplication *application
);
Retrieves all windows added to application
.
a list
of MxWindows. The returned list is owned by
application
and must not be altered.
[element-type MxWindow][transfer none]