Class: Wx::KeyCategoryFlags

Inherits:
Enum
  • Object
show all
Defined in:
lib/wx/doc/gen/event.rb

Overview

Flags for categories of keys.

These values are used by Wx::KeyEvent#is_key_in_category. They may be combined via the bitwise operators |, &, and ~.

Constant Summary collapse

K_CATEGORY_ARROW =

arrow keys, on and off numeric keypads

Wx::KeyCategoryFlags.new(1)
K_CATEGORY_PAGING =

page up and page down keys, on and off numeric keypads

Wx::KeyCategoryFlags.new(2)
K_CATEGORY_JUMP =

home and end keys, on and off numeric keypads

Wx::KeyCategoryFlags.new(4)
K_CATEGORY_TAB =

Tab key, on and off numeric keypads.

Wx::KeyCategoryFlags.new(8)
K_CATEGORY_CUT =

Backspace and delete keys, on and off numeric keypads.

Wx::KeyCategoryFlags.new(16)
K_CATEGORY_NAVIGATION =

union of Wx::KeyCode::K_CATEGORY_ARROW, Wx::KeyCode::K_CATEGORY_PAGING, and Wx::KeyCode::K_CATEGORY_JUMP categories

Wx::KeyCategoryFlags.new(7)

Method Summary

Methods inherited from Enum

#!, #&, #<=>, [], #allbits?, #anybits?, #coerce, enumerators, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, non_distinct, #real?, set_non_distinct, #succ, #to_int, #to_s, #|, #~

Constructor Details

This class inherits a constructor from Wx::Enum

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Wx::Enum