Package fife :: Module fife :: Class Key
[hide private]
[frames] | no frames]

Class Key

source code

_object --+
          |
         Key

Proxy of C++ FIFE::Key class

Instance Methods [hide private]
 
__repr__(self)
repr(x)
source code
 
__init__(self, *args)
__init__(FIFE::Key self, FIFE::Key::KeyType key=INVALID_KEY, uint32_t codepoint=0) -> Key __init__(FIFE::Key self, FIFE::Key::KeyType key=INVALID_KEY) -> Key __init__(FIFE::Key self) -> Key
source code
 
isPrintable(self)
isPrintable(Key self) -> bool
source code
 
isFunctionKey(self)
isFunctionKey(Key self) -> bool
source code
 
getValue(self)
getValue(Key self) -> FIFE::Key::KeyType
source code
 
getAsString(self)
getAsString(Key self) -> std::string
source code
Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  INVALID_KEY = _fife.Key_INVALID_KEY
  BACKSPACE = _fife.Key_BACKSPACE
  TAB = _fife.Key_TAB
  CLEAR = _fife.Key_CLEAR
  ENTER = _fife.Key_ENTER
  PAUSE = _fife.Key_PAUSE
  ESCAPE = _fife.Key_ESCAPE
  SPACE = _fife.Key_SPACE
  EXCLAIM = _fife.Key_EXCLAIM
  QUOTEDBL = _fife.Key_QUOTEDBL
  HASH = _fife.Key_HASH
  DOLLAR = _fife.Key_DOLLAR
  AMPERSAND = _fife.Key_AMPERSAND
  QUOTE = _fife.Key_QUOTE
  LEFTPAREN = _fife.Key_LEFTPAREN
  RIGHTPAREN = _fife.Key_RIGHTPAREN
  ASTERISK = _fife.Key_ASTERISK
  PLUS = _fife.Key_PLUS
  COMMA = _fife.Key_COMMA
  MINUS = _fife.Key_MINUS
  PERIOD = _fife.Key_PERIOD
  SLASH = _fife.Key_SLASH
  NUM_0 = _fife.Key_NUM_0
  NUM_1 = _fife.Key_NUM_1
  NUM_2 = _fife.Key_NUM_2
  NUM_3 = _fife.Key_NUM_3
  NUM_4 = _fife.Key_NUM_4
  NUM_5 = _fife.Key_NUM_5
  NUM_6 = _fife.Key_NUM_6
  NUM_7 = _fife.Key_NUM_7
  NUM_8 = _fife.Key_NUM_8
  NUM_9 = _fife.Key_NUM_9
  COLON = _fife.Key_COLON
  SEMICOLON = _fife.Key_SEMICOLON
  LESS = _fife.Key_LESS
  EQUALS = _fife.Key_EQUALS
  GREATER = _fife.Key_GREATER
  QUESTION = _fife.Key_QUESTION
  AT = _fife.Key_AT
  LEFTBRACKET = _fife.Key_LEFTBRACKET
  BACKSLASH = _fife.Key_BACKSLASH
  RIGHTBRACKET = _fife.Key_RIGHTBRACKET
  CARET = _fife.Key_CARET
  UNDERSCORE = _fife.Key_UNDERSCORE
  BACKQUOTE = _fife.Key_BACKQUOTE
  A = _fife.Key_A
  B = _fife.Key_B
  C = _fife.Key_C
  D = _fife.Key_D
  E = _fife.Key_E
  F = _fife.Key_F
  G = _fife.Key_G
  H = _fife.Key_H
  I = _fife.Key_I
  J = _fife.Key_J
  K = _fife.Key_K
  L = _fife.Key_L
  M = _fife.Key_M
  N = _fife.Key_N
  O = _fife.Key_O
  P = _fife.Key_P
  Q = _fife.Key_Q
  R = _fife.Key_R
  S = _fife.Key_S
  T = _fife.Key_T
  U = _fife.Key_U
  V = _fife.Key_V
  W = _fife.Key_W
  X = _fife.Key_X
  Y = _fife.Key_Y
  Z = _fife.Key_Z
  DELETE = _fife.Key_DELETE
  WORLD_0 = _fife.Key_WORLD_0
  WORLD_1 = _fife.Key_WORLD_1
  WORLD_2 = _fife.Key_WORLD_2
  WORLD_3 = _fife.Key_WORLD_3
  WORLD_4 = _fife.Key_WORLD_4
  WORLD_5 = _fife.Key_WORLD_5
  WORLD_6 = _fife.Key_WORLD_6
  WORLD_7 = _fife.Key_WORLD_7
  WORLD_8 = _fife.Key_WORLD_8
  WORLD_9 = _fife.Key_WORLD_9
  WORLD_10 = _fife.Key_WORLD_10
  WORLD_11 = _fife.Key_WORLD_11
  WORLD_12 = _fife.Key_WORLD_12
  WORLD_13 = _fife.Key_WORLD_13
  WORLD_14 = _fife.Key_WORLD_14
  WORLD_15 = _fife.Key_WORLD_15
  WORLD_16 = _fife.Key_WORLD_16
  WORLD_17 = _fife.Key_WORLD_17
  WORLD_18 = _fife.Key_WORLD_18
  WORLD_19 = _fife.Key_WORLD_19
  WORLD_20 = _fife.Key_WORLD_20
  WORLD_21 = _fife.Key_WORLD_21
  WORLD_22 = _fife.Key_WORLD_22
  WORLD_23 = _fife.Key_WORLD_23
  WORLD_24 = _fife.Key_WORLD_24
  WORLD_25 = _fife.Key_WORLD_25
  WORLD_26 = _fife.Key_WORLD_26
  WORLD_27 = _fife.Key_WORLD_27
  WORLD_28 = _fife.Key_WORLD_28
  WORLD_29 = _fife.Key_WORLD_29
  WORLD_30 = _fife.Key_WORLD_30
  WORLD_31 = _fife.Key_WORLD_31
  WORLD_32 = _fife.Key_WORLD_32
  WORLD_33 = _fife.Key_WORLD_33
  WORLD_34 = _fife.Key_WORLD_34
  WORLD_35 = _fife.Key_WORLD_35
  WORLD_36 = _fife.Key_WORLD_36
  WORLD_37 = _fife.Key_WORLD_37
  WORLD_38 = _fife.Key_WORLD_38
  WORLD_39 = _fife.Key_WORLD_39
  WORLD_40 = _fife.Key_WORLD_40
  WORLD_41 = _fife.Key_WORLD_41
  WORLD_42 = _fife.Key_WORLD_42
  WORLD_43 = _fife.Key_WORLD_43
  WORLD_44 = _fife.Key_WORLD_44
  WORLD_45 = _fife.Key_WORLD_45
  WORLD_46 = _fife.Key_WORLD_46
  WORLD_47 = _fife.Key_WORLD_47
  WORLD_48 = _fife.Key_WORLD_48
  WORLD_49 = _fife.Key_WORLD_49
  WORLD_50 = _fife.Key_WORLD_50
  WORLD_51 = _fife.Key_WORLD_51
  WORLD_52 = _fife.Key_WORLD_52
  WORLD_53 = _fife.Key_WORLD_53
  WORLD_54 = _fife.Key_WORLD_54
  WORLD_55 = _fife.Key_WORLD_55
  WORLD_56 = _fife.Key_WORLD_56
  WORLD_57 = _fife.Key_WORLD_57
  WORLD_58 = _fife.Key_WORLD_58
  WORLD_59 = _fife.Key_WORLD_59
  WORLD_60 = _fife.Key_WORLD_60
  WORLD_61 = _fife.Key_WORLD_61
  WORLD_62 = _fife.Key_WORLD_62
  WORLD_63 = _fife.Key_WORLD_63
  WORLD_64 = _fife.Key_WORLD_64
  WORLD_65 = _fife.Key_WORLD_65
  WORLD_66 = _fife.Key_WORLD_66
  WORLD_67 = _fife.Key_WORLD_67
  WORLD_68 = _fife.Key_WORLD_68
  WORLD_69 = _fife.Key_WORLD_69
  WORLD_70 = _fife.Key_WORLD_70
  WORLD_71 = _fife.Key_WORLD_71
  WORLD_72 = _fife.Key_WORLD_72
  WORLD_73 = _fife.Key_WORLD_73
  WORLD_74 = _fife.Key_WORLD_74
  WORLD_75 = _fife.Key_WORLD_75
  WORLD_76 = _fife.Key_WORLD_76
  WORLD_77 = _fife.Key_WORLD_77
  WORLD_78 = _fife.Key_WORLD_78
  WORLD_79 = _fife.Key_WORLD_79
  WORLD_80 = _fife.Key_WORLD_80
  WORLD_81 = _fife.Key_WORLD_81
  WORLD_82 = _fife.Key_WORLD_82
  WORLD_83 = _fife.Key_WORLD_83
  WORLD_84 = _fife.Key_WORLD_84
  WORLD_85 = _fife.Key_WORLD_85
  WORLD_86 = _fife.Key_WORLD_86
  WORLD_87 = _fife.Key_WORLD_87
  WORLD_88 = _fife.Key_WORLD_88
  WORLD_89 = _fife.Key_WORLD_89
  WORLD_90 = _fife.Key_WORLD_90
  WORLD_91 = _fife.Key_WORLD_91
  WORLD_92 = _fife.Key_WORLD_92
  WORLD_93 = _fife.Key_WORLD_93
  WORLD_94 = _fife.Key_WORLD_94
  WORLD_95 = _fife.Key_WORLD_95
  KP0 = _fife.Key_KP0
  KP1 = _fife.Key_KP1
  KP2 = _fife.Key_KP2
  KP3 = _fife.Key_KP3
  KP4 = _fife.Key_KP4
  KP5 = _fife.Key_KP5
  KP6 = _fife.Key_KP6
  KP7 = _fife.Key_KP7
  KP8 = _fife.Key_KP8
  KP9 = _fife.Key_KP9
  KP_PERIOD = _fife.Key_KP_PERIOD
  KP_DIVIDE = _fife.Key_KP_DIVIDE
  KP_MULTIPLY = _fife.Key_KP_MULTIPLY
  KP_MINUS = _fife.Key_KP_MINUS
  KP_PLUS = _fife.Key_KP_PLUS
  KP_ENTER = _fife.Key_KP_ENTER
  KP_EQUALS = _fife.Key_KP_EQUALS
  UP = _fife.Key_UP
  DOWN = _fife.Key_DOWN
  RIGHT = _fife.Key_RIGHT
  LEFT = _fife.Key_LEFT
  INSERT = _fife.Key_INSERT
  HOME = _fife.Key_HOME
  END = _fife.Key_END
  PAGE_UP = _fife.Key_PAGE_UP
  PAGE_DOWN = _fife.Key_PAGE_DOWN
  F1 = _fife.Key_F1
  F2 = _fife.Key_F2
  F3 = _fife.Key_F3
  F4 = _fife.Key_F4
  F5 = _fife.Key_F5
  F6 = _fife.Key_F6
  F7 = _fife.Key_F7
  F8 = _fife.Key_F8
  F9 = _fife.Key_F9
  F10 = _fife.Key_F10
  F11 = _fife.Key_F11
  F12 = _fife.Key_F12
  F13 = _fife.Key_F13
  F14 = _fife.Key_F14
  F15 = _fife.Key_F15
  NUM_LOCK = _fife.Key_NUM_LOCK
  CAPS_LOCK = _fife.Key_CAPS_LOCK
  SCROLL_LOCK = _fife.Key_SCROLL_LOCK
  RIGHT_SHIFT = _fife.Key_RIGHT_SHIFT
  LEFT_SHIFT = _fife.Key_LEFT_SHIFT
  RIGHT_CONTROL = _fife.Key_RIGHT_CONTROL
  LEFT_CONTROL = _fife.Key_LEFT_CONTROL
  RIGHT_ALT = _fife.Key_RIGHT_ALT
  LEFT_ALT = _fife.Key_LEFT_ALT
  RIGHT_META = _fife.Key_RIGHT_META
  LEFT_META = _fife.Key_LEFT_META
  RIGHT_SUPER = _fife.Key_RIGHT_SUPER
  LEFT_SUPER = _fife.Key_LEFT_SUPER
  ALT_GR = _fife.Key_ALT_GR
  COMPOSE = _fife.Key_COMPOSE
  HELP = _fife.Key_HELP
  PRINT_SCREEN = _fife.Key_PRINT_SCREEN
  SYSREQ = _fife.Key_SYSREQ
  BREAK = _fife.Key_BREAK
  MENU = _fife.Key_MENU
  POWER = _fife.Key_POWER
  EURO = _fife.Key_EURO
  UNDO = _fife.Key_UNDO
  __swig_destroy__ = _fife.delete_Key
  __del__ = lambda self: