# class Tk::BWidget::SelectFont::Dialog

### Public Instance Methods

__font_optkeys() click to toggle source

    # File lib/tkextlib/bwidget/selectfont.rb, line 54
    def __font_optkeys
      [] # without fontobj operation
    end

configure(slot, value=None) click to toggle source
Calls superclass method Tk::BWidget::MessageDlg#configure

    # File lib/tkextlib/bwidget/selectfont.rb, line 63
    def configure(slot, value=None)
      if slot.kind_of?(Hash)
        slot.delete['type']
        slot.delete[:type]
        return self if slot.empty?
      else
        return self if slot == 'type' || slot == :type
      end
      super(slot, value)
    end

create() click to toggle source

    # File lib/tkextlib/bwidget/selectfont.rb, line 74
    def create
      @keys['type'] = 'dialog'  # 'dialog' type returns font name
      tk_call(Tk::BWidget::SelectFont::TkCommandNames[0], @path, *hash_kv(@keys))
    end

create_self(keys) click to toggle source
Calls superclass method Tk::BWidget::MessageDlg#create_self

    # File lib/tkextlib/bwidget/selectfont.rb, line 58
    def create_self(keys)
      super(keys)
      @keys['type'] = 'dialog'
    end