Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Catching layout face events

From: brett:codeconscious at: 22-Jan-2002 10:28

Hi Gregg,
> Is there any way, aside from using insert-event-func, to catch events for
a
> main layout face (i.e. window events like 'resize and 'close)?
Have a look at section 6 of http://www.rebol.com/how-to/feel.html particularly subsection 6.2. The detect function as it stands handles the shortcut key functionality (who knows what in the the future). Maybe this is why the documentation suggests using insert-event-func.
> Yes, I *can* use insert-event-func, but if there's a better way, I'd love
to
> know about it. :)
Well, the doco suggests using insert-event-func - so I guess the method above is not a better way. :) I'm curious, do you have any problems / preferences against insert-event-func - or just looking at alternatives? Brett.