CriaMainWindow

CriaMainWindow —

Synopsis




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);

Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkWindow
                                 +----CriaMainWindow

Implemented Interfaces

CriaMainWindow implements AtkImplementorIface.

Properties


  "presentation"         CriaPresentation     : Read / Write / Construct

Description

Details

struct CriaMainWindow

struct CriaMainWindow;


struct CriaMainWindowClass

struct CriaMainWindowClass {

	GtkWindowClass		  base_class;
};


struct CriaMainWindowPriv

struct CriaMainWindowPriv;


cria_main_window_new ()

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

cria_main_window_get_presentation ()

CriaPresentation* cria_main_window_get_presentation
                                            (CriaMainWindow *self);

self :
Returns :

cria_main_window_set_presentation ()

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

cria_main_window_show_about ()

void        cria_main_window_show_about     (CriaMainWindow *self);

self :

Properties

"presentation" (CriaPresentation : Read / Write / Construct)

This is the presentation that's currently assotiated with this main window.