Method

GtkTreeSelectionpath_is_selected

Declaration [src]

gboolean
gtk_tree_selection_path_is_selected (
  GtkTreeSelection* selection,
  GtkTreePath* path
)

Description [src]

Returns TRUE if the row pointed to by path is currently selected. If path does not point to a valid location, FALSE is returned.

Parameters

path GtkTreePath
 

A GtkTreePath to check selection on.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if path is selected.