Tk non-widget commands
These functions interface to Tk non-widget commands, such as the window manager interface commands and the geometry managers.
A window object
tcl provides a generic interface to calling any Tk or Tcl
command by simply running
.Tcl.args.objv on the argument list
and passing the
.Tcl.objv. Most of the other commands simply call
tcl with a particular
first argument and sometimes also a second argument giving the
tktitle and its assignment form provides an alternate interface
There are far too many of these commands to describe them and their
arguments in full. Please refer to the Tcl/Tk documentation for details.
With a few exceptions, the pattern is that Tk subcommands like
pack configure are converted to function names like
tkpack.configure, and Tcl subcommands are like
1 2 3 4 5 6 7 8 9 10 11 12 13
## Not run: ## These cannot be run by examples() but should be OK when pasted ## into an interactive R session with the tcltk package loaded tt <- tktoplevel() tkpack(l1 <- tklabel(tt, text = "Heave"), l2< - tklabel(tt, text = "Ho")) tkpack.configure(l1, side = "left") ## Try stretching the window and then tkdestroy(tt) ## End(Not run)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.