Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | (*GebrGuiHtmlViewerCustomTab) () |
GtkWidget * | gebr_gui_html_viewer_widget_new () |
void | gebr_gui_html_viewer_widget_print () |
void | gebr_gui_html_viewer_show_search_bar () |
void | gebr_gui_html_viewer_widget_show_html () |
void | gebr_gui_html_viewer_widget_generate_links () |
void | gebr_gui_html_viewer_widget_set_custom_tab () |
const gchar * | gebr_gui_html_viewer_widget_get_html () |
GebrGeoXmlObject * | gebr_gui_html_viewer_widget_get_related_object () |
void | gebr_gui_html_viewer_widget_load_anchor () |
void | gebr_gui_html_viewer_widget_set_is_menu () |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GtkVBox ╰── GebrGuiHtmlViewerWidget
GebrGuiHtmlViewerWidget implements AtkImplementorIface, GtkBuildable and GtkOrientable.
GtkWidget *
(*GebrGuiHtmlViewerCustomTab) (GebrGuiHtmlViewerWidget *self
);
GtkWidget *
gebr_gui_html_viewer_widget_new ();
Creates a new html viewer widget.
void
gebr_gui_html_viewer_widget_print (GebrGuiHtmlViewerWidget *self
);
Prints the content of a html viewer widget
void
gebr_gui_html_viewer_show_search_bar (GebrGuiHtmlViewerWidget *self
);
Show a search bar if it is not visible, otherwise, hide the bar
void gebr_gui_html_viewer_widget_show_html (GebrGuiHtmlViewerWidget *self
,const gchar *content
);
Show the html content
void gebr_gui_html_viewer_widget_generate_links (GebrGuiHtmlViewerWidget *self
,GebrGeoXmlObject *object
);
Schedules the generation of the links for object
, which happens when the next call to
gebr_gui_html_viewer_widget_show_html()
is done.
void gebr_gui_html_viewer_widget_set_custom_tab (GebrGuiHtmlViewerWidget *self
,const gchar *label
,GebrGuiHtmlViewerCustomTab callback
);
Create the custom print tab
const gchar *
gebr_gui_html_viewer_widget_get_html (GebrGuiHtmlViewerWidget *self
);
Retrieves the content shown by this HTML viewer widget. Notice that this may not be the same HTML set with
gebr_gui_html_viewer_widget_show_html()
, since the string is processed before shown.
GebrGeoXmlObject *
gebr_gui_html_viewer_widget_get_related_object
(GebrGuiHtmlViewerWidget *self
);
void gebr_gui_html_viewer_widget_load_anchor (GebrGuiHtmlViewerWidget *self
,gint anchor
);
Reload html to move view to anchor
void gebr_gui_html_viewer_widget_set_is_menu (GebrGuiHtmlViewerWidget *self
,gboolean is_menu
);
struct GebrGuiHtmlViewerWidgetClass { GtkVBoxClass parent_class; /* Signals */ void (*title_ready) (GebrGuiHtmlViewerWidget * self, const gchar * title); void (*print_requested) (GebrGuiHtmlViewerWidget * self); void (*navigation_requested) (GebrGuiHtmlViewerWidget * self); };
“navigation-requested”
signalvoid user_function (GebrGuiHtmlViewerWidget *arg0, gpointer user_data)
Flags: Run Last
“print-requested”
signalvoid user_function (GebrGuiHtmlViewerWidget *arg0, gpointer user_data)
Flags: Run Last
“title-ready”
signalvoid user_function (GebrGuiHtmlViewerWidget *widget, gchar *title, gpointer user_data)
This signal is fired when the title is ready to be set. The title is passed by parameter title
, and its
value may depend on context. If this viewer is showing the help of a geoxml-menu, the title is the same as
the menu. Otherwise, the title is defined by the <title> tag inside the Html.
Flags: Run Last