CriaMainWindow

CriaMainWindow —

Synopsis




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

Object Hierarchy


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

Implemented Interfaces

CriaMainWindow implements AtkImplementorIface.

Properties


  "presentation"         CriaPresentation      : Read / Write / Construct

Description

Details

CriaMainWindow

typedef struct _CriaMainWindow CriaMainWindow;


CriaMainWindowClass

typedef struct {
	GtkWindowClass		  base_class;
} CriaMainWindowClass;


CriaMainWindowPriv

typedef struct _CriaMainWindowPriv 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 must not be NULL.

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 :

Property Details

The "presentation" property

  "presentation"         CriaPresentation      : Read / Write / Construct

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