getLightTW: Function to create a light weight widget showing a text...

Description Usage Arguments Details Value Author(s) Examples

View source: R/getLightTW.R

Description

Given a text string and coordinations, this function creates a light weight tcltk widget with showing the text string passed.

Usage

1

Arguments

x

x an interger for the horizontal position for the widget to appear

y

y an integer for the vertical position for the widget to appear

text

text a character string to be show in the widget

Details

When the function is invoked, a box containing the text will appear at the position specified by x, and y. Click the widget makes it disappear.

Value

This function does not return any value

Author(s)

Jianhua Zhang

Examples

1
2
3
if(interactive()){
    getLightTW(200, 200, "Click Me!")
}

tkWidgets documentation built on Nov. 8, 2020, 5:17 p.m.