tkWin {svWidgets}R Documentation

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 NULL (by default) allows for automatic placement of the window.
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

Details

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

Value

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

Author(s)

Philippe Grosjean

See Also

WinAdd


[Package svWidgets version 0.9-40 Index]