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

void wxShortcutCtrl::ApplyShortcut (  ) 

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

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

wxString wxShortcutCtrl::GetShortcutString (  )  const

void wxShortcutCtrl::Init (  ) 

void wxShortcutCtrl::OnKeyDown ( wxKeyEvent &  event  ) 

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


Member Data Documentation


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

Generated on Wed May 6 19:22:09 2009 for AxTk by  doxygen 1.5.8