Re: Performance of many widgets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian Phelps <lm317t@xxxxxxxxx> writes:

> I am sure there is a better way, but I am trying to do manipulate many toggle
> buttons in a window similar to the attached example.
>
> I need to know how to speed it up. Â I have tried a few things like using
> gtk_widget_queue_draw(), but I doubt I did it correctly.
>
> I was thinking I needed to do something with an expose event somehow so that
> they group together, but I don't have a clue where to start.
>
> Thanks for looking at this

Man, I ran that code with four *thousand* buttons, and it still only
took one *second* to toggle them all.  How fast do you want it to go?!

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux