[REBOL] Re: windows events
From: cyphre:volny:cz at: 4-Oct-2001 11:20
try this example:
insert-event-func func [face event][probe event/type return event]
view layout [button "hello"]
I hope this explains all the magic ;)
Don't forget to always 'return event' else your rebol will hangs!
----- Original Message -----
From: "Ammon Cooke" <[ammoncooke--yahoo--com]>
Sent: Thursday, October 04, 2001 1:56 AM
Subject: [REBOL] windows events
> Just finished the Event Handler howto...
> The last line states, "It is better to use the INSERT-EVENT-FUNC
function to set window event handlers. This function allows multiple
handlers for each window. It will be discussed separately."