kpmainwindow

kpmainwindow —

Synopsis




#define     KP_CONF_HTML_OUTPUT_DIR
#define     KP_CONF_ACTIVE_VIEW_TYPE
#define     KP_CONF_ACTIVE_TIME_PERIOD
#define     KP_CONF_SHOW_SIDEBAR
#define     KP_CONF_SHOW_STATUSBAR
#define     KP_CONF_SHOW_TOOLBAR
GtkWidget*  kp_main_window_new              (void);
void        kp_main_window_set_log_file     (KPMainWindow *window,
                                             const gchar *file);
void        kp_main_window_init_log         (KPMainWindow *window,
                                             const gchar *filename);
void        kp_main_window_add_to_import_menu
                                            (GtkMenuItem *item);
GtkWidget*  kp_main_window_add_to_export_menu
                                            (GtkMenuItem *item);
GtkWidget*  kp_main_window_add_to_menubar   (GtkWidget *menu);
void        kp_main_window_set_toolbar_visible
                                            (gboolean visible);
void        kp_main_window_set_sidebar_visible
                                            (gboolean visible);
void        kp_main_window_set_statusbar_visible
                                            (gboolean visible);
KPTrainingLog* kp_main_window_get_log       (void);
KPStatusbar* kp_main_window_get_statusbar   (void);
KPMainWindow* kp_main_window_get_window     (void);
KPView*     kp_main_window_get_view         (void);

Description

Details

KP_CONF_HTML_OUTPUT_DIR

#define KP_CONF_HTML_OUTPUT_DIR     "/apps/kipina/preferences/html_output_dir"


KP_CONF_ACTIVE_VIEW_TYPE

#define KP_CONF_ACTIVE_VIEW_TYPE    "/apps/kipina/preferences/active_view_type"


KP_CONF_ACTIVE_TIME_PERIOD

#define KP_CONF_ACTIVE_TIME_PERIOD  "/apps/kipina/preferences/active_time_period"


KP_CONF_SHOW_SIDEBAR

#define KP_CONF_SHOW_SIDEBAR        "/apps/kipina/preferences/show_sidebar"


KP_CONF_SHOW_STATUSBAR

#define KP_CONF_SHOW_STATUSBAR      "/apps/kipina/preferences/show_statusbar"


KP_CONF_SHOW_TOOLBAR

#define KP_CONF_SHOW_TOOLBAR        "/apps/kipina/preferences/show_toolbar"


kp_main_window_new ()

GtkWidget*  kp_main_window_new              (void);

Just create a new kipinämain window.

Returns : New KPMainWindow widget

kp_main_window_set_log_file ()

void        kp_main_window_set_log_file     (KPMainWindow *window,
                                             const gchar *file);

window :
file :

kp_main_window_init_log ()

void        kp_main_window_init_log         (KPMainWindow *window,
                                             const gchar *filename);

window :
filename :

kp_main_window_add_to_import_menu ()

void        kp_main_window_add_to_import_menu
                                            (GtkMenuItem *item);

item :

kp_main_window_add_to_export_menu ()

GtkWidget*  kp_main_window_add_to_export_menu
                                            (GtkMenuItem *item);

item :
Returns :

kp_main_window_add_to_menubar ()

GtkWidget*  kp_main_window_add_to_menubar   (GtkWidget *menu);

menu :
Returns :

kp_main_window_set_toolbar_visible ()

void        kp_main_window_set_toolbar_visible
                                            (gboolean visible);

visible :

kp_main_window_set_sidebar_visible ()

void        kp_main_window_set_sidebar_visible
                                            (gboolean visible);

visible :

kp_main_window_set_statusbar_visible ()

void        kp_main_window_set_statusbar_visible
                                            (gboolean visible);

visible :

kp_main_window_get_log ()

KPTrainingLog* kp_main_window_get_log       (void);

Returns :

kp_main_window_get_statusbar ()

KPStatusbar* kp_main_window_get_statusbar   (void);

Returns :

kp_main_window_get_window ()

KPMainWindow* kp_main_window_get_window     (void);

Returns :

kp_main_window_get_view ()

KPView*     kp_main_window_get_view         (void);

Returns :