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