Re: [gnome-db] how select row in gnome_db_raw_grid via code?





2008/9/27 paragasu <paragasu gmail com>
is there a way to select any row inside the gnome_db_raw_grid using software.
(select the row without a need for the user to click on the row).

the reason is, i have 2 button (previous and next). i want the next
row to be highlighted
(selected mode) when the user click on the next button and otherwise.

can this be done ? or any other solution to get this done?

GnomeDbRawGrid is a GtkTreeView, and as such all the GtkTreeView methods apply:
* use gtk_tree_view_get_selection()
* use one of  gtk_tree_selection_select()

Cheers,
Vivien



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