Re: Scrollbars and flickers oh my!
| From: | Steve Conley | Date: | Mon, 27 May 2002 04:33:01 +0000 |
| Subject: | Re: Scrollbars and flickers oh my! | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-412@lists.php.net to get a copy of this message | ||
> 2] Currently, my application involves a GtkTable, 16x16, of 32x32 pixmaps.
> I will often be updating this entire screen, rather than just one or
> two pixmaps. During certain large updates -- most noticably, along the
> diagonal -- the entire pixmap area will appear to "flicker".
>
> Is there anything like GtkText's freeze() and thaw() methods for
> pixmaps? Because if I could somehow make Gtk wait until I've made
> all my updates *then* display them, I believe the flicker would be
> avoided -- since I think it's trying to update *during* my while loop
> to place new tiles, I believe that's what's causing the flicker.
I've discovered if I run gtk::main_iteration_do(0); with each tile
update, there is no noticable flicker. So this isn't a problem anymore.
However, I'm still looking for a way to have control over my scroll bars
:-)
Steve