On 1/19/07, Gian Mario Tagliaretti <[EMAIL PROTECTED]> wrote:
2007/1/18, Marco Bonifazi <[EMAIL PROTECTED]>: Ciao Marco, sorry for the late reply > I must have a table with 11 columns and more than 20 rows. > In each position there would be a widget. > > After I made it in PyGtk, I have a slow rendering when I show or hide the > window ( window.hide&how) with these elements (show or hide the window is > the command I only used). > All the elements are already previously loaded. which kind of widgets are you using in your GUI? are you using some kind of fancy theme on windows? > It seems like it loads to screen row by row all the widget. Are you using a table or multiple h|vbox to pack the widgets into the window? > I don't want the fastest gui in the world, but I found it tediuosly slow, > and for my project it's a problem. I made a small test case with around 200 labels into a table and on windows pygtk renders as fast as on GNU/Linux > Can you give me any helps to do faster rendering than now? without seeing some code is difficult to help, a small test case will be great, this is the dumb test I wrote, probably with some sort of timing will be better but....:
Thanks for your answer. Please, try to use SpinButton instead of Label in your code (thanks for the time spent to help me), and you can understand why I think PyGtk in Windows is a bit slower than in Linux (but it can be my bad configuration). I don't use specific theme, I installed Gtk for Windows from gladewin site and Gtk widgets take look from Windows Xp theme. Thanks in advance. -- Marco Bonifazi http://www.bonifazi.eu
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
