Last Modified
2014-04-06 11:05:22 -0700
Requires
  • tk

Description

tk/optionobj.rb : control options for a group of widgets

NOTE: If you want to use key-only option (no value),
      use Tk::None for the value of the key-only option.

      e.g. hash_kv({'aaa'=>1, 'bbb'=>Tk::None, 'ccc'=>3})
               => ["-aaa", 1, "-bbb", "-ccc", 3]
blog comments powered by Disqus