wxShortcutCtrl Class Reference

A text control for entering a shortcut (one part of the shortcut at a time). More...

#include <shortcutcust/shortcutcust.h>

List of all members.

Public Member Functions

 wxShortcutCtrl ()
 wxShortcutCtrl (wxWindow *parent, wxWindowID id, const wxString &value=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int style=0)
bool Create (wxWindow *parent, wxWindowID id, const wxString &value=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int style=0)
void Init ()
void SetShortcut (const wxShortcutItem &item)
const wxShortcutItemGetShortcut () const
void OnKeyDown (wxKeyEvent &event)
wxString GetShortcutString () const
void ApplyShortcut ()

Protected Attributes

wxShortcutItem m_shortcut


Detailed Description

A text control for entering a shortcut (one part of the shortcut at a time).


Constructor & Destructor Documentation

wxShortcutCtrl::wxShortcutCtrl (  )  [inline]

wxShortcutCtrl::wxShortcutCtrl ( wxWindow *  parent,
wxWindowID  id,
const wxString &  value = wxEmptyString,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
int  style = 0 
) [inline]


Member Function Documentation

bool wxShortcutCtrl::Create ( wxWindow *  parent,
wxWindowID  id,
const wxString &  value = wxEmptyString,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
int  style = 0 
)

void wxShortcutCtrl::Init (  ) 

void wxShortcutCtrl::SetShortcut ( const wxShortcutItem item  )  [inline]

const wxShortcutItem& wxShortcutCtrl::GetShortcut (  )  const [inline]

void wxShortcutCtrl::OnKeyDown ( wxKeyEvent &  event  ) 

wxString wxShortcutCtrl::GetShortcutString (  )  const

void wxShortcutCtrl::ApplyShortcut (  ) 


Member Data Documentation

wxShortcutItem wxShortcutCtrl::m_shortcut [protected]


The documentation for this class was generated from the following files:
Generated on Wed May 6 19:20:22 2009 for AxTk by  doxygen 1.5.1