pygtk
problem with configuring gobject-introspection for pygobject and pygtk
i am trying to install pygtk on my mac which开发者_开发问答 then asked me to install pygobject which then asked me to get gobject-introspection . the problem i have in this installation is while confi[详细]
2023-03-23 20:36 分类:问答Python and GTK+: How to create garbage collector friendly objects?
I started writing a small application in Python with GTK+ as my widget toolkit开发者_运维百科. Recently I decided to do some memory optimization and noticed that a most of PyGTK objects I create never[详细]
2023-03-23 12:21 分类:问答PyGTK: Allow usage of Tab in AccelGroup
When using gtk.AccelGroup any combination with Tab charater is invalid. No开发者_Python百科w I do understand that UI navigation is done using this key but in some special cases I need to override that[详细]
2023-03-23 05:51 分类:问答Pygtk - How to center a window on a parent window border?
How can I make a child widget (in this case other window, a popup one) popup attached to the border of the parent window? I know I can center it in the parent with: gtk.Window.set_position(g开发者_C百[详细]
2023-03-23 01:50 分类:问答How to make the last gtk.TreeViewColumn resizeable?
One can use gtk.TreeViewColumn.set_resizable(True) to make column manually resizeable... except the last column -- it always occupies the available space.[详细]
2023-03-22 22:03 分类:问答Python clist widget not returning expected list, returns only the first character of each item
I wrote a simple program to print out all non-hidden files and subdirectories in a given directory. I am now trying to migrate my code into a clist widget example I found on Google.Other than ripping[详细]
2023-03-22 16:21 分类:问答pygtkscintilla auto indent
I\'m trying to translate the c++ code and i can\'t work out what \"char linebuf[1000]\" is, can some kind sole translate this to python or explain what linebuf is. Thanks! :) Taken from http://www.sci[详细]
2023-03-22 06:32 分类:问答PyGTK tutorial error?
I\'m working with Python 2.7 and PyGTK 2.24. I am working with the following tutorial. Please read it for code context.[详细]
2023-03-22 06:13 分类:问答Custom objects in ListStore/TreeStore
I have a list L of objects of my class A. This class implements __str__/__repr__, so each object has it\'s own string representation (not necessary unique). I have a GUI in pygtk, where I have a TreeV[详细]
2023-03-21 17:20 分类:问答Why does python 2.7.2 pygtk segfault parsing a glade GtkButtonBox?
Here are the steps to reproduce my problem: I designed a UI in glade 3.10.0 including a GtkButtonBox containing 4 buttons:[详细]
2023-03-21 02:52 分类:问答