![]() | ![]() | ![]() | Criawips Reference Manual | ![]() |
---|
CriaMainWindow —
struct CriaMainWindow; struct CriaMainWindowClass; struct 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 +----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 can be NULL to create a window without a presentation.
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" (CriaPresentation : Read / Write / Construct) | This is the presentation that's currently assotiated with this main window. |
<< image-pool | CriaIPresentationView >> |