| Description: |
OriginalBugID: 1302 RFE
Version: 8.1b1
SubmitDate: '1999-02-25'
LastModified: '2000-04-03'
Severity: SER
Status: Assigned
Submitter: pat
ChangedBy: ericm
OS: Windows NT
OSVersion: 4
Machine: X86
Name:
Bryan Oakley
DesiredBehavior:
I would like to be able to define an event "proxy" for a given window.
For example,
event proxy .foo.internal .foo
would cause all events that happen within .foo.internal to be handled as
if they actually occured over .foo. %W would report ".foo" in the
binding scripts,
and %x and %y would be relative to .foo instead of .foo.internal.
To support this, I also recommend adding a %P substitution in binding
scripts, that returns the "proxied" window. In the above case, %W would
refer to .foo and %P would be set to .foo.internal. This way binding
scripts could know exactly which subwindow received the event, but %W
would continue to work as expected.
This would go a long way to being able to create megawidgets that behave
like
"real" widgets. Right now the workaround is a whole lot of event
juggling and
transmogrification -- imperfect at best -- which is a royal pain.
Please seriously consider including this in the next beta of 8.1, so
that we don't have to wait another year before this feature is
available. I'd settle for this to be an unsupported feature for the
purposes of experimentation.
--
this would really help with megawidgets.
- eric
-- 04/03/2000 ericm
|