[pygtk] Re: count visible rows

Fabian Braennstroem f.braennstroem at gmx.de
Sun Mar 18 03:42:22 WST 2007


Hi,


Fabian Braennstroem schrieb am 03/15/2007 05:28 PM:
> Hi,
> 
> for my small filemanager I would like to add keybindings which jump
> to the firs or last visible row using H, L (just like in vim). Does
> anybody know how I can achive this? I am using pygtk-2.4.1.
> 
> Greetings!
> Fabian

I found a way using treeview.allocation.height and by manual
counting the rows ... hopefully it works for a different setup too.

Greetings!
Fabian



More information about the pygtk mailing list