Re: [pygtk] accessibility mystery

2006-01-25 Thread Dusty Phillips
> Just a little note, for the record (mailing list archives :), all I > had to do to get the above code to behave in pekwm the same way that > it did in gnome was to add /opt/gnome/lib/gtk-2.0/modules > to by /etc/ld.so.conf and run ldconfig. Now I can experiment with > further code and see if anyt

[pygtk] import wnck error

2006-01-25 Thread Akbar
Hi, I use Ubuntu Breezy Badger ( 5.10 ), Gnome 2.12. I installed gnome-python2-extra-devs version 2.12 by synaptic. I run python. $ python >>> import wnck Traceback (most recent call last): File "", line 1, in ? ImportError: /usr/lib/python2.4/site-packages/gtk-2.0/wnck.so: undefined symbol: w

Re: [pygtk] accessibility mystery

2006-01-25 Thread Dusty Phillips
> I > notice it uses bonobo to access the registry, does this mean gnome > must be running? I tried the following code under pekwm: > > >>> import bonobo > >>> registry = bonobo.get_object("OAFIID:Accessibility_Registry:1.0", > "Accessibility/Registry") > >>> registry.getDesktopCount() > 1 > >>> de

Re: [pygtk] Howto set the length of GenericTreeModel

2006-01-25 Thread Don Allingham
Is there at least a way the on_get_value() call can know if the row and column passed are visible? If so, we can avoid a database access and return an empty string for rows that are not visible. Don On Wed, 2006-01-25 at 11:03 +, Gustavo J. A. M. Carneiro wrote: > On Wed, 2006-01-25 at 09:47

Re: [pygtk] Howto set the length of GenericTreeModel

2006-01-25 Thread Gustavo J. A. M. Carneiro
On Wed, 2006-01-25 at 09:47 +, Richard Taylor wrote: > Never mind. I read the source to gtktreeview.c and I now see that there is > nothing I can do about the calls to on_iter_next(iter). I looks like the > treeview is determined to know which rows have children even before it has to > displ

Re: [pygtk] Howto set the length of GenericTreeModel

2006-01-25 Thread Ettore Virzi
Il giorno mer, 25/01/2006 alle 09.47 +, Richard Taylor ha scritto: > Never mind. I read the source to gtktreeview.c and I now see that there is > nothing I can do about the calls to on_iter_next(iter). I looks like the > treeview is determined to know which rows have children even before it h

Re: [pygtk] Howto set the length of GenericTreeModel

2006-01-25 Thread Richard Taylor
Never mind. I read the source to gtktreeview.c and I now see that there is nothing I can do about the calls to on_iter_next(iter). I looks like the treeview is determined to know which rows have children even before it has to display the row. So I am stuck with 40K calls to on_iter_next(iter)

Re: [pygtk] Multi-paned window

2006-01-25 Thread Luigi Paioro
Thanks Tony, but I need resizing! This is the trouble. I can do the same thing you exampled me with a gtk.Table()... What can be another solution? Thanks. Luigi Tony Nelson wrote: > Well, if you don't need to let your users resize the panes individually, > then a normal HBox or VBox should do