Class: Wx::SystemColour

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

Overview

Possible values for Wx::SystemSettings.get_colour parameter.

These values map 1:1 the native values supported by the Windows’ GetSysColor function. Note that other ports (other than WXMSW) will try to provide meaningful colours but they usually map the same colour to various wxSYS_COLOUR_* values.

Constant Summary collapse

SYS_COLOUR_SCROLLBAR =

The scrollbar grey area.

Wx::SystemColour.new(0)
SYS_COLOUR_DESKTOP =

The desktop colour.

Wx::SystemColour.new(1)
SYS_COLOUR_ACTIVECAPTION =

Active window caption colour.

Wx::SystemColour.new(2)
SYS_COLOUR_INACTIVECAPTION =

Inactive window caption colour.

Wx::SystemColour.new(3)
SYS_COLOUR_MENU =

Menu background colour.

Wx::SystemColour.new(4)
SYS_COLOUR_WINDOW =

Window background colour.

Wx::SystemColour.new(5)
SYS_COLOUR_WINDOWFRAME =

Window frame colour.

Wx::SystemColour.new(6)
SYS_COLOUR_MENUTEXT =

Colour of the text used in the menus.

Wx::SystemColour.new(7)
SYS_COLOUR_WINDOWTEXT =

Colour of the text used in generic windows.

Wx::SystemColour.new(8)
SYS_COLOUR_CAPTIONTEXT =

Colour of the text used in captions, size boxes and scrollbar arrow boxes.

Wx::SystemColour.new(9)
SYS_COLOUR_ACTIVEBORDER =

Active window border colour.

Wx::SystemColour.new(10)
SYS_COLOUR_INACTIVEBORDER =

Inactive window border colour.

Wx::SystemColour.new(11)
SYS_COLOUR_APPWORKSPACE =

Background colour for MDI applications.

Wx::SystemColour.new(12)
SYS_COLOUR_HIGHLIGHT =

Colour of item(s) selected in a control.

Wx::SystemColour.new(13)
SYS_COLOUR_HIGHLIGHTTEXT =

Colour of the text of item(s) selected in a control.

Wx::SystemColour.new(14)
SYS_COLOUR_BTNFACE =

Face shading colour on push buttons.

Wx::SystemColour.new(15)
SYS_COLOUR_BTNSHADOW =

Edge shading colour on push buttons.

Wx::SystemColour.new(16)
SYS_COLOUR_GRAYTEXT =

Colour of greyed (disabled) text.

Wx::SystemColour.new(17)
SYS_COLOUR_BTNTEXT =

Colour of the text on push buttons.

Wx::SystemColour.new(18)
SYS_COLOUR_INACTIVECAPTIONTEXT =

Colour of the text in inactive captions.

Wx::SystemColour.new(19)
SYS_COLOUR_BTNHIGHLIGHT =

Highlight colour for buttons.

Wx::SystemColour.new(20)
SYS_COLOUR_3DDKSHADOW =

Dark shadow colour for three-dimensional display elements.

Wx::SystemColour.new(21)
SYS_COLOUR_3DLIGHT =

Light colour for three-dimensional display elements.

Wx::SystemColour.new(22)
SYS_COLOUR_INFOTEXT =

Text colour for tooltip controls.

Wx::SystemColour.new(23)
SYS_COLOUR_INFOBK =

Background colour for tooltip controls.

Wx::SystemColour.new(24)
SYS_COLOUR_LISTBOX =

Background colour for list-like controls.

Wx::SystemColour.new(25)
SYS_COLOUR_HOTLIGHT =

Colour for a hyperlink or hot-tracked item.

Wx::SystemColour.new(26)
SYS_COLOUR_GRADIENTACTIVECAPTION =

Right side colour in the colour gradient of an active window’s title bar.

Wx::SystemColour.new(27)
SYS_COLOUR_GRADIENTINACTIVECAPTION =

Right side colour in the colour gradient of an inactive window’s title bar.

Wx::SystemColour.new(28)
SYS_COLOUR_MENUHILIGHT =

The colour used to highlight menu items when the menu appears as a flat menu.

Wx::SystemColour.new(29)
SYS_COLOUR_MENUBAR =

The background colour for the menu bar when menus appear as flat menus.

Wx::SystemColour.new(30)
SYS_COLOUR_LISTBOXTEXT =

Text colour for list-like controls.

Wx::SystemColour.new(31)
SYS_COLOUR_LISTBOXHIGHLIGHTTEXT =

Text colour for the unfocused selection of list-like controls.

Wx::SystemColour.new(32)
SYS_COLOUR_BACKGROUND =

Synonym for SYS_COLOUR_DESKTOP.

Wx::SystemColour.new(1)
SYS_COLOUR_3DFACE =

Synonym for SYS_COLOUR_BTNFACE.

Wx::SystemColour.new(15)
SYS_COLOUR_3DSHADOW =

Synonym for SYS_COLOUR_BTNSHADOW.

Wx::SystemColour.new(16)
SYS_COLOUR_BTNHILIGHT =
Wx::SystemColour.new(20)
SYS_COLOUR_3DHIGHLIGHT =
Wx::SystemColour.new(20)
SYS_COLOUR_3DHILIGHT =
Wx::SystemColour.new(20)
SYS_COLOUR_FRAMEBK =

Synonym for SYS_COLOUR_BTNFACE.

Wx::SystemColour.new(15)

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