class Tk::BWidget::SelectFont

Constants

TkCommandNames
WidgetClassName

Public Class Methods

load_font() click to toggle source
# File lib/tkextlib/bwidget/selectfont.rb, line 47
def self.load_font
  tk_call('SelectFont::loadfont')
end

Public Instance Methods

create() click to toggle source
# File lib/tkextlib/bwidget/selectfont.rb, line 43
def create
  tk_call(self.class::TkCommandNames[0], @path, *hash_kv(@keys))
end

Private Instance Methods

__boolval_optkeys() click to toggle source
Calls superclass method
# File lib/tkextlib/bwidget/selectfont.rb, line 33
def __boolval_optkeys
  super() << 'nosizes'
end
__font_optkeys() click to toggle source
# File lib/tkextlib/bwidget/selectfont.rb, line 38
def __font_optkeys
  [] # without fontobj operation
end
__strval_optkeys() click to toggle source
Calls superclass method Tk::BWidget::MessageDlg#__strval_optkeys
# File lib/tkextlib/bwidget/selectfont.rb, line 28
def __strval_optkeys
  super() << 'sampletext' <<  'title'
end