A simple class that contains the URL and title of an element of the history
of a wxWebView.
+ @since 2.9.3
@library{wxwebview}
@category{webview}
The base class for handling custom schemes in wxWebView, for example to
allow virtual file system support.
+ @since 2.9.3
@library{wxwebview}
@category{webview}
/**
@return The name of the scheme, as passed to the constructor.
*/
- virtual wxString GetName() const = 0;
+ virtual wxString GetName() const;
};
/**
the page title changes. Use GetString to get the title.
@endEventTable
+ @since 2.9.3
@library{wxwebview}
@category{ctrl,webview}
@see wxWebViewHandler, wxWebViewEvent
*/
virtual bool Create(wxWindow* parent,
wxWindowID id,
- const wxString& url,
- const wxPoint& pos,
- const wxSize& size,
- long style,
- const wxString& name) = 0;
+ const wxString& url = wxWebViewDefaultURLStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxString& name = wxWebViewNameStr) = 0;
/**
Factory function to create a new wxWebView for two-step creation
Process a @c wxEVT_COMMAND_WEB_VIEW_TITLE_CHANGED event, generated when
the page title changes. Use GetString to get the title.
@endEventTable
-
+
+ @since 2.9.3
@library{wxwebview}
@category{events,webview}
Get the URL being visited
*/
const wxString& GetURL() const;
-};
\ No newline at end of file
+};
+
+
+wxEventType wxEVT_COMMAND_WEB_VIEW_NAVIGATING;
+wxEventType wxEVT_COMMAND_WEB_VIEW_NAVIGATED;
+wxEventType wxEVT_COMMAND_WEB_VIEW_LOADED;
+wxEventType wxEVT_COMMAND_WEB_VIEW_ERROR;
+wxEventType wxEVT_COMMAND_WEB_VIEW_NEWWINDOW;
+wxEventType wxEVT_COMMAND_WEB_VIEW_TITLE_CHANGED;