Inherits XGP::XDialog.
Classes | |
| class | CreateError |
Public Types | |
| enum | widgetTypes { GTKHTML, GTKMOZEMBED, WEBKIT, LAST } |
Public Member Functions | |
| virtual | ~HTMLViewer () |
| void | display (const std::string &file) |
Static Public Member Functions | |
| static HTMLViewer * | create (const std::string &file, const Glib::ustring &title, widgetTypes type) throw (CreateError) |
Protected Member Functions | |
| HTMLViewer (const std::string &file, const Glib::ustring &title, widgetTypes type) throw (CreateError) | |
Uses GTKHTML or GtkMozEmbed to display the HTML code.
Supported widgets to display HTML.
| XGP::HTMLViewer::~HTMLViewer | ( | ) | [virtual] |
Destructor.
| XGP::HTMLViewer::HTMLViewer | ( | const std::string & | file, | |
| const Glib::ustring & | title, | |||
| widgetTypes | type | |||
| ) | throw (CreateError) [protected] |
Creates a dialog displaying a HTML-document.
| file | File containing the HTML-document to display | |
| title | Title of help-window | |
| type | Type of control to create |
| CreateError | in case of error |
| HTMLViewer * XGP::HTMLViewer::create | ( | const std::string & | file, | |
| const Glib::ustring & | title, | |||
| widgetTypes | type | |||
| ) | throw (CreateError) [static] |
Creates (or updates) a dialog displaying a HTML-document.
| file | File containing the HTML-document to display | |
| title | Title of help-window | |
| type | Type of control to create |
| CreateError | in case of error |
| void XGP::HTMLViewer::display | ( | const std::string & | file | ) |
Sets the HTML-document to display in the dialog.
| file | File containing the HTML-document to display |