Package mglutil :: Package gui :: Package BasicWidgets :: Package Tk :: Module colorWidgets :: Class ColorWheel
[hide private]
[frames] | no frames]

Class ColorWheel

source code

Instance Methods [hide private]
  __init__(self, master, title=None, callback=None, immediate=1)
  _MoveCursor(self, x, y, trigger=1)
  mouse1Down(self, event=None)
  mouse1Move(self, event=None)
  mouse1Up(self, event=None)
  get(self, mode='HSV')
Get the current color
  set(self, color, mode='HSV', trigger=1)
Set the current color

Method Details [hide private]

__init__(self, master, title=None, callback=None, immediate=1)
(Constructor)

source code 
None

_MoveCursor(self, x, y, trigger=1)

source code 
None

mouse1Down(self, event=None)

source code 
None

mouse1Move(self, event=None)

source code 
None

mouse1Up(self, event=None)

source code 
None

get(self, mode='HSV')

source code 
Get the current color

set(self, color, mode='HSV', trigger=1)

source code 
Set the current color