Re: Scrolling to a GtkListBoxRow after adding it to a GtkListBox

2018-04-14 Thread Eric Cashon via gtk-app-devel-list
Hi Mike, It looks like the new rows height isn't getting added to the adjustment. If the height of the new row gets added to the upper value of the adjustment then the last row of the list box can be shown when added. This is what I came up with to test it out. Is this similar to what you ar

Scrolling to a GtkListBoxRow after adding it to a GtkListBox

2018-04-14 Thread Michael Gratton
Hey all, I assume I'm missing something obvious here, but what's the right/best way to ensure that a GtkListBoxRow child is visible (i.e. scrolled to at least the bottom of the viewport) in a scrolled GtkListBox right after adding it? I have a GtkListBox as a child of a GtkScrolledWindow, and