tkWidgets (version 1.50.0)

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

Description

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

Usage

getLightTW(x, y, text)

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

Value

This function does not return any value

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.

Examples

Run this code
if(interactive()){
    getLightTW(200, 200, "Click Me!")
}

Run the code above in your browser using DataLab