- labels: 104336 -->
- milestone: 102491 -->
OriginalBugID: 1303 RFE
Version: 8.1b1
SubmitDate: '1999-02-25'
LastModified: '2000-04-03'
Severity: MED
Status: UnAssn
Submitter: pat
ChangedBy: ericm
OS: Windows NT
OSVersion: 4
Machine: X86
Name:
Bryan Oakley
DesiredBehavior:
I would like a new substitution to be available to event scripts. %e
would return a list of all relevent event information, suitable to be
handed to "event generate". It would have all of the event information
specific for the type of event.
This could be useful for capturing events for later playback in an
automated testing tool. Or perhaps to pass events on to other windows
without modification. Right now it is very tedious to capture all of the
right values for various event types.
It might also be nice to have a % substitution to get the event that
triggered the script. For example, in a ButtonPress event script perhaps
%? could return "<ButtonPress>". This could then be used as the first
argument to an event generate command.
We're gearing up for 8.4, and Tk will be the main focus (new widgets, megawidget support, etc). This looks like it might go along well with that work, but if we had a patch, it'd be that much easier.
- eric
-- 04/03/2000 ericm