gtk

How to escape characters in Pango markup?

How to escape characters in Pango markup? Question: My program has a gtk.TreeView which displays a gtk.ListStore. The gtk.ListStore contains strings like this: “<span size=’medium’><b>”+site_title+”</b></span>”+”n”+URL Where URL is (obviously) a URL string. Sometimes there are characters in URL that cause pango to fail to parse the markup. Is there a way to escape URL as …

Total answers: 3

Which GTK widget combination to use for scrollable column of widgets?

Which GTK widget combination to use for scrollable column of widgets? Question: I’m working with PyGTK, trying to come up with a combination of widgets that will do the following: Let me add an endless number of widgets in a column Provide a vertical scrollbar to get to the ones that run off the bottom …

Total answers: 3

Glade or no glade: What is the best way to use PyGtk?

Glade or no glade: What is the best way to use PyGtk? Question: I’ve been learning python for a while now with some success. I even managed to create one or two (simple) programs using PyGtk + Glade. The thing is: I am not sure if the best way to use GTK with python is …

Total answers: 11