January 1999
Beginner
373 pages
9h 43m
English
To find out if the widget has been mapped to the screen, use the ismapped method:
if ($widget->ismapped())
# Do something
} else {
# map the widget
}
The ismapped method returns 1 if the widget is currently mapped to the screen and if it is not.