From: Christian J. <chr...@sl...> - 2001-09-14 04:27:33
|
Hello I'm happy to find today the announcement of a wxwindows-perl interface in www.perl.com's newsletter. It could just be what I'm looking for: some perl gui for MacOS (9/)X. Tough I'm a bit in doubt whether wxperl will work on the mac (primarily MacOSX, MacOS9 would be cool too)? I want to create a rather simple gui: create popup dialogs on top of the desktop (maybe floating windows). It's for a networked message application. It should pop up a window if it receives a message. I've been thinking about porting the perl Mac::* toolbox modules to carbon, but wxperl seems much more comfortable and if I can save the porting work - even better. One important thing that I'm not clear about is the event handling: I'm using nonblocking networking code (uses select() currently), so somehow I need either to get an event from wxwindows' event handler (?) or maybe will have to build an own event loop? Maybe as an ugly workaround solution short timeouts (~0.2sec) in both loops and then alternating them would be enough. christian. |