Hello everyone,
I noticed, that when I use collapse_all() from gtk.Treeview, I need to
call queue_draw() to make the change immediate. If I don't, the change
will take effect only when I hover over the treeview. Anyway, when I
implemented a button for expand_all(), I noticed that this time it is
[pygtk-1.99.17 , gtk+-2.2.4, python-2.3.3]
I'm trying to decrease the vertical spacing in my TreeView/ListStore.
I find in the docs:
http://www.pygtk.org/pygtk2reference/class-gtktreeview.html
under "Style Properties"
...
"vertical-separator"Read-Write The vertical space between ce
Honestly, you save yourself days of debugging if you stick to a "GUI
thread" and have all real work done in other threads. This requires a
GUI Thread "queue" that you have it clean when it gets a chance. This is
how CANVAS works, and we work on anything from *BSD to Windows this way. :>
Just my
On Fri, Jan 21, 2005 at 08:28:58AM -0500, Chris Lambacher wrote:
> Hi,
>
> Threading does not work quite like that. You don't have to call
> threads enter and threads leave before every funtion call, only when
> you are making pygtk calls from another thread.
I didn't write you had to put every
Hi,
Threading does not work quite like that. You don't have to call
threads enter and threads leave before every funtion call, only when
you are making pygtk calls from another thread.
You would generally have:
if __name__ == '__main__':
gtk.gdk.threads_init()
gtk.gdk.threads_enter()
Hi all,
I'd like to know if it is possible to implement an "utf-8 proxy"
between the application and GTK.
At the moment internally I use unicode a encode/decode the strings
with utf-8 when I have to put/get text on/from GTK widgets.
I was thinking if it is possible to implement an hook that capt
I have been looking at the documentation of the gtk.gdk.threads_...
functions. (*) at:
http://www.pygtk.org/pygtk2reference/gdk-functions.html
There I read under gtk.gdk.threads_init:
| Theoretically any time a thread calls a PyGTK method or function it
| should bracket the call with the gtk.gdk