You can attach to the button-pressed signal of the tree view.  This
will give you mouse coordinates.  You can then get the column from
TreeView.get_path_at_pos

Something similar to what you want is in FAQ 13.17
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.017.htp

-Chris


On Sat, 19 Feb 2005 09:01:36 -0500, Thomas Mills Hinkle
<[EMAIL PROTECTED]> wrote:
> On Sat, 19 Feb 2005 14:15:11 +0200, Nikos Kouremenos <[EMAIL PROTECTED]> 
> wrote:
> http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.026.htp
> > but even if it was, I cannot understand what it says [so either way plz
> > someone that knows what it's saying edit it to become more easy to
> > understand for the rest of us]
> 
> Well, I can tell you that this isn't useful for your case at least.
> This FAQ entry is about connecting to the column header, not any place
> in the columns. For example, in many apps, clicking on the column
> header sorts the treemodel by that column.
> 
> An additional query -- does anyone know if it's possible to select and
> arbitrary range of a treeview, a la spreadsheets? I'd like to let the
> user, for example, select four rows of one column so that I could
> offer e.g. a "fill down" action.
> 
> Tom
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
> 


-- 
Christopher Lambacher
[EMAIL PROTECTED]
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to