Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl/Tk Reading messages/events sent to a window

Status
Not open for further replies.

Stevoie

Programmer
Jun 7, 2001
68
IE
Is it possible to read all the messsages/events that are sent to a window eg. window_moved, mouse_button_pressed, window_resized, window_minimized.

Thanx in advance,
StevoIE
 
Hi StevoIE,

Don't know of a function to read the events back to Perl from a console/browser window.

You could use JavaScript/VBScript to record state changes, and pass them back to a Perl Script when the page is submitted, and have the Perl Script analyse the results

JSwindow_moved=JSwindow_moved+[new_x, newy:time];

Just an idea
:p
 
Just copped TK - apologies (haven't used it b4)

There should be some form of event handler you could write/rewrite, and insert a call to stack values for each of the events, and process accordingly, or store

Less of an idea :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top