Maintenance of Ruby 2.0.0 ended on February 24, 2016. 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