Class: Wx::PG::ColourPropertyValue

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/pg/pg_properties.rb

Overview

Note:

This class is untracked and should not be derived from nor instances extended!

Because text, background and other colours tend to differ between platforms, SystemColourProperty must be able to select between system colour and, when necessary, to pick a custom one.

SystemColourProperty value makes this possible.

Requires:

  • USE_PROPGRID

Instance Method Summary collapse

Methods inherited from Object

#clone, #dup, #is_same_as, #un_share

Constructor Details

#initializeWx::PG::ColourPropertyValue #initialize(v) ⇒ Wx::PG::ColourPropertyValue #initialize(colour) ⇒ Wx::PG::ColourPropertyValue #initialize(type) ⇒ Wx::PG::ColourPropertyValue #initialize(type, colour) ⇒ Wx::PG::ColourPropertyValue

Returns a new instance of ColourPropertyValue.

Overloads:



2779
# File 'lib/wx/doc/gen/pg/pg_properties.rb', line 2779

def initialize(*args) end

Instance Method Details

#colour_Wx::Colour

Resulting colour. Should be correct regardless of type.

Returns:



2756
# File 'lib/wx/doc/gen/pg/pg_properties.rb', line 2756

def colour_; end

#colour_=(val) ⇒ void

This method returns an undefined value.

Resulting colour. Should be correct regardless of type.

Parameters:



2762
# File 'lib/wx/doc/gen/pg/pg_properties.rb', line 2762

def colour_=(val); end

#init(type, colour) ⇒ void

This method returns an undefined value.

Parameters:

  • type (Integer)
  • colour (Wx::Colour, String, Symbol)


2784
# File 'lib/wx/doc/gen/pg/pg_properties.rb', line 2784

def init(type, colour) end

#type_Integer

An integer value relating to the colour, and which exact meaning depends on the property with which it is used. For SystemColourProperty: Any of SYS_COLOUR_XXX, or any web-colour ( use Wx::PG_TO_WEB_COLOUR macro - (currently unsupported) ), or PG_COLOUR_CUSTOM. For custom colour properties without values array specified: index or PG_COLOUR_CUSTOM For custom colour properties with values array specified: m_arrValues or PG_COLOUR_CUSTOM

Returns:

  • (Integer)


2739
# File 'lib/wx/doc/gen/pg/pg_properties.rb', line 2739

def type_; end

#type_=(val) ⇒ void

This method returns an undefined value.

An integer value relating to the colour, and which exact meaning depends on the property with which it is used. For SystemColourProperty: Any of SYS_COLOUR_XXX, or any web-colour ( use Wx::PG_TO_WEB_COLOUR macro - (currently unsupported) ), or PG_COLOUR_CUSTOM. For custom colour properties without values array specified: index or PG_COLOUR_CUSTOM For custom colour properties with values array specified: m_arrValues or PG_COLOUR_CUSTOM

Parameters:

  • val (Integer)


2750
# File 'lib/wx/doc/gen/pg/pg_properties.rb', line 2750

def type_=(val); end