Developer Resources

wxWebControl

Overview

The wxWebControl class is the primary web browser control class; it is used for displaying and interacting with web content.

Base Class

wxControl

Constructor

wxWebControl::wxWebControl(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size)

Methods

wxWebControl::AddContentHandler
wxWebControl::AddPluginPath
wxWebControl::CanCopyImageContents
wxWebControl::CanCopyImageLocation
wxWebControl::CanCopyLinkLocation
wxWebControl::CanCopySelection
wxWebControl::CanCutSelection
wxWebControl::CanPaste
wxWebControl::ClearCache
wxWebControl::CopyImageContents
wxWebControl::CopyImageLocation
wxWebControl::CopyLinkLocation
wxWebControl::CopySelection
wxWebControl::CutSelection
wxWebControl::Find
wxWebControl::GetCurrentURI
wxWebControl::GetDOMDocument
wxWebControl::GetFavIcon
wxWebControl::GetPageSettings
wxWebControl::GetTextZoom
wxWebControl::GoBack
wxWebControl::GoForward
wxWebControl::IsContentLoaded
wxWebControl::IsOk
wxWebControl::OpenURI
wxWebControl::Paste
wxWebControl::Print
wxWebControl::Reload
wxWebControl::SaveCurrent
wxWebControl::SaveRequest
wxWebControl::SaveRequestToString
wxWebControl::SelectAll
wxWebControl::SelectNone
wxWebControl::SetPageSettings
wxWebControl::SetTextZoom
wxWebControl::Stop
wxWebControl::ViewSource

wxWebControl::AddContentHandler

bool wxWebControl::AddContentHandler(wxWebContentHandler* handler, bool take_ownership)

wxWebControl::AddPluginPath

static void wxWebControl::AddPluginPath(const wxString& path)

wxWebControl::CanCopyImageContents

bool wxWebControl::CanCopyImageContents()

wxWebControl::CanCopyImageLocation

bool wxWebControl::CanCopyImageLocation()

wxWebControl::CanCopyLinkLocation

bool wxWebControl::CanCopyLinkLocation()

wxWebControl::CanCopySelection

bool wxWebControl::CanCopySelection()

wxWebControl::CanCutSelection

bool wxWebControl::CanCutSelection()

wxWebControl::CanPaste

bool wxWebControl::CanPaste()

wxWebControl::ClearCache

static bool wxWebControl::ClearCache()

wxWebControl::CopyImageContents

void wxWebControl::CopyImageContents()

wxWebControl::CopyImageLocation

void wxWebControl::CopyImageLocation()

wxWebControl::CopyLinkLocation

void wxWebControl::CopyLinkLocation()

wxWebControl::CopySelection

void wxWebControl::CopySelection()

wxWebControl::CutSelection

void wxWebControl::CutSelection()

wxWebControl::Find

bool wxWebControl::Find(const wxString& text, unsigned int flags)

wxWebControl::GetCurrentURI

wxString wxWebControl::GetCurrentURI() const

wxWebControl::GetDOMDocument

wxDOMDocument wxWebControl::GetDOMDocument()

wxWebControl::GetFavIcon

wxImage wxWebControl::GetFavIcon() const

wxWebControl::GetPageSettings

void wxWebControl::GetPageSettings(double* page_width, double* page_height, double* left_margin, double* right_margin, double* top_margin, double* bottom_margin)

wxWebControl::GetTextZoom

void wxWebControl::GetTextZoom(float* zoom)

wxWebControl::GoBack

void wxWebControl::GoBack()

wxWebControl::GoForward

void wxWebControl::GoForward()

wxWebControl::IsContentLoaded

bool wxWebControl::IsContentLoaded() const

wxWebControl::IsOk

bool wxWebControl::IsOk() const

Returns

Returns true if the wxWebControl is valid, and false otherwise.

wxWebControl::OpenURI

void wxWebControl::OpenURI(const wxString& uri, unsigned int load_flags, wxWebPostData* post_data)

wxWebControl::Paste

void wxWebControl::Paste()

wxWebControl::Print

void wxWebControl::Print(bool silent)

wxWebControl::Reload

void wxWebControl::Reload()

wxWebControl::SaveCurrent

bool wxWebControl::SaveCurrent(const wxString& destination_path)

wxWebControl::SaveRequest

static bool wxWebControl::SaveRequest(const wxString& uri_str, const wxString& destination_path, wxWebPostData* post_data, wxWebProgressBase* listener)

wxWebControl::SaveRequestToString

static bool wxWebControl::SaveRequestToString(const wxString& uri_str, wxString* result, wxWebPostData* post_data, wxWebProgressBase* listener)

wxWebControl::SelectAll

void wxWebControl::SelectAll()

wxWebControl::SelectNone

void wxWebControl::SelectNone()

wxWebControl::SetPageSettings

void wxWebControl::SetPageSettings(double page_width, double page_height, double left_margin, double right_margin, double top_margin, double bottom_margin)

wxWebControl::SetTextZoom

void wxWebControl::SetTextZoom(float zoom)

wxWebControl::Stop

void wxWebControl::Stop()

wxWebControl::ViewSource

void wxWebControl::ViewSource()
void wxWebControl::ViewSource(wxWebControl* source_web_browser)
void wxWebControl::ViewSource(const wxString& uri)