Sha256: 65d8512460e352d0c24f52112470151d481fd036f7c705362b30a1e0b4292c91

Contents?: true

Size: 194 Bytes

Versions: 9

Compression:

Stored size: 194 Bytes

Contents

module Tk
  def self.set_palette(background, *rest)
    if rest.empty?
      Tk.execute(:tk_setPalette, background)
    else
      Tk.execute(:tk_setPalette, background, *rest)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ffi-tk-2010.08.23 lib/ffi-tk/command/set_palette.rb
ffi-tk-2010.08 lib/ffi-tk/command/set_palette.rb
ffi-tk-2010.06 lib/ffi-tk/command/set_palette.rb
ffi-tk-2010.03 lib/ffi-tk/command/set_palette.rb
ffi-tk-2010.02 lib/ffi-tk/command/set_palette.rb
ffi-tk-2010.01 lib/ffi-tk/command/set_palette.rb
ffi-tk-2010.01.02 lib/ffi-tk/command/set_palette.rb
ffi-tk-2009.12.14 lib/ffi-tk/command/set_palette.rb
ffi-tk-2009.11.29 lib/ffi-tk/command/set_palette.rb