1

I am currently following this tutorial. When I run the according python file I get the same issue as here (though I use python, not Vala).

So apparently I have to tell python to use gtk3, but how do I do this?

I am using Ubuntu 12.04, python2.7, glade3.14.

2 Answers 2

2

That's strange. You could use GtkHBox or GtkVBox as a workaround. However, these two have been deprecated recently (in GTK 3.2), in favor of GtkGrid. Also, you may want to give a look to the official Python GTK 3 tutorial.

Sign up to request clarification or add additional context in comments.

Comments

0

While I don't found the cause of the problem, I got it to work by simply copying the contents of my.glade into another.glade, opened in glade, saved it and run the script on it. I probably made some mistake which I cannot reproduce anymore, oh well.

Thanks though to liberforce, as the tutorial posted gives a better understanding about the "gtk+ side" of the problem, while I only concentrated on glade so far.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.