01 May 2013 - After the site upgrade, all passwords were reset and you will need to ask the site for a login reset on your first connection.

Automatic scrolling

Hello,

I made a table using this tutorial: http://www.php-gtk.eu/code-snippets/gtktreeview-editable-cell-render

I put the GtkTreeView in a GtkScrolledWindow. I'm adding new items to the table. Now my question is: Is it possible to automatically scroll the window so the last added row is visible?

If I add more items, vertical scrollbar appears as expected. But it stays at the top, so new items are hidden and only the old ones (on the top) are visible. So is it possible to move the scrollbar down? I suppose GtkScrolledWindow::hadjustment is what I'm looking for, but I don't know how to use it.

Many thanks and best regards,
Vladimir

Its a old post but can you

Its a old post but can you try with GtkTreeView::set_cursor and put in the cursor the las column of the tree or the list.

I dont have tested but it can work.

Opzioni visualizzazione commenti

Seleziona il tuo modo preferito per visualizzare i commenti e premi "Salva impostazioni" per attivare i cambiamenti.