TkCommands package:tcltk R Documentation _T_k _n_o_n-_w_i_d_g_e_t _c_o_m_m_a_n_d_s _D_e_s_c_r_i_p_t_i_o_n: These functions interface to Tk non-widget commands, such as the window manager interface commands and the geometry managers. _U_s_a_g_e: tcl(...) tktitle(x) tktitle(x) <- value tkbell(...) tkbind(...) tkbindtags(...) tkfocus(...) tklower(...) tkraise(...) tkclipboard.append(...) tkclipboard.clear(...) tkevent.add(...) tkevent.delete(...) tkevent.generate(...) tkevent.info(...) tkfont.actual(...) tkfont.configure(...) tkfont.create(...) tkfont.delete(...) tkfont.families(...) tkfont.measure(...) tkfont.metrics(...) tkfont.names(...) tkgrab(...) tkgrab.current(...) tkgrab.release(...) tkgrab.set(...) tkgrab.status(...) tkimage.cget(...) tkimage.configure(...) tkimage.create(...) tkimage.names(...) ## NB: some widgets also have a selection.clear command, hence the "X". tkXselection.clear(...) tkXselection.get(...) tkXselection.handle(...) tkXselection.own(...) tkwait.variable(...) tkwait.visibility(...) tkwait.window(...) ## winfo actually has a large number of subcommands, but it's rarely ## used, so use tkwinfo("atom", ...) etc. instead. tkwinfo(...) # Window manager interface tkwm.aspect(...) tkwm.client(...) tkwm.colormapwindows(...) tkwm.command(...) tkwm.deiconify(...) tkwm.focusmodel(...) tkwm.frame(...) tkwm.geometry(...) tkwm.grid(...) tkwm.group(...) tkwm.iconbitmap(...) tkwm.iconify(...) tkwm.iconmask(...) tkwm.iconname(...) tkwm.iconposition(...) tkwm.iconwindow(...) tkwm.maxsize(...) tkwm.minsize(...) tkwm.overrideredirect(...) tkwm.positionfrom(...) tkwm.protocol(...) tkwm.resizable(...) tkwm.sizefrom(...) tkwm.state(...) tkwm.title(...) tkwm.transient(...) tkwm.withdraw(...) ### Geometry managers tkgrid(...) tkgrid.bbox(...) tkgrid.columnconfigure(...) tkgrid.configure(...) tkgrid.forget(...) tkgrid.info(...) tkgrid.location(...) tkgrid.propagate(...) tkgrid.rowconfigure(...) tkgrid.remove(...) tkgrid.size(...) tkgrid.slaves(...) tkpack(...) tkpack.configure(...) tkpack.forget(...) tkpack.info(...) tkpack.propagate(...) tkpack.slaves(...) tkplace(...) tkplace.configure(...) tkplace.forget(...) tkplace.info(...) tkplace.slaves(...) ## Standard dialogs tkgetOpenFile(...) tkgetSaveFile(...) tkchooseDirectory(...) tkmessageBox(...) tkdialog(...) tkpopup(...) ## File handling functions tclfile.tail(...) tclfile.dir(...) tclopen(...) tclclose(...) tclputs(...) tclread(...) _A_r_g_u_m_e_n_t_s: x: A window object value: For 'tktitle' assignments, a character string. ...: Handled via '.Tcl.args' _D_e_t_a_i_l_s: '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 result to '.Tcl.objv'. Most of the other commands simply call 'tcl' with a particular first argument and sometimes also a second argument giving the subcommand. 'tktitle' and its assignment form provides an alternate interface to Tk's 'wm title' 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 'tclfile.dir'. _S_e_e _A_l_s_o: 'TclInterface', 'TkWidgets', 'TkWidgetcmds' _E_x_a_m_p_l_e_s: ## 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)