Re: disappearing GtkLabels

From: Date: Sat, 25 Jan 2003 19:45:23 +0000
Subject: Re: disappearing GtkLabels
References: 1 2 3 4 5  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2966@lists.php.net to get a copy of this message
OK, you lost me. I just tried to replicate the problem, and can't. Can you please either send me a small-ish script that demonstrates it, or the one you have in hand? - because outside of anything else, the expose event should be triggering a redraw, and your infinite loop means that you are actually generating an expose-event signal without the assitance of queue_draw(). The only time I've ever hit a redraw issue like this is in GtkLayout under win32 (documented at http://gtk.php.net/manual/en/gtk.gtklayout.constructor.php ), but I'd imagine you would have found this on your travels already if you were using the layout widget? ----- Original Message ----- From: "Richard Gabriel" <rgabriel@coresense.com> To: "Steph" <steph.fox@virgin.net>; <php-gtk-general@lists.php.net> Sent: Friday, January 24, 2003 9:14 PM Subject: Re: [PHP-GTK] disappearing GtkLabels > Ok, I tried using the queue_draw() function in a callback. I tried the show > event and the expose-event event. Calling it on the show event did not > work. The expose-event did work, but since the queue-draw() function > produces an expose-event, we have an infinite loop problem. > > Which event should I run the queue_draw() function on? Do I need to put my > GtkLabels into a GtkEventBox to capture them? Thanks. > > > ----- Original Message ----- > From: "Steph" <sfox@php.net> > To: "Richard Gabriel" <rgabriel@coresense.com>; > <php-gtk-general@lists.php.net> > Sent: Friday, January 24, 2003 8:43 AM > Subject: Re: [PHP-GTK] disappearing GtkLabels > > > > > > http://127.0.0.1/manual/gtk.gtkwidget.method.queue_draw.php > > > > ----- Original Message ----- > > From: "Richard Gabriel" <rgabriel@coresense.com> > > To: "Steph" <steph.fox@virgin.net>; <php-gtk-general@lists.php.net> > > Sent: Friday, January 24, 2003 1:19 PM > > Subject: Re: [PHP-GTK] disappearing GtkLabels > > > > > > > I have read the manual. There is a lot that is missing and > > incomplete. I > > > could not find anything related to my problem in the PHP-GTK manual. > > Of > > > course, I do not ask anything on this list until after extensive > > searching > > > on my own. Any insight into where to look in the manual would be > > helpful > > > too. Thanks in advance for any assistance with this. > > > > > > ----- Original Message ----- > > > From: "Steph" <sfox@php.net> > > > To: "Richard Gabriel" <rgabriel@coresense.com>; > > > <php-gtk-general@lists.php.net> > > > Sent: Thursday, January 23, 2003 9:56 PM > > > Subject: Re: [PHP-GTK] disappearing GtkLabels > > > > > > > > > > Richard, please, read some manual. Most of it is actually written. > > > > > > > > ----- Original Message ----- > > > > From: "Richard Gabriel" <rgabriel@coresense.com> > > > > To: <php-gtk-general@lists.php.net> > > > > Sent: Thursday, January 23, 2003 11:11 PM > > > > Subject: [PHP-GTK] disappearing GtkLabels > > > > > > > > > > > > I have created a few GtkLabel's in my application. When I minimize > > the > > > > window or move it, they disappear. I'm guessing I have to redraw or > > > > show them on that event, but I'm not sure what event it is or what > > to do > > > > to show them. > > > > > > > > What is the event that I should look for and what is the function > > that I > > > > need to use to make sure they still show up? Thanks! > > > > > > > > > > > > > > > > -- > > > > PHP-GTK General Mailing List (http://gtk.php.net/) > > > > To unsubscribe, visit: > > > > http://www.php.net/unsub.php > > > > > > > > > > > > > > > > > -- > > > PHP-GTK General Mailing List (http://gtk.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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