Tag Info

New answers tagged


As the error message says, you have to add an attribute named value. <attribute name="weight" value="bold" /> In your definition <attribute name="weight">bold</attribute> is only one attribute with the name name. The text between the opening and closing tags isn't an attribute. The tag name attribute has nothing to do with the needed ...


Well, without your code, I can't be sure, but this is most likely caused by an incorrect import statement. It's possible and highly likely that the import statement for Gdk changed between Python 2 and Python 3. Try changing the from gi.repository.Gtk import gdk line to from gi.repository import Gdk. That's what I have in some of my code and it works fine. ...

Top 50 recent answers are included