gtkTreeSelectionGetSelected {RGtk2}R Documentation

gtkTreeSelectionGetSelected

Description

Sets iter to the currently selected node if selection is set to GTK_SELECTION_SINGLE or GTK_SELECTION_BROWSE. iter may be NULL if you just want to test if selection has any selected nodes. model is filled with the current model as a convenience. This function will not work if you use selection is GTK_SELECTION_MULTIPLE.

Usage

gtkTreeSelectionGetSelected(object)

Arguments

object [GtkTreeSelection] A GtkTreeSelection.

Value

A list containing the following elements:

retval [logical] TRUE, if there is a selected node.
model [GtkTreeModel] A pointer to set to the GtkTreeModel, or NULL.
iter [GtkTreeIter] The GtkTreeIter, or NULL.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]