How to get windows id or title by clicking on it [message #66901] |
Thu, 18 June 2009 16:37 |
Jeanphi62
Messages: 10 Registered: June 2009
|
Junior Member |
|
|
Good morning every one
I work with a GUI which include up to 8 windows which have titles as
"window 1 window 2 window 3...", and I would like to get the id of the
window just exposing it (left click on the window) or the best should
be to get the title of the window by left clicking on it as each one
of these titles include the number of its window.
I have already events linked with the drawing area inside of these
windows, but as the user may avoid to move the mouse over the drawing
area, I would need to get the event when clicking on the window itself
(as every body does to put the window to the front-most window of the
screen)
Is there a simple function such as widget_control, event.top,
get_window_title=title ??
I am looking forward to hearing from you !
Thanks a lot !
JeanPhi
|
|
|