GebrGuiHtmlViewerWindow

GebrGuiHtmlViewerWindow

Synopsis

#define             GEBR_GUI_HTML_VIEWER_WINDOW_MENU_BAR
struct              GebrGuiHtmlViewerWindow;
struct              GebrGuiHtmlViewerWindowClass;
GtkWidget *         gebr_gui_html_viewer_window_new     ();
void                gebr_gui_html_viewer_window_show_html
                                                        (GebrGuiHtmlViewerWindow *self,
                                                         const gchar *content);
GebrGuiHtmlViewerWidget *  gebr_gui_html_viewer_window_get_widget
                                                        (GebrGuiHtmlViewerWindow *self);
void                gebr_gui_html_viewer_window_set_custom_tab
                                                        (GebrGuiHtmlViewerWindow *self,
                                                         const gchar *label,
                                                         GebrGuiHtmlViewerCustomTab callback);
GtkUIManager *      gebr_gui_html_viewer_window_get_ui_manager
                                                        (GebrGuiHtmlViewerWindow *self);

Object Hierarchy

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

Implemented Interfaces

GebrGuiHtmlViewerWindow implements AtkImplementorIface and GtkBuildable.

Description

Details

GEBR_GUI_HTML_VIEWER_WINDOW_MENU_BAR

#define GEBR_GUI_HTML_VIEWER_WINDOW_MENU_BAR "menubar"

struct GebrGuiHtmlViewerWindow

struct GebrGuiHtmlViewerWindow;

struct GebrGuiHtmlViewerWindowClass

struct GebrGuiHtmlViewerWindowClass {
	GtkWindowClass parent_class;
};

gebr_gui_html_viewer_window_new ()

GtkWidget *         gebr_gui_html_viewer_window_new     ();

Creates a new html viewer.


gebr_gui_html_viewer_window_show_html ()

void                gebr_gui_html_viewer_window_show_html
                                                        (GebrGuiHtmlViewerWindow *self,
                                                         const gchar *content);

Show the html content


gebr_gui_html_viewer_window_get_widget ()

GebrGuiHtmlViewerWidget *  gebr_gui_html_viewer_window_get_widget
                                                        (GebrGuiHtmlViewerWindow *self);

Get widget


gebr_gui_html_viewer_window_set_custom_tab ()

void                gebr_gui_html_viewer_window_set_custom_tab
                                                        (GebrGuiHtmlViewerWindow *self,
                                                         const gchar *label,
                                                         GebrGuiHtmlViewerCustomTab callback);

a proxy to create the custom print tab

self :

A GebrGuiHtmlViewerWindow

label :

Name the new custom tab

widget :

The widget to attach to the print dialog, as the only custom tab

gebr_gui_html_viewer_window_get_ui_manager ()

GtkUIManager *      gebr_gui_html_viewer_window_get_ui_manager
                                                        (GebrGuiHtmlViewerWindow *self);

You can get this ui manager to customize this window's interface.

self :

A GebrGuiHtmlViewerWindow

Returns :

the GtkUIManager this window is using.