Code::Blocks
SVN r11506
|
#include <switcherdlg.h>
Private Attributes | |
wxMultiColumnListCtrl * | m_listCtrl |
wxHtmlWindow * | m_descriptionCtrl |
bool | m_closing |
long | m_switcherBorderStyle |
wxColour | m_borderColour |
int | m_extraNavigationKey |
int | m_modifierKey |
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.
|
inline |
Definition at line 279 of file switcherdlg.h.
References _(), wxSwitcherItem::Init(), wxBORDER_SIMPLE, wxDefaultPosition, wxDefaultSize, wxDIALOG_NO_PARENT, and wxSTAY_ON_TOP.
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().
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 |
||
) |
Definition at line 863 of file switcherdlg.cpp.
References wxALL, wxBORDER_MASK, wxBORDER_NONE, wxBORDER_SIMPLE, wxBOTH, wxDefaultPosition, wxDefaultSize, wxEXPAND, wxID_ANY, wxNO_BORDER, wxSIMPLE_BORDER, wxVERTICAL, and wxWANTS_CHARS.
|
inline |
Definition at line 309 of file switcherdlg.h.
|
inline |
Definition at line 314 of file switcherdlg.h.
int wxSwitcherDialog::GetSelection | ( | ) | const |
Definition at line 954 of file switcherdlg.cpp.
Referenced by MainFrame::OnSwitchTabs().
void wxSwitcherDialog::Init | ( | ) |
Definition at line 919 of file switcherdlg.cpp.
void wxSwitcherDialog::OnActivate | ( | wxActivateEvent & | event | ) |
Definition at line 959 of file switcherdlg.cpp.
References ScriptBindings::EndModal(), wxActivateEvent::GetActive(), and wxID_CANCEL.
Referenced by wxMultiColumnListCtrl::Init().
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().
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().
void wxSwitcherDialog::OnSelectItem | ( | wxCommandEvent & | event | ) |
Definition at line 990 of file switcherdlg.cpp.
Referenced by wxMultiColumnListCtrl::Init().
|
inline |
Definition at line 304 of file switcherdlg.h.
void wxSwitcherDialog::SetExtraNavigationKey | ( | int | keyCode | ) |
Definition at line 1031 of file switcherdlg.cpp.
Referenced by MainFrame::OnSwitchTabs().
void wxSwitcherDialog::SetModifierKey | ( | int | modifierKey | ) |
Definition at line 1038 of file switcherdlg.cpp.
Referenced by MainFrame::OnSwitchTabs().
void wxSwitcherDialog::ShowDescription | ( | int | i | ) |
Definition at line 1008 of file switcherdlg.cpp.
References ColourToHexString(), wxSwitcherItem::GetDescription(), wxSwitcherItem::GetTitle(), wxString::IsEmpty(), and wxT.
|
private |
Definition at line 322 of file switcherdlg.h.
|
private |
Definition at line 320 of file switcherdlg.h.
|
private |
Definition at line 319 of file switcherdlg.h.
|
private |
Definition at line 323 of file switcherdlg.h.
|
private |
Definition at line 318 of file switcherdlg.h.
|
private |
Definition at line 324 of file switcherdlg.h.
|
private |
Definition at line 321 of file switcherdlg.h.