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

Type: GtkTreePath

A GtkTreePath to check selection on.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if path is selected.