Re: background processing

From: Date: Fri, 24 Jan 2003 03:31:55 +0000
Subject: Re: background processing
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2956@lists.php.net to get a copy of this message
Hi, I think that gtk::timeout_add() will solve most of your problems - then you will probably need to look at gtk::events_pending() to solve other problems that may pop up when running your functions called from your timeout() - Regards, Simon. ----- Original Message ----- From: "Frank Heinrich" <frh100@earthlink.net> To: <php-gtk-general@lists.php.net> Sent: Friday, January 24, 2003 11:09 AM Subject: [PHP-GTK] background processing > 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 > > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > >

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