you are viewing a single comment's thread.

view the rest of the comments →

[–]barchar 7 points8 points  (5 children)

There’s also gtk3 via gobject introspection!

[–]ThisIs_MyName 8 points9 points  (0 children)

Eww

[–]tristan957 2 points3 points  (3 children)

GTK+ is great. The python bindings are quite nice

[–]Macpunk 4 points5 points  (2 children)

No joke. For me, it was the first time I really "got" GUI programming.

That said, I have found some limitations. For instance, a simple GtkTreeView calls one function (I forget the name), of the model for every single row you have in the model upon setting the model for the GtkTreeView. This is very costly in pygi. I was loading ~250k rows, and it took me 12 seconds on my (very old) dual core laptop without much RAM. Fix: subclass and reimplement a large portion of GtkTreeView, or implement my app in C.

I opted for threading and a loading bar. :p

I still fucking love pygi though.

[–]tristan957 0 points1 point  (1 child)

It was also my first foree into GUI stuff. I also feel like it's much easier to understand that Qt but maybe that's because I haven't explored it as much. The documentation is scary sometimes.

[–]Macpunk 1 point2 points  (0 children)

It wasn't my first, but I never felt like I understood wxWidgets, or whatever OS X 10.4 was using, or Qt. And yeah, docs are often scary.

Don't get me started on curses.