pygtk
Get colors of current gtk style
I use PyGTK and I want to get colors of a widge开发者_开发问答t (for example bg color), I run such a code:[详细]
2023-03-20 13:20 分类:问答Why does the pygtk callback on a clicked ToolButton executed twice when clicked once
I\'ve got a simple callback function which switches the label of a PyGTK button: def langSelectHandler(self, widget, callback_data=None):[详细]
2023-03-19 10:31 分类:问答PYGTK redirect event to TreeView
In PyGTK, I have an Entry and a TreeView.When a TreeView is focused, the key events (Up, Down, PageUp, PageDown) move selection in the view in a certain way.I want to intercept these key events when t[详细]
2023-03-18 18:07 分类:问答Right Click Menu (context menu) using PyGTK
So I\'m still fairly new to Python, and have been learning for a couple months, but one thing I\'m trying to figure out is say you have a basic window...[详细]
2023-03-18 15:11 分类:问答Unable to import module
I\'d like to learn Python since it looks nice and I want to work with GTK.My previous experience with programming is Java and C# hardly a pain in the backside to deal with errors.However I am having p[详细]
2023-03-18 12:15 分类:问答Can I have scripts outside my python exe?
I\'m new to Python and starting to learn it.However I have one query, which I\'d like to know for the future.[详细]
2023-03-18 06:40 分类:问答How to resume program workflow at the right place after dialogue response?
The program I am writing can edit a single project at a time. This means that opening a new file/project implies closing the previous one. Now what I want to achieve is the following workflow:[详细]
2023-03-15 22:56 分类:问答PyGtk: change image after window's main() method?
I\'m using a gtk.Image widget to display a picture in a gtk w开发者_如何学Cindow. I can set the image to be displayed before I call window.main(), but after I\'ve done that the image won\'t change any[详细]
2023-03-15 03:55 分类:问答My signals are being ignored!
So I developed a UI in Glade and am coding the program in Python. For some reason, all of my signals are being ignored! Though I\'ve connected them correctly (I think), clicking on the buttons does ab[详细]
2023-03-15 02:06 分类:问答Using pygtk how can I make a simple fullscreen slide show
Using pygtk how can I make a full screen slide show that rotate开发者_JAVA百科s through all the images in a directory switching them everyx secondsIn the past I wrote exactly the same thing. Then I de[详细]
2023-03-14 16:48 分类:问答