Learn R Programming

svWidgets (version 0.9-43)

tkWin: Conveniently manipulate Tk windows

Description

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()!

Usage

tkWinAdd(name = "win1", parent = .TkRoot, title = NULL, pos = NULL,
    bind.delete = TRUE, ...)
tkWinDel(window)

Arguments

name
name for a new Tk window.
parent
parent of this window.
title
title of the window.
pos
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 NU
bind.delete
do we automatically bind tkWinDel() to the window delete event (strongly advised for correct housekeeping)?
...
additional options to pass to the window creator.
window
the name of a 'tkguiWin' object.

Value

  • tkWinAdd() returns the handle of the newly created window invisibly. tkMenuDel() returns invisibly TRUE if the window is found and deleted, FALSE otherwise.

concept

GUI windows management in Tcl/Tk

Details

Do not use these functions directly. Prefer the corresponding WinXXX() functions that will call them if Tk windows are concerned.

See Also

WinAdd