Where is the main processing loop in the class-structured
Unicon? In Icon, and the 'traditional' Unicon, I could use
a polling loop at the end of the main procedure that checks
for mouse events and also network input, such as this:
repeat
if *(q := select(w,uf)) > 0 then
{ if q[1] === w then
evhandle(w)
if q[1] === uf then
{ r := receive(uf)
handle_message(w,r.msg)
}
}
The book's sample programs make _one_ call to the
class that constructs the windows and buttons, then
the class calls 'show_modal()' (or is it show()? ).
The one call in main doesn't seem to return, so
show_modal() must be doing the work.
How can I process both mouse events and network input
in Unicon's class windowing mechanism?
Wendell
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group