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

In Files

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

Class/Module Index [+]

Quicksearch

Tk::BWidget::SelectColor::Dialog

Public Instance Methods

create() click to toggle source
 
               # File tk/lib/tkextlib/bwidget/selectcolor.rb, line 58
def create
  @keys['type'] = 'dialog'  # 'dialog' type returns color
  tk_call(Tk::BWidget::SelectColor::TkCommandNames[0],
          @path, *hash_kv(@keys))
end
            
create_self(keys) click to toggle source
 
               # File tk/lib/tkextlib/bwidget/selectcolor.rb, line 53
def create_self(keys)
  super(keys)
  @keys['type'] = 'dialog'
end