12 #ifndef _WX_SWITCHERDLG_H_ 13 #define _WX_SWITCHERDLG_H_ 135 int FindItemByName(
const wxString& name)
const;
136 int FindItemById(
int id)
const;
138 void SetSelection(
int sel);
139 void SetSelection(
const wxString& name);
143 int GetIndexForFocus()
const;
146 int HitTest(
const wxPoint& pt)
const;
238 virtual wxSize DoGetBestSize()
const ;
242 void CalculateLayout();
243 void CalculateLayout(
wxDC& dc);
246 void GenerateSelectionEvent();
247 void AdvanceToNextSelectableItem(
int direction);
248 void SendCloseEvent();
266 DECLARE_EVENT_TABLE()
300 int GetSelection()
const;
302 void ShowDescription(
int i);
308 void SetExtraNavigationKey(
int keyCode);
313 void SetModifierKey(
int modifierKey);
326 DECLARE_EVENT_TABLE()
const wxString & GetDescription() const
void SetSelectionOutlineColour(const wxColour &colour)
void SetSelectionColour(const wxColour &colour)
int GetModifierKey() const
const wxRect & GetRect() const
wxWindow * GetWindow() const
wxColour m_selectionOutlineColour
const wxColour & GetSelectionOutlineColour() const
wxSwitcherItem & SetName(const wxString &name)
wxSwitcherItem & SetTextColour(const wxColour &colour)
void Copy(const wxSwitcherItem &item)
const wxFont & GetFont() const
const wxBitmap & GetBitmap() const
wxSwitcherItem & SetFont(const wxFont &font)
wxSwitcherItem & SetTitle(const wxString &title)
wxSwitcherItem & SetWindow(wxWindow *win)
wxColour m_selectionColour
wxSwitcherItem & BreakColumn(bool breakCol=true)
wxSwitcherItem & SetRowPos(int pos)
int GetModifierKey() const
const wxColour & GetTextColour() const
void SetRowCount(int rows)
wxHtmlWindow * m_descriptionCtrl
void SetSelectionTextColour(const wxColour &colour)
wxSwitcherItemArray m_items
const wxString & GetTitle() const
wxPoint m_ptMouse
Mouse point initialized on Init function.
wxColour m_backgroundColour
wxSwitcherItem & SetRect(const wxRect &rect)
int GetColumnCount() const
wxSwitcherItem(const wxSwitcherItem &item)
wxSwitcherItem & SetDescription(const wxString &descr)
wxSwitcherItems & GetItems()
const wxSwitcherItems & GetItems() const
bool operator==(const wxSwitcherItem &item) const
long m_switcherBorderStyle
int GetExtraNavigationKey() const
wxColour m_selectionTextColour
const wxColour & GetSelectionTextColour() const
void SetItemFont(const wxFont &font)
void SetItems(const wxSwitcherItems &items)
wxSwitcherItem & SetColPos(int pos)
wxSwitcherItem & SetBitmap(const wxBitmap &bitmap)
const wxSize wxDefaultSize
const wxPoint wxDefaultPosition
const wxFont & GetItemFont() const
const wxColour & GetSelectionColour() const
const wxColour & GetBackgroundColour() const
const wxString & _(const wxString &string)
void SetTextColour(const wxColour &colour)
void SetColumnCount(int cols)
#define wxDIALOG_NO_PARENT
wxSwitcherItem & SetId(int id)
const wxColour & GetTextColour() const
wxSwitcherItems(const wxSwitcherItems &items)
void SetBorderColour(const wxColour &colour)
WX_DECLARE_OBJARRAY(wxSwitcherItem, wxSwitcherItemArray)
void SetBackgroundColour(const wxColour &colour)
void SetExtraNavigationKey(int keyCode)
wxMultiColumnListCtrl * m_listCtrl
const wxString & GetName() const
bool GetBreakColumn() const
wxSwitcherItem & SetIsGroup(bool isGroup)
void operator=(const wxSwitcherItem &item)
void SetModifierKey(int modifierKey)