background processing

From: Date: Fri, 24 Jan 2003 03:09:51 +0000
Subject: background processing
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2954@lists.php.net to get a copy of this message
Hi, I'm brand new to this forum, and very new to php-gtk. I am refreshing some very old and tired text-mode applications that mainly monitor and do some control of external devices that are accessed mostly via serial connections, and some via sockets. I need to display status and values, and occasionally, a user needs to invoke a command, which typically means sending a serial (or socket) command to one of the devices. I was interested in using php-gtk, but I'm stuck at how to solve two related issues: 1-how do i make changes in data visible when no UI event has occured. 2-how do i get background processing to poll the devices (by sending commands and parsing the responses) I had hoped the php tick_handler stuff would work, but it seems gtk-main surpresses any ticks until it is ended. Am I missing something obvious? --frh

« previous php.gtk.general (#2954) next »