[pygtk] Re: Using a VBox as an Expander's child
Andrew Conkling
andrew.conkling at gmail.com
Fri Mar 10 10:04:33 WST 2006
On 8/10/05, Andrew Conkling <andrew.conkling at gmail.com> wrote:
> In my program, I have an expander with two labels in a VBox as its
> child. See http://pygmy.berlios.de/images/pygmywindow.png as
> reference. The slight problem is that when using the program, only
> the middle portion activates the expander. It's like the area that
> would be occupied if a label were the child. Neither in Glade nor in
> the PyGTK reference could I find anything about making a larger
> activating area; is this possible?
Dredging up one of my first posts on the list :) because I'm still
having this problem and I'm feeling the urge to figure something out
about it. I've attached some code to demonstrate the problem. Only
the middle line of the 5-line label will 'activate' the expander. I
feel like GTK+ should activate it over the entire rectangle it
occupies, but short of that, is it possible to work around that?
Again, I'm talking about highlighting *and* making it clickable;
they're one and the same.
Cheers,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: expander.py
Type: text/x-python
Size: 604 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20060309/3d811c51/expander.py
More information about the pygtk
mailing list