|
DrawingArea flickers: msg#00101gnome.gtk+.python
Hi, I've noticed that a large DrawingArea flickers when it's scrolled very fast. The script below illustrates it; it shows a rather large DrawingArea within a ScrolledWindow, and when the vertical scroller is moved fast, the display of the DrawingArea flickers noticeably, even when nothing is drawn. What can I do to get rid of that flicker? TIA, C. ---------------------------------- import pygtk pygtk.require('2.0') import gtk win = gtk.Window() win.connect("destroy", lambda w: gtk.main_quit()) scrollwin = gtk.ScrolledWindow() scrollwin.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_ALWAYS) drawing_area = gtk.DrawingArea() drawing_area.set_size_request(200, 100000*20) scrollwin.add_with_viewport(drawing_area) win.add(scrollwin) win.resize(300,400) win.show_all() gtk.main() _______________________________________________ pygtk mailing list pygtk@xxxxxxxxxx http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: interpreter aborts when a thread garbage collects a pygtk object: 00101, John Ehresman |
|---|---|
| Next by Date: | Debugging Gtk-WARNING messages: 00101, Steve McClure |
| Previous by Thread: | interpreter aborts when a thread garbage collects a pygtk objecti: 00101, Graham Carlyle |
| Next by Thread: | Debugging Gtk-WARNING messages: 00101, Steve McClure |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |