Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • tk/lib/tkextlib/bwidget/selectcolor.rb

Methods

Class/Module Index [+]

Quicksearch

Tk::BWidget::SelectColor::MenuButton

Public Instance Methods

create_self(keys) click to toggle source
 
               # File tk/lib/tkextlib/bwidget/selectcolor.rb, line 66
def create_self(keys)
  keys = {} unless keys
  keys = _symbolkey2str(keys)
  keys['type'] = 'menubutton'  # 'toolbar' type returns widget path
  window(tk_call(Tk::BWidget::SelectColor::TkCommandNames[0],
                 @path, *hash_kv(keys)))
end