Code::Blocks  SVN r11506
Public Member Functions | Private Attributes | List of all members
wxSwitcherDialog Class Reference

#include <switcherdlg.h>

Inheritance diagram for wxSwitcherDialog:
Collaboration diagram for wxSwitcherDialog:

Public Member Functions

 wxSwitcherDialog ()
 
 wxSwitcherDialog (const wxSwitcherItems &items, wxWindow *parent, wxWindowID id=-1, const wxString &title=_("Pane Switcher"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxSTAY_ON_TOP|wxDIALOG_NO_PARENT|wxBORDER_SIMPLE)
 
bool Create (const wxSwitcherItems &items, wxWindow *parent, wxWindowID id=-1, const wxString &title=_("Pane Switcher"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxSTAY_ON_TOP|wxDIALOG_NO_PARENT|wxBORDER_SIMPLE)
 
void Init ()
 
void OnCloseWindow (wxCloseEvent &event)
 
void OnActivate (wxActivateEvent &event)
 
void OnSelectItem (wxCommandEvent &event)
 
void OnPaint (wxPaintEvent &event)
 
int GetSelection () const
 
void ShowDescription (int i)
 
void SetBorderColour (const wxColour &colour)
 
void SetExtraNavigationKey (int keyCode)
 
int GetExtraNavigationKey () const
 
void SetModifierKey (int modifierKey)
 
int GetModifierKey () const
 
- Public Member Functions inherited from wxScrollingDialog
 wxScrollingDialog ()
 
 wxScrollingDialog (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=_("dialogBox"))
 
- Public Member Functions inherited from wxDialog
virtual int ShowModal ()
 

Private Attributes

wxMultiColumnListCtrlm_listCtrl
 
wxHtmlWindowm_descriptionCtrl
 
bool m_closing
 
long m_switcherBorderStyle
 
wxColour m_borderColour
 
int m_extraNavigationKey
 
int m_modifierKey
 

Detailed Description

wxSwitcherDialog shows a wxMultiColumnListCtrl with a list of panes and tabs for the user to choose. Ctrl+Tab cycles through them.

Definition at line 275 of file switcherdlg.h.

Constructor & Destructor Documentation

◆ wxSwitcherDialog() [1/2]

wxSwitcherDialog::wxSwitcherDialog ( )
inline

◆ wxSwitcherDialog() [2/2]

wxSwitcherDialog::wxSwitcherDialog ( const wxSwitcherItems items,
wxWindow parent,
wxWindowID  id = -1,
const wxString title = _("Pane Switcher"),
const wxPoint position = wxDefaultPosition,
const wxSize size = wxDefaultSize,
long  style = wxSTAY_ON_TOP|wxDIALOG_NO_PARENT|wxBORDER_SIMPLE 
)

wxSwitcherDialog shows a wxMultiColumnListCtrl with a list of panes and tabs for the user to choose. Ctrl+Tab cycles through them.

Definition at line 855 of file switcherdlg.cpp.

References wxSwitcherItem::Init().

Member Function Documentation

◆ Create()

bool wxSwitcherDialog::Create ( const wxSwitcherItems items,
wxWindow parent,
wxWindowID  id = -1,
const wxString title = _("Pane Switcher"),
const wxPoint pos = wxDefaultPosition,
const wxSize size = wxDefaultSize,
long  style = wxSTAY_ON_TOP|wxDIALOG_NO_PARENT|wxBORDER_SIMPLE 
)

◆ GetExtraNavigationKey()

int wxSwitcherDialog::GetExtraNavigationKey ( ) const
inline

Definition at line 309 of file switcherdlg.h.

◆ GetModifierKey()

int wxSwitcherDialog::GetModifierKey ( ) const
inline

Definition at line 314 of file switcherdlg.h.

◆ GetSelection()

int wxSwitcherDialog::GetSelection ( ) const

Definition at line 954 of file switcherdlg.cpp.

Referenced by MainFrame::OnSwitchTabs().

◆ Init()

void wxSwitcherDialog::Init ( )

Definition at line 919 of file switcherdlg.cpp.

References NULL, and wxBLACK.

◆ OnActivate()

void wxSwitcherDialog::OnActivate ( wxActivateEvent event)

◆ OnCloseWindow()

void wxSwitcherDialog::OnCloseWindow ( wxCloseEvent event)

Definition at line 937 of file switcherdlg.cpp.

References ScriptBindings::EndModal(), wxID_CANCEL, and wxID_OK.

Referenced by wxMultiColumnListCtrl::Init().

◆ OnPaint()

void wxSwitcherDialog::OnPaint ( wxPaintEvent event)

Definition at line 971 of file switcherdlg.cpp.

References wxRect::Inflate(), wxBORDER_SIMPLE, and wxTRANSPARENT_BRUSH.

Referenced by wxMultiColumnListCtrl::Init().

◆ OnSelectItem()

void wxSwitcherDialog::OnSelectItem ( wxCommandEvent event)

Definition at line 990 of file switcherdlg.cpp.

Referenced by wxMultiColumnListCtrl::Init().

◆ SetBorderColour()

void wxSwitcherDialog::SetBorderColour ( const wxColour colour)
inline

Definition at line 304 of file switcherdlg.h.

◆ SetExtraNavigationKey()

void wxSwitcherDialog::SetExtraNavigationKey ( int  keyCode)

Definition at line 1031 of file switcherdlg.cpp.

Referenced by MainFrame::OnSwitchTabs().

◆ SetModifierKey()

void wxSwitcherDialog::SetModifierKey ( int  modifierKey)

Definition at line 1038 of file switcherdlg.cpp.

Referenced by MainFrame::OnSwitchTabs().

◆ ShowDescription()

void wxSwitcherDialog::ShowDescription ( int  i)

Member Data Documentation

◆ m_borderColour

wxColour wxSwitcherDialog::m_borderColour
private

Definition at line 322 of file switcherdlg.h.

◆ m_closing

bool wxSwitcherDialog::m_closing
private

Definition at line 320 of file switcherdlg.h.

◆ m_descriptionCtrl

wxHtmlWindow* wxSwitcherDialog::m_descriptionCtrl
private

Definition at line 319 of file switcherdlg.h.

◆ m_extraNavigationKey

int wxSwitcherDialog::m_extraNavigationKey
private

Definition at line 323 of file switcherdlg.h.

◆ m_listCtrl

wxMultiColumnListCtrl* wxSwitcherDialog::m_listCtrl
private

Definition at line 318 of file switcherdlg.h.

◆ m_modifierKey

int wxSwitcherDialog::m_modifierKey
private

Definition at line 324 of file switcherdlg.h.

◆ m_switcherBorderStyle

long wxSwitcherDialog::m_switcherBorderStyle
private

Definition at line 321 of file switcherdlg.h.


The documentation for this class was generated from the following files: