back to gui 

wxAcceleratorEntry

generated from ../src/mod_gui/misc/accentry.cpp

An object used by an application wishing to create an accelerator table. See wxAcceleratorTable, wxMenuItem accel property.

Constants

flag

Name Description
NORMAL
ALT
CTRL
SHIFT

Constructor

wxAcceleratorEntry

wxAcceleratorEntry()
 
wxAcceleratorEntry(Flags = 0, 
                   Keycode = 0, 
                   Command = 0)
 
Name Type Default Description
Flags Integer 0 Indicates which modifier key is pressed. See constants for the possible values.
Keycode Integer 0 The keycode. See wxKeyCode
Command Integer 0 The menu or command id.

Constructs a new wxAcceleratorEntry object.

Properties

Name Type Description
command Integer The menu or control command identifier.
flags Integer See flag
keyCode Integer See wxKeyCode

Methods

set

set(Flags, 
    Keycode = 0, 
    Command = 0)
 
Name Type Default Description
Flags Integer Indicates which modifier key is pressed. See constants for the possible values.
Keycode Integer 0 The keycode. See wxKeyCode
Command Integer 0 The menu or command id.

See ctor for the explanation of the arguments.



SourceForge.net Logo Support This Project

Table of Contents

Constructor

wxAcceleratorEntry

Properties

command
flags
keyCode

Methods

set


Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.