gtk
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 分类:问答GTK: how to get width and height of GTK_ICON_SIZE_BUTTON etc?
I need to add my own images into GTK Icon Theme, so i need to somehow figure the size in pixels GTK uses to display icons of different predefined sizes: GTK_ICON_SIZE_BUTTON, GTK_ICON_SIZE_MENU, GTK_I[详细]
2023-04-09 04:05 分类:问答How do you make a Caption Less Window in Gtk?
I want to make a Window in Gtk (Gtk# to be specific, but GTK+ 开发者_高级运维or any other binding will do, the functions are generally the same) without a caption. Kind of like Mozilla Firefox 4 and G[详细]
2023-04-08 21:05 分类:问答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 分类:问答running main thread frm another thread
I have run a secondary thread which some operations are carried on. Then while executing in secondary thread i want to call some operations on main thread. Can any one have sample code for it. I could[详细]
2023-04-08 06:26 分类:问答How do you check whether a Window is Maximised in Gtk?
I want to give a window a specific property only when it is maximised and change it back when the maximised state ends. I am using Gtk# , but all GTK binding answers are welcome. What I am looking for[详细]
2023-04-08 04:52 分类:问答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 分类:问答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 分类:问答Modeless, parentless wxDialog still always above wxFrame window in z-order?
My program opens a wxFrame-based window and multiple modeless and parentless wxDialog-based windows. It all works beautifully, except that the wxDialog-based windows insist on always being on top 开发[详细]
2023-04-07 02:50 分类:问答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 分类:问答