pygtk
How can I get the window at a certain X, Y position with Python and PyGTK/PyGDK?
So, I develop a small screenshot utility called Lookit, and I\'m wanting to have the user be able to screenshot an entire window (currently entire screen and dragged rectangle capture are supported).[详细]
2023-03-09 11:48 分类:问答Can't pass user data in callback using Glade
I have an app I\'m making with pygtk and Glade. I have a radio button series I\'m trying to get working. I\'m getting stumped at trying to pass user data after a button is toggled. The callback works[详细]
2023-03-09 04:56 分类:问答How do I make a proper read-only PyGTK text entry?
I\'m trying to make a widget that holds a short text output that the user should be able to copy, but not change. This is what I\'ve come up with:[详细]
2023-03-09 02:49 分类:问答Why is a part of the output of a subprocess executed by Popen(), lost?
This is a strange problem. I started working at it on this thread, and now it has morphed into something slightly different.[详细]
2023-03-09 02:10 分类:问答pywebkitgtk vertical resize
Webkit resizes the window it is in to render the full page. The problem though is that it doesn\'t resize down by default, so if it sized up initially, and you load a second page which is shorter, the[详细]
2023-03-08 20:40 分类:问答Automatic DrawingArea scaling on resize with (Py)GTK
How can i scale the gtk.DrawingArea on window resize? I\'m writing a code that will draw some colors in DrawingArea that will be added to开发者_开发问答 an gtk.Table cell. I just need, that the image[详细]
2023-03-08 04:46 分类:问答In PyGTK, what's a good way of displaying an image in a GUI?
I have a PyGTK GUI that has a gtk.Table. Pressing one button will generate a PNG file. I can show the PNG file in the GUI by adding it somewhere in the table and calling the main window\'s show_all[详细]
2023-03-08 03:14 分类:问答In PyGTK, what is a simple way to show a PNG file?
The following PyGTK code displays a PNG file in a window. 开发者_Python百科 Is there a simpler or better way of displaying the PNG file, like, by using a gtk.DrawingArea? For example, how do you resiz[详细]
2023-03-08 03:03 分类:问答What is wrong with my Windows GTK+ for Python installation?
Getting pretty frustrated with this. I installed pygtk 2.24, pycairo 1.8.10, and pyobject 2.28.3 all for my 32 bit system and my installed Python version of 2.7. I have GTK+ installed and working.[详细]
2023-03-07 16:27 分类:问答Python AppIndicator to make tomate Unity compliant
I just discovered tomate : https://gitorious.org/tomate a very simple program that help get things done when you work on a computer.[详细]
2023-03-06 18:53 分类:问答