Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //General
- static wxWebView* New(wxWebViewBackend backend = wxWEB_VIEW_BACKEND_DEFAULT);
- virtual wxString GetCurrentTitle() = 0;
- virtual wxString GetCurrentURL() = 0;
- virtual wxString GetPageSource() = 0;
- virtual wxString GetPageText() = 0;
- virtual bool IsBusy() = 0;
- virtual bool IsEditable() = 0;
- virtual void LoadUrl(const wxString& url) = 0;
- virtual void Reload(wxWebViewReloadFlags flags = wxWEB_VIEW_RELOAD_DEFAULT) = 0;
- virtual void RunScript(const wxString& javascript) = 0;
- virtual void SetEditable(bool enable = true) = 0;
- virtual void SetPage(const wxString& html, const wxString& baseUrl) = 0;
- virtual void SetPage(wxInputStream& html, wxString baseUrl)
- virtual void Stop() = 0;
- //Clipboard
- virtual bool CanCopy() = 0;
- virtual bool CanCut() = 0;
- virtual bool CanPaste() = 0;
- virtual void Copy() = 0;
- virtual void Cut() = 0;
- virtual void Paste() = 0;
- //History
- virtual bool CanGoBack() = 0;
- virtual bool CanGoForward() = 0;
- virtual void ClearHistory() = 0;
- virtual void EnableHistory(bool enable = true) = 0;
- virtual wxVector<wxSharedPtr<wxWebHistoryItem> > GetBackwardHistory() = 0;
- virtual wxVector<wxSharedPtr<wxWebHistoryItem> > GetForwardHistory() = 0;
- virtual void GoBack() = 0;
- virtual void GoForward() = 0;
- virtual void LoadHistoryItem(wxSharedPtr<wxWebHistoryItem> item) = 0;
- //Selection
- virtual void ClearSelection() = 0;
- virtual void DeleteSelection() = 0;
- virtual wxString GetSelectedSource() = 0;
- virtual wxString GetSelectedText() = 0;
- virtual bool HasSelection() = 0;
- virtual void SelectAll() = 0;
- //Undo / redo
- virtual bool CanRedo() = 0;
- virtual bool CanUndo() = 0;
- virtual void Redo() = 0;
- virtual void Undo() = 0;
- //Zoom
- virtual bool CanSetZoomType(wxWebViewZoomType type) const = 0;
- virtual wxWebViewZoom GetZoom() = 0;
- virtual wxWebViewZoomType GetZoomType() const = 0;
- virtual void SetZoom(wxWebViewZoom zoom) = 0;
- virtual void SetZoomType(wxWebViewZoomType zoomType) = 0;
- //Events
- wxEVT_COMMAND_WEB_VIEW_NAVIGATING
- wxEVT_COMMAND_WEB_VIEW_NAVIGATED
- wxEVT_COMMAND_WEB_VIEW_LOADED
- wxEVT_COMMAND_WEB_VIEW_ERROR
- wxEVT_COMMAND_WEB_VIEW_NEWWINDOW
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement