pygtk
Prevent window from redrawing
is it possible to prevent automatic redrawing of window? I want it t开发者_运维问答o redraw only when I issue queue_draw().[详细]
2023-04-09 10:48 分类:问答Structure a python project with 2 different applications
I am planning to write a visitors\' kiosk in python/GTK. The project will have two applications, the frontend for the kiosk and the backend for management linked to a MySQL DB.[详细]
2023-04-09 09:32 分类:问答PyGTK - webkit.WebView not working with Ubuntu 11.04
here is code snippets: import gtk, webkit, os w = gtk.Window(开发者_运维技巧) w.set_title(\"Example Editor\")[详细]
2023-04-09 04:12 分类:问答Change C object instance to Python subclass
Is it possible to change a class of a C object to a python subclass? I am using PyGTK, and I have a ListModel that I have wrapped my own class around, but I want to turn it into a TreeModelFilter. Th[详细]
2023-04-08 22:17 分类:问答How to quit a pygtk application after last window is closed/destroyed
Is there a way I can tell gtk to automatically call gtk.main_quit() when the last open window of the application is closed/destroyed?[详细]
2023-04-08 11:47 分类:问答Embedding chaco in GTK
Embedding Chaco into Qt and 开发者_运维技巧Wx seems to be no problem. Does anyone have an example or an idea how to embed Chaco into GTK?I use python with matplotlib.[详细]
2023-04-08 03:34 分类:问答Showing a dialog in a thread
I have a pygtk add which has a gtk.Button() which when pressed has to do a job of lets say 5 seconds. So, the thought of implementing the time-intensive function in the signal handler as a thread.[详细]
2023-04-08 02:50 分类:问答PyGTK custom timing
I need to have a custom timing for a component of my program (essentially i\'m counting turns, at the rate of around 20 turns per second). Each turn i need to p开发者_开发技巧rocess some information.[详细]
2023-04-07 09:20 分类:问答Pixbuf overlapping / merge
Is there a way to overlap (but not overwrite) two gtk.gdk.Pixbuf in a gtk.IconView ? For example, I\'ve a cell with this pixbuf image : http://www.pirates-caraibes.com/media/zone/AnimMer.gif[详细]
2023-04-07 02:16 分类:问答how to implement glob.glob
currently my os.w开发者_Go百科alk code list\'s all the files in all directories under the specified directory.[详细]
2023-04-07 00:31 分类:问答