# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx # SIZE_AUTO_WIDTH = 1 # SIZE_AUTO_HEIGHT = 2 # SIZE_AUTO = 3 # SIZE_USE_EXISTING = 0 # SIZE_ALLOW_MINUS_ONE = 4 # SIZE_NO_ADJUSTMENTS = 8 # SIZE_FORCE = 16 # SIZE_FORCE_EVENT = 32 # VSCROLL = -2147483648 # HSCROLL = 1073741824 # CAPTION = 536870912 # DOUBLE_BORDER = 268435456 # SUNKEN_BORDER = 134217728 # RAISED_BORDER = 67108864 # BORDER = 33554432 # SIMPLE_BORDER = 33554432 # STATIC_BORDER = 16777216 # NO_BORDER = 2097152 # ALWAYS_SHOW_SB = 8388608 # CLIP_CHILDREN = 4194304 # CLIP_SIBLINGS = 536870912 # TRANSPARENT_WINDOW = 1048576 # TAB_TRAVERSAL = 524288 # WANTS_CHARS = 262144 # RETAINED = 0 # BACKINGSTORE = 0 # POPUP_WINDOW = 131072 # FULL_REPAINT_ON_RESIZE = 65536 # NO_FULL_REPAINT_ON_RESIZE = 0 # WINDOW_STYLE_MASK = -65536 # WS_EX_BLOCK_EVENTS = 2 # WS_EX_TRANSIENT = 4 # WS_EX_THEMED_BACKGROUND = 8 # WS_EX_PROCESS_IDLE = 16 # WS_EX_PROCESS_UI_UPDATES = 32 # FRAME_EX_METAL = 64 # DIALOG_EX_METAL = 64 # WS_EX_CONTEXTHELP = 128 # FRAME_EX_CONTEXTHELP = 128 # DIALOG_EX_CONTEXTHELP = 128 # FRAME_DRAWER = 32 # FRAME_NO_WINDOW_MENU = 256 # MB_DOCKABLE = 1 # MENU_TEAROFF = 1 # COLOURED = 2048 # FIXED_LENGTH = 1024 # LB_SORT = 16 # LB_SINGLE = 32 # LB_MULTIPLE = 64 # LB_EXTENDED = 128 # LB_NEEDED_SB = 0 # LB_OWNERDRAW = 256 # LB_ALWAYS_SB = 512 # LB_NO_SB = 1024 # LB_HSCROLL = 1073741824 # LB_INT_HEIGHT = 2048 # CB_SIMPLE = 4 # CB_SORT = 8 # CB_READONLY = 16 # CB_DROPDOWN = 32 # RA_LEFTTORIGHT = 1 # RA_TOPTOBOTTOM = 2 # RA_SPECIFY_COLS = 4 # RA_SPECIFY_ROWS = 8 # RA_HORIZONTAL = 4 # RA_VERTICAL = 8 # RB_GROUP = 4 # RB_SINGLE = 8 # SB_HORIZONTAL = 4 # SB_VERTICAL = 8 # SP_HORIZONTAL = 4 # SP_VERTICAL = 8 # SP_ARROW_KEYS = 16384 # SP_WRAP = 32768 # TC_RIGHTJUSTIFY = 16 # TC_FIXEDWIDTH = 32 # TC_TOP = 0 # TC_LEFT = 32 # TC_RIGHT = 64 # TC_BOTTOM = 128 # TC_MULTILINE = 512 # TC_OWNERDRAW = 1024 # BI_EXPAND = 8192 # LI_HORIZONTAL = 4 # LI_VERTICAL = 8 # YES = 2 # OK = 4 # NO = 8 # YES_NO = 10 # CANCEL = 16 # APPLY = 32 # CLOSE = 64 # OK_DEFAULT = 0 # YES_DEFAULT = 0 # NO_DEFAULT = 128 # CANCEL_DEFAULT = -2147483648 # ICON_EXCLAMATION = 256 # ICON_HAND = 512 # ICON_WARNING = 256 # ICON_ERROR = 512 # ICON_QUESTION = 1024 # ICON_INFORMATION = 2048 # ICON_STOP = 512 # ICON_ASTERISK = 2048 # HELP = 4096 # FORWARD = 8192 # BACKWARD = 16384 # RESET = 32768 # MORE = 65536 # SETUP = 131072 # ICON_NONE = 262144 # ICON_AUTH_NEEDED = 524288 # ICON_MASK = 265984 # NOT_FOUND = -1 # PRINT_QUALITY_HIGH = -1 # PRINT_QUALITY_MEDIUM = -2 # PRINT_QUALITY_LOW = -3 # PRINT_QUALITY_DRAFT = -4 # STAY_ON_TOP = 32768 # ICONIZE = 16384 # MINIMIZE = 16384 # MAXIMIZE = 8192 # CLOSE_BOX = 4096 # SYSTEM_MENU = 2048 # MINIMIZE_BOX = 1024 # MAXIMIZE_BOX = 512 # TINY_CAPTION = 128 # RESIZE_BORDER = 64 # Generic flags. # # # class GeometryCentre < Wx::Enum # # CENTRE = Wx::GeometryCentre.new(1) # # CENTER = Wx::GeometryCentre.new(1) end # GeometryCentre # A generic orientation value. # # # class Orientation < Wx::Enum # # HORIZONTAL = Wx::Orientation.new(4) # # VERTICAL = Wx::Orientation.new(8) # A mask value to indicate both vertical and horizontal orientations. # BOTH = Wx::Orientation.new(12) # A synonym for {Wx::Orientation::BOTH}. # ORIENTATION_MASK = Wx::Orientation.new(12) end # Orientation # A generic direction value. # # # class Direction < Wx::Enum # # LEFT = Wx::Direction.new(16) # # RIGHT = Wx::Direction.new(32) # # UP = Wx::Direction.new(64) # # DOWN = Wx::Direction.new(128) # # TOP = Wx::Direction.new(64) # # BOTTOM = Wx::Direction.new(128) # # NORTH = Wx::Direction.new(64) # # SOUTH = Wx::Direction.new(128) # # WEST = Wx::Direction.new(16) # # EAST = Wx::Direction.new(32) # # ALL = Wx::Direction.new(240) # A mask to extract direction from the combination of flags. # DIRECTION_MASK = Wx::Direction.new(240) end # Direction # Generic alignment values. # # Can be combined together. # class Alignment < Wx::Enum # A value different from any valid alignment value. # ALIGN_INVALID = Wx::Alignment.new(-1) # # ALIGN_NOT = Wx::Alignment.new(0) # # ALIGN_CENTER_HORIZONTAL = Wx::Alignment.new(256) # # ALIGN_CENTRE_HORIZONTAL = Wx::Alignment.new(256) # # ALIGN_LEFT = Wx::Alignment.new(0) # # ALIGN_TOP = Wx::Alignment.new(0) # # ALIGN_RIGHT = Wx::Alignment.new(512) # # ALIGN_BOTTOM = Wx::Alignment.new(1024) # # ALIGN_CENTER_VERTICAL = Wx::Alignment.new(2048) # # ALIGN_CENTRE_VERTICAL = Wx::Alignment.new(2048) # # ALIGN_CENTER = Wx::Alignment.new(2304) # # ALIGN_CENTRE = Wx::Alignment.new(2304) # A mask to extract alignment from the combination of flags. # ALIGN_MASK = Wx::Alignment.new(3840) end # Alignment # Miscellaneous flags for {Wx::Sizer} items. # # # class SizerFlagBits < Wx::Enum # # FIXED_MINSIZE = Wx::SizerFlagBits.new(32768) # # RESERVE_SPACE_EVEN_IF_HIDDEN = Wx::SizerFlagBits.new(2) # # SIZER_FLAG_BITS_MASK = Wx::SizerFlagBits.new(32770) end # SizerFlagBits # Generic stretch values. # # # class Stretch < Wx::Enum # # STRETCH_NOT = Wx::Stretch.new(0) # # SHRINK = Wx::Stretch.new(4096) # # GROW = Wx::Stretch.new(8192) # # EXPAND = Wx::Stretch.new(8192) # # SHAPED = Wx::Stretch.new(16384) # # TILE = Wx::Stretch.new(49152) # # STRETCH_MASK = Wx::Stretch.new(28672) end # Stretch # Border flags for {Wx::Window}. # # # class Border < Wx::Enum # This is different from {Wx::Border::BORDER_NONE} as by default the controls do have a border. # BORDER_DEFAULT = Wx::Border.new(0) # # BORDER_NONE = Wx::Border.new(2097152) # # BORDER_STATIC = Wx::Border.new(16777216) # # BORDER_SIMPLE = Wx::Border.new(33554432) # # BORDER_RAISED = Wx::Border.new(67108864) # # BORDER_SUNKEN = Wx::Border.new(134217728) # # BORDER_DOUBLE = Wx::Border.new(268435456) # # BORDER_THEME = Wx::Border.new(268435456) # # BORDER_MASK = Wx::Border.new(522190848) end # Border # Background styles. # # # @see Wx::Window#set_background_style # # class BackgroundStyle < Wx::Enum # Default background style value indicating that the background may be erased in the user-defined EVT_ERASE_BACKGROUND handler. # BG_STYLE_ERASE = Wx::BackgroundStyle.new(0) # Use the default background, as determined by the system or the current theme. # BG_STYLE_SYSTEM = Wx::BackgroundStyle.new(1) # Indicates that the background is only erased in the user-defined EVT_PAINT handler. # BG_STYLE_PAINT = Wx::BackgroundStyle.new(2) # # BG_STYLE_COLOUR = Wx::BackgroundStyle.new(4) # Indicates that the window background is not erased, letting the parent window show through. # BG_STYLE_TRANSPARENT = Wx::BackgroundStyle.new(3) end # BackgroundStyle # Standard IDs. # # Notice that some, but not all, of these IDs are also stock IDs, i.e. you can use them for the button or menu items without specifying the label which will be provided by the underlying platform itself. See the list of stock items for the subset of standard IDs which are stock IDs as well. # class StandardID < Wx::Enum # This id delimits the lower bound of the range used by automatically-generated ids (i.e. those used when {Wx::StandardID::ID_ANY} is specified during construction). # ID_AUTO_LOWEST = Wx::StandardID.new(-32000) # This id delimits the upper bound of the range used by automatically-generated ids (i.e. those used when {Wx::StandardID::ID_ANY} is specified during construction). # ID_AUTO_HIGHEST = Wx::StandardID.new(-2000) # No id matches this one when compared to it. # ID_NONE = Wx::StandardID.new(-3) # Id for a separator line in the menu (invalid for normal item). # ID_SEPARATOR = Wx::StandardID.new(-2) # Any id: means that we don't care about the id, whether when installing an event handler or when creating a new window. # ID_ANY = Wx::StandardID.new(-1) # Start of the range reserved for wxWidgets-defined IDs. # ID_LOWEST = Wx::StandardID.new(4999) # # ID_OPEN = Wx::StandardID.new(5000) # # ID_CLOSE = Wx::StandardID.new(5001) # # ID_NEW = Wx::StandardID.new(5002) # # ID_SAVE = Wx::StandardID.new(5003) # # ID_SAVEAS = Wx::StandardID.new(5004) # # ID_REVERT = Wx::StandardID.new(5005) # # ID_EXIT = Wx::StandardID.new(5006) # # ID_UNDO = Wx::StandardID.new(5007) # # ID_REDO = Wx::StandardID.new(5008) # # ID_HELP = Wx::StandardID.new(5009) # # ID_PRINT = Wx::StandardID.new(5010) # # ID_PRINT_SETUP = Wx::StandardID.new(5011) # # ID_PAGE_SETUP = Wx::StandardID.new(5012) # # ID_PREVIEW = Wx::StandardID.new(5013) # # ID_ABOUT = Wx::StandardID.new(5014) # # ID_HELP_CONTENTS = Wx::StandardID.new(5015) # # ID_HELP_INDEX = Wx::StandardID.new(5016) # # ID_HELP_SEARCH = Wx::StandardID.new(5017) # # ID_HELP_COMMANDS = Wx::StandardID.new(5018) # # ID_HELP_PROCEDURES = Wx::StandardID.new(5019) # # ID_HELP_CONTEXT = Wx::StandardID.new(5020) # # ID_CLOSE_ALL = Wx::StandardID.new(5021) # # ID_PREFERENCES = Wx::StandardID.new(5022) # # ID_EDIT = Wx::StandardID.new(5030) # # ID_CUT = Wx::StandardID.new(5031) # # ID_COPY = Wx::StandardID.new(5032) # # ID_PASTE = Wx::StandardID.new(5033) # # ID_CLEAR = Wx::StandardID.new(5034) # # ID_FIND = Wx::StandardID.new(5035) # # ID_DUPLICATE = Wx::StandardID.new(5036) # # ID_SELECTALL = Wx::StandardID.new(5037) # # ID_DELETE = Wx::StandardID.new(5038) # # ID_REPLACE = Wx::StandardID.new(5039) # # ID_REPLACE_ALL = Wx::StandardID.new(5040) # # ID_PROPERTIES = Wx::StandardID.new(5041) # # ID_VIEW_DETAILS = Wx::StandardID.new(5042) # # ID_VIEW_LARGEICONS = Wx::StandardID.new(5043) # # ID_VIEW_SMALLICONS = Wx::StandardID.new(5044) # # ID_VIEW_LIST = Wx::StandardID.new(5045) # # ID_VIEW_SORTDATE = Wx::StandardID.new(5046) # # ID_VIEW_SORTNAME = Wx::StandardID.new(5047) # # ID_VIEW_SORTSIZE = Wx::StandardID.new(5048) # # ID_VIEW_SORTTYPE = Wx::StandardID.new(5049) # # ID_FILE = Wx::StandardID.new(5050) # # ID_FILE1 = Wx::StandardID.new(5051) # # ID_FILE2 = Wx::StandardID.new(5052) # # ID_FILE3 = Wx::StandardID.new(5053) # # ID_FILE4 = Wx::StandardID.new(5054) # # ID_FILE5 = Wx::StandardID.new(5055) # # ID_FILE6 = Wx::StandardID.new(5056) # # ID_FILE7 = Wx::StandardID.new(5057) # # ID_FILE8 = Wx::StandardID.new(5058) # # ID_FILE9 = Wx::StandardID.new(5059) # Standard button and menu IDs. # ID_OK = Wx::StandardID.new(5100) # # ID_CANCEL = Wx::StandardID.new(5101) # # ID_APPLY = Wx::StandardID.new(5102) # # ID_YES = Wx::StandardID.new(5103) # # ID_NO = Wx::StandardID.new(5104) # # ID_STATIC = Wx::StandardID.new(5105) # # ID_FORWARD = Wx::StandardID.new(5106) # # ID_BACKWARD = Wx::StandardID.new(5107) # # ID_DEFAULT = Wx::StandardID.new(5108) # # ID_MORE = Wx::StandardID.new(5109) # # ID_SETUP = Wx::StandardID.new(5110) # # ID_RESET = Wx::StandardID.new(5111) # # ID_CONTEXT_HELP = Wx::StandardID.new(5112) # # ID_YESTOALL = Wx::StandardID.new(5113) # # ID_NOTOALL = Wx::StandardID.new(5114) # # ID_ABORT = Wx::StandardID.new(5115) # # ID_RETRY = Wx::StandardID.new(5116) # # ID_IGNORE = Wx::StandardID.new(5117) # # ID_ADD = Wx::StandardID.new(5118) # # ID_REMOVE = Wx::StandardID.new(5119) # # ID_UP = Wx::StandardID.new(5120) # # ID_DOWN = Wx::StandardID.new(5121) # # ID_HOME = Wx::StandardID.new(5122) # # ID_REFRESH = Wx::StandardID.new(5123) # # ID_STOP = Wx::StandardID.new(5124) # # ID_INDEX = Wx::StandardID.new(5125) # # ID_BOLD = Wx::StandardID.new(5126) # # ID_ITALIC = Wx::StandardID.new(5127) # # ID_JUSTIFY_CENTER = Wx::StandardID.new(5128) # # ID_JUSTIFY_FILL = Wx::StandardID.new(5129) # # ID_JUSTIFY_RIGHT = Wx::StandardID.new(5130) # # ID_JUSTIFY_LEFT = Wx::StandardID.new(5131) # # ID_UNDERLINE = Wx::StandardID.new(5132) # # ID_INDENT = Wx::StandardID.new(5133) # # ID_UNINDENT = Wx::StandardID.new(5134) # # ID_ZOOM_100 = Wx::StandardID.new(5135) # # ID_ZOOM_FIT = Wx::StandardID.new(5136) # # ID_ZOOM_IN = Wx::StandardID.new(5137) # # ID_ZOOM_OUT = Wx::StandardID.new(5138) # # ID_UNDELETE = Wx::StandardID.new(5139) # # ID_REVERT_TO_SAVED = Wx::StandardID.new(5140) # # ID_CDROM = Wx::StandardID.new(5141) # # ID_CONVERT = Wx::StandardID.new(5142) # # ID_EXECUTE = Wx::StandardID.new(5143) # # ID_FLOPPY = Wx::StandardID.new(5144) # # ID_HARDDISK = Wx::StandardID.new(5145) # # ID_BOTTOM = Wx::StandardID.new(5146) # # ID_FIRST = Wx::StandardID.new(5147) # # ID_LAST = Wx::StandardID.new(5148) # # ID_TOP = Wx::StandardID.new(5149) # # ID_INFO = Wx::StandardID.new(5150) # # ID_JUMP_TO = Wx::StandardID.new(5151) # # ID_NETWORK = Wx::StandardID.new(5152) # # ID_SELECT_COLOR = Wx::StandardID.new(5153) # # ID_SELECT_FONT = Wx::StandardID.new(5154) # # ID_SORT_ASCENDING = Wx::StandardID.new(5155) # # ID_SORT_DESCENDING = Wx::StandardID.new(5156) # # ID_SPELL_CHECK = Wx::StandardID.new(5157) # # ID_STRIKETHROUGH = Wx::StandardID.new(5158) # System menu IDs (used by {Wx::Univ}): # ID_SYSTEM_MENU = Wx::StandardID.new(5200) # # ID_CLOSE_FRAME = Wx::StandardID.new(5201) # # ID_MOVE_FRAME = Wx::StandardID.new(5202) # # ID_RESIZE_FRAME = Wx::StandardID.new(5203) # # ID_MAXIMIZE_FRAME = Wx::StandardID.new(5204) # # ID_ICONIZE_FRAME = Wx::StandardID.new(5205) # # ID_RESTORE_FRAME = Wx::StandardID.new(5206) # MDI window menu ids. # ID_MDI_WINDOW_FIRST = Wx::StandardID.new(5230) # # ID_MDI_WINDOW_CASCADE = Wx::StandardID.new(5230) # # ID_MDI_WINDOW_TILE_HORZ = Wx::StandardID.new(5231) # # ID_MDI_WINDOW_TILE_VERT = Wx::StandardID.new(5232) # # ID_MDI_WINDOW_ARRANGE_ICONS = Wx::StandardID.new(5233) # # ID_MDI_WINDOW_PREV = Wx::StandardID.new(5234) # # ID_MDI_WINDOW_NEXT = Wx::StandardID.new(5235) # # ID_MDI_WINDOW_LAST = Wx::StandardID.new(5235) # IDs used by generic file dialog (13 consecutive starting from this value) # ID_FILEDLGG = Wx::StandardID.new(5900) # IDs used by generic file ctrl (4 consecutive starting from this value) # ID_FILECTRL = Wx::StandardID.new(5950) # End of the range reserved for wxWidgets-defined IDs. # ID_HIGHEST = Wx::StandardID.new(5999) end # StandardID # Item kinds for use with {Wx::Menu}, {Wx::MenuItem}, and {Wx::ToolBar}. # # # @see Wx::Menu#append # @see Wx::MenuItem#initialize # @see Wx::ToolBar#add_tool # # class ItemKind < Wx::Enum # # ITEM_SEPARATOR = Wx::ItemKind.new(-1) # Normal tool button / menu item. # ITEM_NORMAL = Wx::ItemKind.new(0) # Check (or toggle) tool button / menu item. # ITEM_CHECK = Wx::ItemKind.new(1) # Radio tool button / menu item. # ITEM_RADIO = Wx::ItemKind.new(2) # Normal tool button with a dropdown arrow next to it. # ITEM_DROPDOWN = Wx::ItemKind.new(3) # # ITEM_MAX = Wx::ItemKind.new(4) end # ItemKind # Generic hit test results. # # # class HitTest < Wx::Enum # # HT_NOWHERE = Wx::HitTest.new(0) # # HT_SCROLLBAR_FIRST = Wx::HitTest.new(0) # left or upper arrow to scroll by line # HT_SCROLLBAR_ARROW_LINE_1 = Wx::HitTest.new(1) # right or down # HT_SCROLLBAR_ARROW_LINE_2 = Wx::HitTest.new(2) # left or upper arrow to scroll by page # HT_SCROLLBAR_ARROW_PAGE_1 = Wx::HitTest.new(3) # right or down # HT_SCROLLBAR_ARROW_PAGE_2 = Wx::HitTest.new(4) # on the thumb # HT_SCROLLBAR_THUMB = Wx::HitTest.new(5) # bar to the left/above the thumb # HT_SCROLLBAR_BAR_1 = Wx::HitTest.new(6) # bar to the right/below the thumb # HT_SCROLLBAR_BAR_2 = Wx::HitTest.new(7) # # HT_SCROLLBAR_LAST = Wx::HitTest.new(8) # not in this window at all # HT_WINDOW_OUTSIDE = Wx::HitTest.new(9) # in the client area # HT_WINDOW_INSIDE = Wx::HitTest.new(10) # on the vertical scrollbar # HT_WINDOW_VERT_SCROLLBAR = Wx::HitTest.new(11) # on the horizontal scrollbar # HT_WINDOW_HORZ_SCROLLBAR = Wx::HitTest.new(12) # on the corner between 2 scrollbars # HT_WINDOW_CORNER = Wx::HitTest.new(13) # # HT_MAX = Wx::HitTest.new(14) end # HitTest # Data format IDs used by {Wx::DataFormat}. # # # class DataFormatId < Wx::Enum # # DF_INVALID = Wx::DataFormatId.new(0) # # DF_TEXT = Wx::DataFormatId.new(1) # # DF_BITMAP = Wx::DataFormatId.new(2) # # DF_METAFILE = Wx::DataFormatId.new(3) # # DF_SYLK = Wx::DataFormatId.new(4) # # DF_DIF = Wx::DataFormatId.new(5) # # DF_TIFF = Wx::DataFormatId.new(6) # # DF_OEMTEXT = Wx::DataFormatId.new(7) # # DF_DIB = Wx::DataFormatId.new(8) # # DF_PALETTE = Wx::DataFormatId.new(9) # # DF_PENDATA = Wx::DataFormatId.new(10) # # DF_RIFF = Wx::DataFormatId.new(11) # # DF_WAVE = Wx::DataFormatId.new(12) # # DF_UNICODETEXT = Wx::DataFormatId.new(13) # # DF_ENHMETAFILE = Wx::DataFormatId.new(14) # # DF_FILENAME = Wx::DataFormatId.new(15) # # DF_LOCALE = Wx::DataFormatId.new(16) # # DF_PRIVATE = Wx::DataFormatId.new(20) # # DF_HTML = Wx::DataFormatId.new(30) # # DF_PNG = Wx::DataFormatId.new(31) # # DF_MAX = Wx::DataFormatId.new(32) end # DataFormatId # Virtual keycodes used by {Wx::KeyEvent} and some other wxWidgets functions. # # Note that the range 0..255 corresponds to the characters of the current locale, in particular the 32..127 subrange is for the ASCII symbols, and all the special key values such as {Wx::K_END} lie above this range. # class KeyCode < Wx::Enum # No key. # K_NONE = Wx::KeyCode.new(0) # # K_CONTROL_A = Wx::KeyCode.new(1) # # K_CONTROL_B = Wx::KeyCode.new(2) # # K_CONTROL_C = Wx::KeyCode.new(3) # # K_CONTROL_D = Wx::KeyCode.new(4) # # K_CONTROL_E = Wx::KeyCode.new(5) # # K_CONTROL_F = Wx::KeyCode.new(6) # # K_CONTROL_G = Wx::KeyCode.new(7) # # K_CONTROL_H = Wx::KeyCode.new(8) # # K_CONTROL_I = Wx::KeyCode.new(9) # # K_CONTROL_J = Wx::KeyCode.new(10) # # K_CONTROL_K = Wx::KeyCode.new(11) # # K_CONTROL_L = Wx::KeyCode.new(12) # # K_CONTROL_M = Wx::KeyCode.new(13) # # K_CONTROL_N = Wx::KeyCode.new(14) # # K_CONTROL_O = Wx::KeyCode.new(15) # # K_CONTROL_P = Wx::KeyCode.new(16) # # K_CONTROL_Q = Wx::KeyCode.new(17) # # K_CONTROL_R = Wx::KeyCode.new(18) # # K_CONTROL_S = Wx::KeyCode.new(19) # # K_CONTROL_T = Wx::KeyCode.new(20) # # K_CONTROL_U = Wx::KeyCode.new(21) # # K_CONTROL_V = Wx::KeyCode.new(22) # # K_CONTROL_W = Wx::KeyCode.new(23) # # K_CONTROL_X = Wx::KeyCode.new(24) # # K_CONTROL_Y = Wx::KeyCode.new(25) # # K_CONTROL_Z = Wx::KeyCode.new(26) # Backspace. # K_BACK = Wx::KeyCode.new(8) # # K_TAB = Wx::KeyCode.new(9) # # K_RETURN = Wx::KeyCode.new(13) # # K_ESCAPE = Wx::KeyCode.new(27) # # K_SPACE = Wx::KeyCode.new(32) # # K_DELETE = Wx::KeyCode.new(127) # Special key values. # K_START = Wx::KeyCode.new(300) # # K_LBUTTON = Wx::KeyCode.new(301) # # K_RBUTTON = Wx::KeyCode.new(302) # # K_CANCEL = Wx::KeyCode.new(303) # # K_MBUTTON = Wx::KeyCode.new(304) # # K_CLEAR = Wx::KeyCode.new(305) # # K_SHIFT = Wx::KeyCode.new(306) # # K_ALT = Wx::KeyCode.new(307) # Note that under macOS, to improve compatibility with other systems, '{Wx::K_CONTROL}' represents the 'Command' key. # K_CONTROL = Wx::KeyCode.new(308) # Under macOS, where the 'Command' key is mapped to 'Control' to improve compatibility with other systems, {Wx::K_RAW}_CONTROL may be used to obtain the state of the actual 'Control' key ('{Wx::K_CONTROL}' would obtain the status of the 'Command' key). # K_RAW_CONTROL = Wx::KeyCode.new(308) # # K_MENU = Wx::KeyCode.new(309) # # K_PAUSE = Wx::KeyCode.new(310) # # K_CAPITAL = Wx::KeyCode.new(311) # # K_END = Wx::KeyCode.new(312) # # K_HOME = Wx::KeyCode.new(313) # # K_LEFT = Wx::KeyCode.new(314) # # K_UP = Wx::KeyCode.new(315) # # K_RIGHT = Wx::KeyCode.new(316) # # K_DOWN = Wx::KeyCode.new(317) # # K_SELECT = Wx::KeyCode.new(318) # # K_PRINT = Wx::KeyCode.new(319) # # K_EXECUTE = Wx::KeyCode.new(320) # # K_SNAPSHOT = Wx::KeyCode.new(321) # # K_INSERT = Wx::KeyCode.new(322) # # K_HELP = Wx::KeyCode.new(323) # # K_NUMPAD0 = Wx::KeyCode.new(324) # # K_NUMPAD1 = Wx::KeyCode.new(325) # # K_NUMPAD2 = Wx::KeyCode.new(326) # # K_NUMPAD3 = Wx::KeyCode.new(327) # # K_NUMPAD4 = Wx::KeyCode.new(328) # # K_NUMPAD5 = Wx::KeyCode.new(329) # # K_NUMPAD6 = Wx::KeyCode.new(330) # # K_NUMPAD7 = Wx::KeyCode.new(331) # # K_NUMPAD8 = Wx::KeyCode.new(332) # # K_NUMPAD9 = Wx::KeyCode.new(333) # # K_MULTIPLY = Wx::KeyCode.new(334) # # K_ADD = Wx::KeyCode.new(335) # # K_SEPARATOR = Wx::KeyCode.new(336) # # K_SUBTRACT = Wx::KeyCode.new(337) # # K_DECIMAL = Wx::KeyCode.new(338) # # K_DIVIDE = Wx::KeyCode.new(339) # # K_F1 = Wx::KeyCode.new(340) # # K_F2 = Wx::KeyCode.new(341) # # K_F3 = Wx::KeyCode.new(342) # # K_F4 = Wx::KeyCode.new(343) # # K_F5 = Wx::KeyCode.new(344) # # K_F6 = Wx::KeyCode.new(345) # # K_F7 = Wx::KeyCode.new(346) # # K_F8 = Wx::KeyCode.new(347) # # K_F9 = Wx::KeyCode.new(348) # # K_F10 = Wx::KeyCode.new(349) # # K_F11 = Wx::KeyCode.new(350) # # K_F12 = Wx::KeyCode.new(351) # # K_F13 = Wx::KeyCode.new(352) # # K_F14 = Wx::KeyCode.new(353) # # K_F15 = Wx::KeyCode.new(354) # # K_F16 = Wx::KeyCode.new(355) # # K_F17 = Wx::KeyCode.new(356) # # K_F18 = Wx::KeyCode.new(357) # # K_F19 = Wx::KeyCode.new(358) # # K_F20 = Wx::KeyCode.new(359) # # K_F21 = Wx::KeyCode.new(360) # # K_F22 = Wx::KeyCode.new(361) # # K_F23 = Wx::KeyCode.new(362) # # K_F24 = Wx::KeyCode.new(363) # # K_NUMLOCK = Wx::KeyCode.new(364) # # K_SCROLL = Wx::KeyCode.new(365) # # K_PAGEUP = Wx::KeyCode.new(366) # # K_PAGEDOWN = Wx::KeyCode.new(367) # # K_NUMPAD_SPACE = Wx::KeyCode.new(368) # # K_NUMPAD_TAB = Wx::KeyCode.new(369) # # K_NUMPAD_ENTER = Wx::KeyCode.new(370) # # K_NUMPAD_F1 = Wx::KeyCode.new(371) # # K_NUMPAD_F2 = Wx::KeyCode.new(372) # # K_NUMPAD_F3 = Wx::KeyCode.new(373) # # K_NUMPAD_F4 = Wx::KeyCode.new(374) # # K_NUMPAD_HOME = Wx::KeyCode.new(375) # # K_NUMPAD_LEFT = Wx::KeyCode.new(376) # # K_NUMPAD_UP = Wx::KeyCode.new(377) # # K_NUMPAD_RIGHT = Wx::KeyCode.new(378) # # K_NUMPAD_DOWN = Wx::KeyCode.new(379) # # K_NUMPAD_PAGEUP = Wx::KeyCode.new(380) # # K_NUMPAD_PAGEDOWN = Wx::KeyCode.new(381) # # K_NUMPAD_END = Wx::KeyCode.new(382) # # K_NUMPAD_BEGIN = Wx::KeyCode.new(383) # # K_NUMPAD_INSERT = Wx::KeyCode.new(384) # # K_NUMPAD_DELETE = Wx::KeyCode.new(385) # # K_NUMPAD_EQUAL = Wx::KeyCode.new(386) # # K_NUMPAD_MULTIPLY = Wx::KeyCode.new(387) # # K_NUMPAD_ADD = Wx::KeyCode.new(388) # # K_NUMPAD_SEPARATOR = Wx::KeyCode.new(389) # # K_NUMPAD_SUBTRACT = Wx::KeyCode.new(390) # # K_NUMPAD_DECIMAL = Wx::KeyCode.new(391) # # K_NUMPAD_DIVIDE = Wx::KeyCode.new(392) # The following key codes are only generated under Windows currently. # K_WINDOWS_LEFT = Wx::KeyCode.new(393) # # K_WINDOWS_RIGHT = Wx::KeyCode.new(394) # # K_WINDOWS_MENU = Wx::KeyCode.new(395) # This special key code was used to represent the key used for keyboard shortcuts. # K_COMMAND = Wx::KeyCode.new(308) # Hardware-specific buttons. # K_SPECIAL1 = Wx::KeyCode.new(397) # # K_SPECIAL2 = Wx::KeyCode.new(398) # # K_SPECIAL3 = Wx::KeyCode.new(399) # # K_SPECIAL4 = Wx::KeyCode.new(400) # # K_SPECIAL5 = Wx::KeyCode.new(401) # # K_SPECIAL6 = Wx::KeyCode.new(402) # # K_SPECIAL7 = Wx::KeyCode.new(403) # # K_SPECIAL8 = Wx::KeyCode.new(404) # # K_SPECIAL9 = Wx::KeyCode.new(405) # # K_SPECIAL10 = Wx::KeyCode.new(406) # # K_SPECIAL11 = Wx::KeyCode.new(407) # # K_SPECIAL12 = Wx::KeyCode.new(408) # # K_SPECIAL13 = Wx::KeyCode.new(409) # # K_SPECIAL14 = Wx::KeyCode.new(410) # # K_SPECIAL15 = Wx::KeyCode.new(411) # # K_SPECIAL16 = Wx::KeyCode.new(412) # # K_SPECIAL17 = Wx::KeyCode.new(413) # # K_SPECIAL18 = Wx::KeyCode.new(414) # # K_SPECIAL19 = Wx::KeyCode.new(415) # # K_SPECIAL20 = Wx::KeyCode.new(416) # Since wxWidgets 3.1.0. # K_BROWSER_BACK = Wx::KeyCode.new(417) # Since wxWidgets 3.1.0. # K_BROWSER_FORWARD = Wx::KeyCode.new(418) # Since wxWidgets 3.1.0. # K_BROWSER_REFRESH = Wx::KeyCode.new(419) # Since wxWidgets 3.1.0. # K_BROWSER_STOP = Wx::KeyCode.new(420) # Since wxWidgets 3.1.0. # K_BROWSER_SEARCH = Wx::KeyCode.new(421) # Since wxWidgets 3.1.0. # K_BROWSER_FAVORITES = Wx::KeyCode.new(422) # Since wxWidgets 3.1.0. # K_BROWSER_HOME = Wx::KeyCode.new(423) # Since wxWidgets 3.1.0. # K_VOLUME_MUTE = Wx::KeyCode.new(424) # Since wxWidgets 3.1.0. # K_VOLUME_DOWN = Wx::KeyCode.new(425) # Since wxWidgets 3.1.0. # K_VOLUME_UP = Wx::KeyCode.new(426) # Since wxWidgets 3.1.0. # K_MEDIA_NEXT_TRACK = Wx::KeyCode.new(427) # Since wxWidgets 3.1.0. # K_MEDIA_PREV_TRACK = Wx::KeyCode.new(428) # Since wxWidgets 3.1.0. # K_MEDIA_STOP = Wx::KeyCode.new(429) # Since wxWidgets 3.1.0. # K_MEDIA_PLAY_PAUSE = Wx::KeyCode.new(430) # Since wxWidgets 3.1.0. # K_LAUNCH_MAIL = Wx::KeyCode.new(431) # First application launch key. # K_LAUNCH_APP1 = Wx::KeyCode.new(442) # Second application launch key. # K_LAUNCH_APP2 = Wx::KeyCode.new(443) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_0 = Wx::KeyCode.new(432) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_1 = Wx::KeyCode.new(433) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_2 = Wx::KeyCode.new(434) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_3 = Wx::KeyCode.new(435) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_4 = Wx::KeyCode.new(436) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_5 = Wx::KeyCode.new(437) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_6 = Wx::KeyCode.new(438) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_7 = Wx::KeyCode.new(439) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_8 = Wx::KeyCode.new(440) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_9 = Wx::KeyCode.new(441) # Available since wxWidgets 3.1.6, generated by {Wx::GTK} and {Wx::MSW}. # K_LAUNCH_A = Wx::KeyCode.new(442) # Available since wxWidgets 3.1.6, generated by {Wx::GTK} and {Wx::MSW}. # K_LAUNCH_B = Wx::KeyCode.new(443) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_C = Wx::KeyCode.new(444) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_D = Wx::KeyCode.new(445) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_E = Wx::KeyCode.new(446) # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}. # K_LAUNCH_F = Wx::KeyCode.new(447) end # KeyCode # This enum contains bit mask constants used in {Wx::KeyEvent}. # # # class KeyModifier < Wx::Enum # # MOD_NONE = Wx::KeyModifier.new(0) # # MOD_ALT = Wx::KeyModifier.new(1) # Ctlr Key, corresponds to Command key on macOS. # MOD_CONTROL = Wx::KeyModifier.new(2) # # MOD_ALTGR = Wx::KeyModifier.new(3) # # MOD_SHIFT = Wx::KeyModifier.new(4) # # MOD_META = Wx::KeyModifier.new(8) # # MOD_WIN = Wx::KeyModifier.new(8) # used to describe the true Ctrl Key under macOS, identic to {Wx::KeyModifier::MOD_CONTROL} on other platforms # MOD_RAW_CONTROL = Wx::KeyModifier.new(2) # deprecated, identic to {Wx::KeyModifier::MOD_CONTROL} on all platforms # MOD_CMD = Wx::KeyModifier.new(2) # # MOD_ALL = Wx::KeyModifier.new(65535) end # KeyModifier # Paper size types for use with the printing framework. # # # @see overview_printing # @see Wx::PRT::PrintData#set_paper_id # # class PaperSize < Wx::Enum # 10 x 11 in # PAPER_10X11 = Wx::PaperSize.new(45) # 10-by-14-inch sheet # PAPER_10X14 = Wx::PaperSize.new(19) # 11-by-17-inch sheet # PAPER_11X17 = Wx::PaperSize.new(20) # 12 x 11 in # PAPER_12X11 = Wx::PaperSize.new(88) # 15 x 11 in # PAPER_15X11 = Wx::PaperSize.new(46) # 9 x 11 in # PAPER_9X11 = Wx::PaperSize.new(44) # A2 420 x 594 mm. # PAPER_A2 = Wx::PaperSize.new(64) # A3 sheet, 297 by 420 millimeters. # PAPER_A3 = Wx::PaperSize.new(12) # A3 Extra 322 x 445 mm. # PAPER_A3_EXTRA = Wx::PaperSize.new(61) # A3 Extra Transverse 322 x 445 mm. # PAPER_A3_EXTRA_TRANSVERSE = Wx::PaperSize.new(66) # A3 Rotated 420 x 297 mm. # PAPER_A3_ROTATED = Wx::PaperSize.new(74) # A3 Transverse 297 x 420 mm. # PAPER_A3_TRANSVERSE = Wx::PaperSize.new(65) # A4 Sheet, 210 by 297 millimeters. # PAPER_A4 = Wx::PaperSize.new(3) # A4 small sheet, 210 by 297 millimeters. # PAPER_A4SMALL = Wx::PaperSize.new(13) # A4 Extra 9.27 x 12.69 in. # PAPER_A4_EXTRA = Wx::PaperSize.new(51) # A4 Plus 210 x 330 mm. # PAPER_A4_PLUS = Wx::PaperSize.new(58) # A4 Rotated 297 x 210 mm. # PAPER_A4_ROTATED = Wx::PaperSize.new(75) # A4 Transverse 210 x 297 mm. # PAPER_A4_TRANSVERSE = Wx::PaperSize.new(53) # A5 sheet, 148 by 210 millimeters. # PAPER_A5 = Wx::PaperSize.new(14) # A5 Extra 174 x 235 mm. # PAPER_A5_EXTRA = Wx::PaperSize.new(62) # A5 Rotated 210 x 148 mm. # PAPER_A5_ROTATED = Wx::PaperSize.new(76) # A5 Transverse 148 x 210 mm. # PAPER_A5_TRANSVERSE = Wx::PaperSize.new(59) # A6 105 x 148 mm. # PAPER_A6 = Wx::PaperSize.new(68) # A6 Rotated 148 x 105 mm. # PAPER_A6_ROTATED = Wx::PaperSize.new(81) # SuperA/SuperA/A4 227 x 356 mm. # PAPER_A_PLUS = Wx::PaperSize.new(55) # B4 sheet, 250 by 354 millimeters. # PAPER_B4 = Wx::PaperSize.new(15) # B4 (JIS) Rotated 364 x 257 mm. # PAPER_B4_JIS_ROTATED = Wx::PaperSize.new(77) # B5 sheet, 182-by-257-millimeter paper. # PAPER_B5 = Wx::PaperSize.new(16) # B5 (ISO) Extra 201 x 276 mm. # PAPER_B5_EXTRA = Wx::PaperSize.new(63) # B5 (JIS) Rotated 257 x 182 mm. # PAPER_B5_JIS_ROTATED = Wx::PaperSize.new(78) # B5 (JIS) Transverse 182 x 257 mm. # PAPER_B5_TRANSVERSE = Wx::PaperSize.new(60) # B6 (JIS) 128 x 182 mm. # PAPER_B6_JIS = Wx::PaperSize.new(86) # B6 (JIS) Rotated 182 x 128 mm. # PAPER_B6_JIS_ROTATED = Wx::PaperSize.new(87) # SuperB/SuperB/A3 305 x 487 mm. # PAPER_B_PLUS = Wx::PaperSize.new(56) # C Sheet, 17 by 22 inches. # PAPER_CSHEET = Wx::PaperSize.new(4) # Japanese Double Postcard 200 x 148 mm. # PAPER_DBL_JAPANESE_POSTCARD = Wx::PaperSize.new(67) # Double Japanese Postcard Rotated 148 x 200 mm. # PAPER_DBL_JAPANESE_POSTCARD_ROTATED = Wx::PaperSize.new(80) # D Sheet, 22 by 34 inches. # PAPER_DSHEET = Wx::PaperSize.new(5) # #10 Envelope, 4 1/8 by 9 1/2 inches # PAPER_ENV_10 = Wx::PaperSize.new(23) # #11 Envelope, 4 1/2 by 10 3/8 inches # PAPER_ENV_11 = Wx::PaperSize.new(24) # #12 Envelope, 4 3/4 by 11 inches # PAPER_ENV_12 = Wx::PaperSize.new(25) # #14 Envelope, 5 by 11 1/2 inches # PAPER_ENV_14 = Wx::PaperSize.new(26) # #9 Envelope, 3 7/8 by 8 7/8 inches # PAPER_ENV_9 = Wx::PaperSize.new(22) # B4 Envelope, 250 by 353 millimeters. # PAPER_ENV_B4 = Wx::PaperSize.new(33) # B5 Envelope, 176 by 250 millimeters. # PAPER_ENV_B5 = Wx::PaperSize.new(34) # B6 Envelope, 176 by 125 millimeters. # PAPER_ENV_B6 = Wx::PaperSize.new(35) # C3 Envelope, 324 by 458 millimeters. # PAPER_ENV_C3 = Wx::PaperSize.new(29) # C4 Envelope, 229 by 324 millimeters. # PAPER_ENV_C4 = Wx::PaperSize.new(30) # C5 Envelope, 162 by 229 millimeters. # PAPER_ENV_C5 = Wx::PaperSize.new(28) # C6 Envelope, 114 by 162 millimeters. # PAPER_ENV_C6 = Wx::PaperSize.new(31) # C65 Envelope, 114 by 229 millimeters. # PAPER_ENV_C65 = Wx::PaperSize.new(32) # DL Envelope, 110 by 220 millimeters. # PAPER_ENV_DL = Wx::PaperSize.new(27) # Envelope Invite 220 x 220 mm. # PAPER_ENV_INVITE = Wx::PaperSize.new(47) # Italy Envelope, 110 by 230 millimeters. # PAPER_ENV_ITALY = Wx::PaperSize.new(36) # Monarch Envelope, 3 7/8 by 7 1/2 inches. # PAPER_ENV_MONARCH = Wx::PaperSize.new(37) # 6 3/4 Envelope, 3 5/8 by 6 1/2 inches # PAPER_ENV_PERSONAL = Wx::PaperSize.new(38) # E Sheet, 34 by 44 inches. # PAPER_ESHEET = Wx::PaperSize.new(6) # Executive, 7 1/4 by 10 1/2 inches. # PAPER_EXECUTIVE = Wx::PaperSize.new(11) # German Legal Fanfold, 8 1/2 by 13 inches. # PAPER_FANFOLD_LGL_GERMAN = Wx::PaperSize.new(41) # German Std Fanfold, 8 1/2 by 12 inches. # PAPER_FANFOLD_STD_GERMAN = Wx::PaperSize.new(40) # US Std Fanfold, 14 7/8 by 11 inches. # PAPER_FANFOLD_US = Wx::PaperSize.new(39) # Folio, 8-1/2-by-13-inch paper. # PAPER_FOLIO = Wx::PaperSize.new(17) # B4 (ISO) 250 x 353 mm. # PAPER_ISO_B4 = Wx::PaperSize.new(42) # Japanese Postcard 100 x 148 mm. # PAPER_JAPANESE_POSTCARD = Wx::PaperSize.new(43) # Japanese Postcard Rotated 148 x 100 mm. # PAPER_JAPANESE_POSTCARD_ROTATED = Wx::PaperSize.new(79) # Japanese Envelope Chou #3. # PAPER_JENV_CHOU3 = Wx::PaperSize.new(71) # Japanese Envelope Chou #3 Rotated. # PAPER_JENV_CHOU3_ROTATED = Wx::PaperSize.new(84) # Japanese Envelope Chou #4. # PAPER_JENV_CHOU4 = Wx::PaperSize.new(72) # Japanese Envelope Chou #4 Rotated. # PAPER_JENV_CHOU4_ROTATED = Wx::PaperSize.new(85) # Japanese Envelope Kaku #2. # PAPER_JENV_KAKU2 = Wx::PaperSize.new(69) # Japanese Envelope Kaku #2 Rotated. # PAPER_JENV_KAKU2_ROTATED = Wx::PaperSize.new(82) # Japanese Envelope Kaku #3. # PAPER_JENV_KAKU3 = Wx::PaperSize.new(70) # Japanese Envelope Kaku #3 Rotated. # PAPER_JENV_KAKU3_ROTATED = Wx::PaperSize.new(83) # Japanese Envelope You #4. # PAPER_JENV_YOU4 = Wx::PaperSize.new(89) # Japanese Envelope You #4 Rotated. # PAPER_JENV_YOU4_ROTATED = Wx::PaperSize.new(90) # Ledger, 17 by 11 inches. # PAPER_LEDGER = Wx::PaperSize.new(9) # Legal, 8 1/2 by 14 inches. # PAPER_LEGAL = Wx::PaperSize.new(2) # Legal Extra 9.5 x 15 in. # PAPER_LEGAL_EXTRA = Wx::PaperSize.new(49) # Letter, 8 1/2 by 11 inches. # PAPER_LETTER = Wx::PaperSize.new(1) # Letter Small, 8 1/2 by 11 inches. # PAPER_LETTERSMALL = Wx::PaperSize.new(7) # Letter Extra 9.5 x 12 in. # PAPER_LETTER_EXTRA = Wx::PaperSize.new(48) # Letter Extra Transverse 9.5 x 12 in. # PAPER_LETTER_EXTRA_TRANSVERSE = Wx::PaperSize.new(54) # Letter Plus 8.5 x 12.69 in. # PAPER_LETTER_PLUS = Wx::PaperSize.new(57) # Letter Rotated 11 x 8 1/2 in. # PAPER_LETTER_ROTATED = Wx::PaperSize.new(73) # Letter Transverse 8.5 x 11 in. # PAPER_LETTER_TRANSVERSE = Wx::PaperSize.new(52) # Use specific dimensions. # PAPER_NONE = Wx::PaperSize.new(0) # Note, 8 1/2 by 11 inches. # PAPER_NOTE = Wx::PaperSize.new(21) # PRC 16K 146 x 215 mm. # PAPER_P16K = Wx::PaperSize.new(91) # PRC 16K Rotated. # PAPER_P16K_ROTATED = Wx::PaperSize.new(104) # PRC 32K 97 x 151 mm. # PAPER_P32K = Wx::PaperSize.new(92) # PRC 32K(Big) 97 x 151 mm. # PAPER_P32KBIG = Wx::PaperSize.new(93) # PRC 32K(Big) Rotated. # PAPER_P32KBIG_ROTATED = Wx::PaperSize.new(106) # PRC 32K Rotated. # PAPER_P32K_ROTATED = Wx::PaperSize.new(105) # PRC Envelope #1 102 x 165 mm. # PAPER_PENV_1 = Wx::PaperSize.new(94) # PRC Envelope #10 324 x 458 mm. # PAPER_PENV_10 = Wx::PaperSize.new(103) # PRC Envelope #10 Rotated 458 x 324 m. # PAPER_PENV_10_ROTATED = Wx::PaperSize.new(116) # PRC Envelope #1 Rotated 165 x 102 mm. # PAPER_PENV_1_ROTATED = Wx::PaperSize.new(107) # PRC Envelope #2 102 x 176 mm. # PAPER_PENV_2 = Wx::PaperSize.new(95) # PRC Envelope #2 Rotated 176 x 102 mm. # PAPER_PENV_2_ROTATED = Wx::PaperSize.new(108) # PRC Envelope #3 125 x 176 mm. # PAPER_PENV_3 = Wx::PaperSize.new(96) # PRC Envelope #3 Rotated 176 x 125 mm. # PAPER_PENV_3_ROTATED = Wx::PaperSize.new(109) # PRC Envelope #4 110 x 208 mm. # PAPER_PENV_4 = Wx::PaperSize.new(97) # PRC Envelope #4 Rotated 208 x 110 mm. # PAPER_PENV_4_ROTATED = Wx::PaperSize.new(110) # PRC Envelope #5 110 x 220 mm. # PAPER_PENV_5 = Wx::PaperSize.new(98) # PRC Envelope #5 Rotated 220 x 110 mm. # PAPER_PENV_5_ROTATED = Wx::PaperSize.new(111) # PRC Envelope #6 120 x 230 mm. # PAPER_PENV_6 = Wx::PaperSize.new(99) # PRC Envelope #6 Rotated 230 x 120 mm. # PAPER_PENV_6_ROTATED = Wx::PaperSize.new(112) # PRC Envelope #7 160 x 230 mm. # PAPER_PENV_7 = Wx::PaperSize.new(100) # PRC Envelope #7 Rotated 230 x 160 mm. # PAPER_PENV_7_ROTATED = Wx::PaperSize.new(113) # PRC Envelope #8 120 x 309 mm. # PAPER_PENV_8 = Wx::PaperSize.new(101) # PRC Envelope #8 Rotated 309 x 120 mm. # PAPER_PENV_8_ROTATED = Wx::PaperSize.new(114) # PRC Envelope #9 229 x 324 mm. # PAPER_PENV_9 = Wx::PaperSize.new(102) # PRC Envelope #9 Rotated 324 x 229 mm. # PAPER_PENV_9_ROTATED = Wx::PaperSize.new(115) # Quarto, 215-by-275-millimeter paper. # PAPER_QUARTO = Wx::PaperSize.new(18) # Statement, 5 1/2 by 8 1/2 inches. # PAPER_STATEMENT = Wx::PaperSize.new(10) # Tabloid, 11 by 17 inches. # PAPER_TABLOID = Wx::PaperSize.new(8) # Tabloid Extra 11.69 x 18 in. # PAPER_TABLOID_EXTRA = Wx::PaperSize.new(50) end # PaperSize # Printing orientation. # # # class PrintOrientation < Wx::Enum # # PORTRAIT = Wx::PrintOrientation.new(1) # # LANDSCAPE = Wx::PrintOrientation.new(2) end # PrintOrientation # Duplex printing modes. # # # class DuplexMode < Wx::Enum # Non-duplex. # DUPLEX_SIMPLEX = Wx::DuplexMode.new(0) # # DUPLEX_HORIZONTAL = Wx::DuplexMode.new(1) # # DUPLEX_VERTICAL = Wx::DuplexMode.new(2) end # DuplexMode # Print mode (currently PostScript only). # # # class PrintMode < Wx::Enum # # PRINT_MODE_NONE = Wx::PrintMode.new(0) # Preview in external application. # PRINT_MODE_PREVIEW = Wx::PrintMode.new(1) # Print to file. # PRINT_MODE_FILE = Wx::PrintMode.new(2) # Send to printer. # PRINT_MODE_PRINTER = Wx::PrintMode.new(3) # Send postscript data into a stream. # PRINT_MODE_STREAM = Wx::PrintMode.new(4) end # PrintMode # Flags which can be used in {Wx::Window#update_window_ui}. # # # class UpdateUI < Wx::Enum # # UPDATE_UI_NONE = Wx::UpdateUI.new(0) # # UPDATE_UI_RECURSE = Wx::UpdateUI.new(1) # Invoked from On(Internal)Idle. # UPDATE_UI_FROMIDLE = Wx::UpdateUI.new(2) end # UpdateUI # A special value meaning "use default coordinate". # DEFAULT_COORD = -1 end