Method: TkPalette.set

Defined in:
lib/tk/palette.rb

.set(*args) ⇒ Object



17
18
19
20
# File 'lib/tk/palette.rb', line 17

def TkPalette.set(*args)
  args = args[0].to_a.flatten if args[0].kind_of? Hash
  tk_call('tk_setPalette', *args)
end