These functions provide an easy way to create and manipulate Tk windows
under R. Note that the corresponding winXXX()
function also manipulate
Tk windows the same way, but are capable of manipulating other windows as
well (in the future). One should, thus, preferably use winXXX()
!
tkWinAdd(name = "win1", parent = .TkRoot, title = NULL, pos = NULL,
bind.delete = TRUE, …)
tkWinDel(window)
name for a new Tk window.
parent of this window.
title of the window.
where to place the window. A string like '+XX+YY' where XX is the
horizontal position in pixels, and YY is the vertical position. Using
negative values place the window relative to the right or bottom side of the
screen. Specifying NULL
(by default) allows for automatic placement
of the window.
do we automatically bind tkWinDel()
to the window
delete event (strongly advised for correct housekeeping)?
additional options to pass to the window creator.
the name of a 'tkguiWin' object.
tkWinAdd()
returns the handle of the newly created window invisibly.
tkMenuDel()
returns invisibly TRUE
if the window is found and
deleted, FALSE
otherwise.
Do not use these functions directly. Prefer the corresponding winXXX()
functions that will call them if Tk windows are concerned.