Method: Tk::Wm.resizable
- Defined in:
- ext/lib/tk/wm.rb
.resizable(win, *args) ⇒ Object
425 426 427 428 429 430 431 432 433 |
# File 'ext/lib/tk/wm.rb', line 425 def Wm.resizable(win, *args) if args.length == 0 list(tk_call_without_enc('wm', 'resizable', win.epath)).map!{|e| bool(e)} else args = args[0] if args.length == 1 && args[0].kind_of?(Array) tk_call_without_enc('wm', 'resizable', win.epath, *args) win end end |