Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | dh_assistant_view_new () |
gboolean | dh_assistant_view_set_link () |
gboolean | dh_assistant_view_search () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── WebKitWebViewBase ╰── WebKitWebView ╰── DhAssistantView
DhAssistantView is a subclass of WebKitWebView for displaying the documentation of just one symbol.
A possible use-case: in a text editor, pressing a keyboard shortcut could display this widget for the symbol under the cursor.
With the Devhelp application, an assistant can easily be launched with the
command line option --search-assistant
.
gboolean dh_assistant_view_set_link (DhAssistantView *view
,DhLink *link
);
Open link
in the assistant view, if NULL
the view will be blanked.
gboolean dh_assistant_view_search (DhAssistantView *view
,const gchar *str
);
Search for str
in the current assistant view.