CodeSlayerWindow

CodeSlayerWindow — Contains the pages.

Synopsis

#include <codeslayer/codeslayer-window.h>

#define             CODESLAYER_MAIN_TITLE
struct              CodeSlayerWindow;
GtkWidget *         codeslayer_window_new               (GtkApplication *application,
                                                         gchar *profile_name);
void                codeslayer_window_open_document     (CodeSlayerWindow *window,
                                                         gchar *file_path);
CodeSlayerProfile * codeslayer_window_get_profile       (CodeSlayerWindow *window);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkWindow
                                 +----CodeSlayerWindow

Implemented Interfaces

CodeSlayerWindow implements AtkImplementorIface and GtkBuildable.

Description

A window which contains pages of documents to edit.

Details

CODESLAYER_MAIN_TITLE

#define CODESLAYER_MAIN_TITLE "CodeSlayer"

struct CodeSlayerWindow

struct CodeSlayerWindow;

codeslayer_window_new ()

GtkWidget *         codeslayer_window_new               (GtkApplication *application,
                                                         gchar *profile_name);

Creates a new CodeSlayerWindow.

application :

a GtkApplication.

profile_name :

the name of the Profile to load.

Returns :

a new CodeSlayerWindow.

codeslayer_window_open_document ()

void                codeslayer_window_open_document     (CodeSlayerWindow *window,
                                                         gchar *file_path);

codeslayer_window_get_profile ()

CodeSlayerProfile * codeslayer_window_get_profile       (CodeSlayerWindow *window);