Re: [PyGObject] invisible paths between Gtk.TreeView.get_visible_range() ?



I created some example code to explain the problem.

Maybe I miss something like a item-draw-event?

https://gist.github.com/noMICROSOFTbuhtz/ec14bd66cd8b1e0719c4197f8a58d60f

On 2019-02-14 11:17 <c buhtz posteo jp> wrote:
Mystic...
mytree.get_visible_range()
returns always None no matter how much rows are in it.

Why?

On 2019-02-14 10:21 "c.buhtz--- via python-hackers-list"
<python-hackers-list gnome org> wrote:
The documentation about Gtk.TreeView.get_visible_range() says:

"Returns the first and last visible path. Note that there may be
invisible paths in between."
<https://lazka.github.io/pgi-docs/#Gtk-3.0/classes/TreeView.html#Gtk.TreeView.get_visible_range>

I have stomachache about the fact that there could be "invisible
paths in between". But the documentation here keeps mystic.
Why is it so? In which cases are there invisible paths?

I need to prevent this situations.
_______________________________________________
python-hackers-list mailing list
python-hackers-list gnome org
https://mail.gnome.org/mailman/listinfo/python-hackers-list  




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]