I am trying to learn Python/Glade but no luck. In the repos is glade version 3 and I installed it (along with devhelp). However links that were mentioned here (I'll repost below and the other I googled and found but thought it was more updated, it isn't) - neither of these tutorials work. Leaving me again hanging in the air on how to use this stuff.
Spent time on Google to find that most tutorials are very old and thus nothing at all what glade now is. The Gnome site doesn't have any tutorials. It's a shame because it would be nice to learn this.
Tutorial 1 (previously posted in this thread):
GTK+ and Glade3 GUI Programming Tutorial: http://www.micahcarrick.com/gtk-glade-t ... art-1.html
This one, I get as far as Adding Widgets to the GtkWindow
and the menu editor and properties window, etc. is all totally different. I can't figure out how to get it to do what it wants. If I sent to normal, I can't set some of the properties as they are in the image version. And if I set those in image version and go back to normal, then the settings in the image part is lost. So I couldn't go any further in that tutorial. The tutorial is also very very old (2007)
Tutorial 2 (This tutorial was updated early 2014)
Again, some things were not the same (I had to find the 'destroy' in gtkWidgets as there was no gtkObject). Ok, once I got everything done I tried to run it and it won't run:
Code: Select all
ravenlx@solydk-devvm /media/sf_GTKTutorial $ ./tutorial-1.py
(tutorial-1.py:4648): GLib-GObject-ERROR **: cannot create instance of abstract (non-instantiatable) type 'GtkBox'
So again, I could not go any farther with the tutorial. Google didn't help because apparently what the tutorial was doing is deprecated.
Every other tutorial in the Google search results are several years old and outdated.
It makes it a nightmare trying to learn when you spend time only to get so far and find that there's an error that won't let you continue and no way to figure out what the problem is because you don't know anything about it.
The only glade in the repos is 3.14.2-3 but the python-glade is python-glade2 (v. 2.24.0-3+b1) and only libglade2-0. So it seems that this combination isn't going to work with any tutorials that are out there.
So how do I get started?