Method: Tk::BWidget::Dialog#configinfo
- Defined in:
- ext/lib/tkextlib/bwidget/dialog.rb
#configinfo(slot = nil) ⇒ Object
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
# File 'ext/lib/tkextlib/bwidget/dialog.rb', line 91 def configinfo(slot=nil) if slot if slot.to_s == 'relative' super('parent') else super(slot) end else ret = super() if TkComm::GET_CONFIGINFO_AS_ARRAY ret << ['relative', 'parent'] else ret['relative'] = 'parent' end end end |