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

In Files

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

Class/Module Index [+]

Quicksearch

Tk::BWidget::SelectFont::Toolbar

Public Instance Methods

__font_optkeys() click to toggle source
 
               # File tk/lib/tkextlib/bwidget/selectfont.rb, line 80
def __font_optkeys
  [] # without fontobj operation
end
            
create_self(keys) click to toggle source
 
               # File tk/lib/tkextlib/bwidget/selectfont.rb, line 84
def create_self(keys)
  keys = {} unless keys
  keys = _symbolkey2str(keys)
  keys['type'] = 'toolbar'  # 'toolbar' type returns widget path
  window(tk_call(Tk::BWidget::SelectFont::TkCommandNames[0],
                 @path, *hash_kv(keys)))
end