maxsize

maxsize(win, *args)
Class Public methods

def ::manage(win, use_id = nil)

# Tcl/Tk 8.5+ feature
# --------------------------------------------------------------
# In the future release, I want to support to embed the 'win'
# into the container which has window-id 'use-id'.
# It may give users frexibility on controlling their GUI.
# However, it may be difficult for current Tcl/Tk (Tcl/Tk8.5.1),
# because it seems to require to modify Tcl/Tk's source code.
# --------------------------------------------------------------
if use_id
  tk_call_without_enc('wm', 'manage', win.epath, '-use', use_id)
else
  tk_call_without_enc('wm', 'manage', win.epath)
end
win

end

doc_ruby_on_rails
2015-06-03 17:52:59
Comments
Leave a Comment

Please login to continue.