![]() |
![]() |
![]() |
Criawips Reference Manual | ![]() |
---|---|---|---|---|
CriaMainWindow; CriaMainWindowClass; CriaMainWindowPriv; GtkWidget* cria_main_window_new (const gchar *filename); CriaPresentation* cria_main_window_get_presentation (CriaMainWindow *self); void cria_main_window_set_presentation (CriaMainWindow *self, CriaPresentation *presentation); void cria_main_window_show_about (CriaMainWindow *self);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----CriaMainWindow
GtkWidget* cria_main_window_new (const gchar *filename);
Creates a new main window displaying the presentation that filename
points to. It automatically registers the window for the application
to make it managed by the application. filename
must not be NULL.
filename : |
filename of the new window |
Returns : | a new main window |
CriaPresentation* cria_main_window_get_presentation (CriaMainWindow *self);
self : |
|
Returns : |
void cria_main_window_set_presentation (CriaMainWindow *self, CriaPresentation *presentation);
Specify the presentation to be displayed and edited within this window.
self : |
... |
presentation : |
The presentation to connect to this window. Must not be NULL |
presentation
" property"presentation" CriaPresentation : Read / Write / Construct
This is the presentation that's currently assotiated with this main window.