Re: Retrieving one selected element in a GtkTreeSelection (multiple)?

Daniel Pekelharing wrote:
Hi all,

What's the best way to retrieve just one of the selected items in a
GtkTreeSelection which has been set to GTK_SELECT_MULTIPLE mode?

Looks like gtk_tree_selection_get_selected_rows() is your available alternative. Just use the first path in the list.

Guy Rouillier

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