contents up previous next

wxhtmlhelpdialog

this class is used by wxhtmlhelpcontroller to display help. it is an internal class and should not be used directly - except for the case when you're writing your own html help controller.

derived from

wxframe

include files

<wx/html/helpdlg.h>

members

wxhtmlhelpdialog::wxhtmlhelpdialog
wxhtmlhelpdialog::addtoolbarbuttons
wxhtmlhelpdialog::create
wxhtmlhelpdialog::getcontroller
wxhtmlhelpdialog::readcustomization
wxhtmlhelpdialog::setcontroller
wxhtmlhelpdialog::settitleformat
wxhtmlhelpdialog::writecustomization


wxhtmlhelpdialog::wxhtmlhelpdialog

wxhtmlhelpdialog(wxhtmlhelpdata* data = null)

wxhtmlhelpdialog(wxwindow* parent, int wxwindowid, const wxstring& title = wxemptystring, int style = wxhf_default_style, wxhtmlhelpdata* data = null)

constructor. for the values of style, please see the documentation for wxhtmlhelpcontroller.


wxhtmlhelpdialog::addtoolbarbuttons

virtual void addtoolbarbuttons(wxtoolbar *toolbar, int style)

you may override this virtual method to add more buttons to the help window's toolbar. toolbar is a pointer to the toolbar and style is the style flag as passed to the create method.

wxtoolbar::realize is called immediately after returning from this function.


wxhtmlhelpdialog::create

bool create(wxwindow* parent, wxwindowid id, const wxstring& title = wxemptystring, int style = wxhf_default_style)

creates the dialog. see the constructor for a description of the parameters.


wxhtmlhelpdialog::getcontroller

wxhtmlhelpcontroller* getcontroller() const

returns the help controller associated with the dialog.


wxhtmlhelpdialog::readcustomization

void readcustomization(wxconfigbase* cfg, const wxstring& path = wxemptystring)

reads the user's settings for this dialog see wxhtmlhelpcontroller::readcustomization)


wxhtmlhelpdialog::setcontroller

void setcontroller(wxhtmlhelpcontroller* contoller)

sets the help controller associated with the dialog.


wxhtmlhelpdialog::settitleformat

void settitleformat(const wxstring& format)

sets the dialog's title format. format must contain exactly one "%s" (it will be replaced by the page title).


wxhtmlhelpdialog::writecustomization

void writecustomization(wxconfigbase* cfg, const wxstring& path = wxemptystring)

saves the user's settings for this dialog (see wxhtmlhelpcontroller::writecustomization).