gtkTreeSelectionGetSelected: gtkTreeSelectionGetSelected

Description Usage Arguments Value Author(s)

View source: R/gtkFuncs.R

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

1

Arguments

object

A GtkTreeSelection.

Value

A list containing the following elements:

retval

[logical] TRUE, if there is a selected node.

model

A pointer to set to the GtkTreeModel, or NULL. [ out ][ allow-none ]

iter

The GtkTreeIter, or NULL. [ allow-none ]

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.