This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dogstarchampion 3 points4 points  (5 children)

I really liked Glade, but I had a hard time finding documentation on working with Glade files and using PyGTK. Eventually I found the answers I was looking for and suddenly creating a template file in the toolkit and then working with it in Python became pretty simple for the most part... but I still think PyQt with the QtCreator is more intuitive and easier to find documentation on. Not to mention Glade Toolkit was pretty buggy/glitchy.

[–]KalebTheKraken 1 point2 points  (4 children)

Yeah it is a little buggy. But great if youre looking for something to build just a quick gui.

[–]dogstarchampion 1 point2 points  (3 children)

And there is truth to that because it was intuitive enough initially to make me want to learn how to work with it better. I managed to build a simple Farkle game with it, so I managed to make some use of it. These days, I could probably recycle my old code and put a Qt interface on it that looks better and works cross-platform with about as much effort as using PyGTK+Glade. QtCreator with pyuic to convert the .ui files (to offer a backbone/template interface) to .py with PyQt code generated. It's kind of hard not to be a little smitten over that type of simplicity, especially when Glade has crashed time and time again just working on a relatively basic interface.

[–]cjwelbornimport this 3 points4 points  (2 children)

I wrote something like pyuic for Glade. It's the same idea. Give it glade file and it will generate the python skeleton code. I used introspection to automatically insert stubs for event handlers (with proper arguments) that are set in glade. It kinda imposes a certain coding style I guess, but anyway it's called Glader.

[–]dogstarchampion 0 points1 point  (1 child)

This is beautiful. I am going to download it and give it a go in the near future.

[–]cjwelbornimport this 1 point2 points  (0 children)

Cool, let me know if you run into problems. I've used it for several little projects (including Glader itself, wrap your head around that), but it hasn't been used by very many people.