Re: general php-gtk questions

From: Date: Tue, 20 Mar 2001 21:32:09 +0000
Subject: Re: general php-gtk questions
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1037@lists.php.net to get a copy of this message
On Tue, 20 Mar 2001, jasonr@argia.net wrote: > I am already doing this. the problem is that after i call the function > to display the new window, it returns to the gtk::main loop and my > place is forgotten. is my only option to dynamically create the > function that makes the new window, because i want it to do different > things each time it is called and for each button on it? Ok, I'm not an expert on Gtk+, actually, I'm just making bindings. You might want to ask on gtk mailing list. :) > while gtk::main is running, as i understand it. think of a monitor or > stats program of some sort that needs to update its display every x > seconds, and you have a pretty good idea of what i want to do :) Gtk::timeout_add(<num seconds>, <callback>) is your friend, then. -Andrei "Freedom comes when you learn to let go. Creation comes when you learn to say no." -madonna

« previous php.gtk (#1037) next »