![]() |
![]() |
![]() |
libgebr Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
#define GEBR_GUI_HTML_VIEWER_WINDOW_MENU_BAR GebrGuiHtmlViewerWindow; 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
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GebrGuiHtmlViewerWindow
typedef struct { GtkWindowClass parent_class; } GebrGuiHtmlViewerWindowClass;
GtkWidget * gebr_gui_html_viewer_window_new ();
Creates a new html viewer.
void gebr_gui_html_viewer_window_show_html (GebrGuiHtmlViewerWindow *self
,const gchar *content
);
Show the html content
GebrGuiHtmlViewerWidget* gebr_gui_html_viewer_window_get_widget
(GebrGuiHtmlViewerWindow *self
);
Get widget
void gebr_gui_html_viewer_window_set_custom_tab (GebrGuiHtmlViewerWindow *self
,const gchar *label
,GebrGuiHtmlViewerCustomTab callback
);
a proxy to create the custom print tab
|
A GebrGuiHtmlViewerWindow |
|
Name the new custom tab |
|
The widget to attach to the print dialog, as the only custom tab |
GtkUIManager * gebr_gui_html_viewer_window_get_ui_manager
(GebrGuiHtmlViewerWindow *self
);
You can get this ui manager to customize this window's interface.
|
A GebrGuiHtmlViewerWindow |
Returns : |
the GtkUIManager this window is using. |