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

On 02/14/2019 05:17 AM, c.buhtz--- via python-hackers-list wrote:
returns always None no matter how much rows are in it.

You need to run this method after the calculations are done. Example:

        GLib.idle_add(self.event_after )

    def event_after(self):

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."

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
python-hackers-list mailing list
python-hackers-list gnome org

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