Method: Tk::BWidget::SelectFont::Dialog#configure
- Defined in:
- lib/tkextlib/bwidget/selectfont.rb
#configure(slot, value = None) ⇒ Object
63 64 65 66 67 68 69 70 71 72 |
# 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 |