home *** CD-ROM | disk | FTP | other *** search
-
- You do a
-
- windowevent attach eventtype routine
-
- To attach a Tcl routine to a window message event type. The events
- supported are:
-
- newsize
- refreshwindow
- mousebuttons
- menupick
- closewindow
- vanillakeys
- rawkeys
- intuiticks
- activewindow
- inactivewindow
- newprefs
- diskinserted
- diskremoved
-
-
- if routine is an empty string, detaches current event
- if you attach a routine to an event that already has
- a routine attached, the old one goes away
- get returns the current routine or empty string if there
- isn't one attached
-
- windowevent get eventtype
-
- "windowevent detach" allows you to detach window events.
-
-
-