Package dtk :: Package ui :: Module theme :: Class DynamicColor

Class DynamicColor

source code


Dynamic color.

Instance Methods
 
__init__(self, color)
Initialize DynamicColor.
source code
 
update(self, color)
Update color.
source code
 
get_color(self)
Get color.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, color)
(Constructor)

source code 

Initialize DynamicColor.

Parameters:
  • color - Initialize color.
Overrides: object.__init__

update(self, color)

source code 

Update color.

Parameters:
  • color - Color value.

get_color(self)

source code 

Get color.

Returns:
Return current color value.