Class: Wx::SystemMetric

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

Overview

Possible values for Wx::SystemSettings.get_metric index parameter.

Constant Summary collapse

SYS_MOUSE_BUTTONS =

Number of buttons on mouse, or zero if no mouse was installed.

Wx::SystemMetric.new(1)
SYS_BORDER_X =

Width of single border.

Wx::SystemMetric.new(2)
SYS_BORDER_Y =

Height of single border.

Wx::SystemMetric.new(3)
SYS_CURSOR_X =

Width of cursor.

Wx::SystemMetric.new(4)
SYS_CURSOR_Y =

Height of cursor.

Wx::SystemMetric.new(5)
SYS_DCLICK_X =

Width in pixels of rectangle within which two successive mouse clicks must fall to generate a double-click.

Wx::SystemMetric.new(6)
SYS_DCLICK_Y =

Height in pixels of rectangle within which two successive mouse clicks must fall to generate a double-click.

Wx::SystemMetric.new(7)
SYS_DRAG_X =

Width in pixels of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins.

Wx::SystemMetric.new(8)
SYS_DRAG_Y =

Height in pixels of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins.

Wx::SystemMetric.new(9)
SYS_EDGE_X =

Width of a 3D border, in pixels.

Wx::SystemMetric.new(10)
SYS_EDGE_Y =

Height of a 3D border, in pixels.

Wx::SystemMetric.new(11)
SYS_HSCROLL_ARROW_X =

Width of arrow bitmap on horizontal scrollbar.

Wx::SystemMetric.new(12)
SYS_HSCROLL_ARROW_Y =

Height of arrow bitmap on horizontal scrollbar.

Wx::SystemMetric.new(13)
SYS_HTHUMB_X =

Width of horizontal scrollbar thumb.

Wx::SystemMetric.new(14)
SYS_ICON_X =

The default width of an icon.

Wx::SystemMetric.new(15)
SYS_ICON_Y =

The default height of an icon.

Wx::SystemMetric.new(16)
SYS_ICONSPACING_X =

Width of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of this size when arranged.

Wx::SystemMetric.new(17)
SYS_ICONSPACING_Y =

Height of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of this size when arranged.

Wx::SystemMetric.new(18)
SYS_WINDOWMIN_X =

Minimum width of a window.

Wx::SystemMetric.new(19)
SYS_WINDOWMIN_Y =

Minimum height of a window.

Wx::SystemMetric.new(20)
SYS_SCREEN_X =

Width of the screen in pixels.

Wx::SystemMetric.new(21)
SYS_SCREEN_Y =

Height of the screen in pixels.

Wx::SystemMetric.new(22)
SYS_FRAMESIZE_X =

Width of the window frame for a THICK_FRAME window.

Wx::SystemMetric.new(23)
SYS_FRAMESIZE_Y =

Height of the window frame for a THICK_FRAME window.

Wx::SystemMetric.new(24)
SYS_SMALLICON_X =

Recommended width of a small icon (in window captions, and small icon view).

Wx::SystemMetric.new(25)
SYS_SMALLICON_Y =

Recommended height of a small icon (in window captions, and small icon view).

Wx::SystemMetric.new(26)
SYS_HSCROLL_Y =

Height of horizontal scrollbar in pixels.

Wx::SystemMetric.new(27)
SYS_VSCROLL_X =

Width of vertical scrollbar in pixels.

Wx::SystemMetric.new(28)
SYS_VSCROLL_ARROW_X =

Width of arrow bitmap on a vertical scrollbar.

Wx::SystemMetric.new(29)
SYS_VSCROLL_ARROW_Y =

Height of arrow bitmap on a vertical scrollbar.

Wx::SystemMetric.new(30)
SYS_VTHUMB_Y =

Height of vertical scrollbar thumb.

Wx::SystemMetric.new(31)
SYS_CAPTION_Y =

Height of normal caption area.

Wx::SystemMetric.new(32)
SYS_MENU_Y =

Height of single-line menu bar.

Wx::SystemMetric.new(33)
SYS_NETWORK_PRESENT =

1 if there is a network present, 0 otherwise.

Wx::SystemMetric.new(34)
SYS_PENWINDOWS_PRESENT =

1 if PenWindows is installed, 0 otherwise.

Wx::SystemMetric.new(35)
SYS_SHOW_SOUNDS =

Non-zero if the user requires an application to present information visually in situations where it would otherwise present the information only in audible form; zero otherwise.

Wx::SystemMetric.new(36)
SYS_SWAP_BUTTONS =

Non-zero if the meanings of the left and right mouse buttons are swapped; zero otherwise.

Wx::SystemMetric.new(37)
SYS_DCLICK_MSEC =

Maximal time, in milliseconds, which may pass between subsequent clicks for a double click to be generated.

Wx::SystemMetric.new(38)
SYS_CARET_ON_MSEC =

Time, in milliseconds, for how long a blinking caret should stay visible during a single blink cycle before it disappears.

Wx::SystemMetric.new(39)
SYS_CARET_OFF_MSEC =

Time, in milliseconds, for how long a blinking caret should stay invisible during a single blink cycle before it reappears.

Wx::SystemMetric.new(40)
SYS_CARET_TIMEOUT_MSEC =

Time, in milliseconds, for how long a caret should blink after a user interaction.

Wx::SystemMetric.new(41)

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