Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkTreeSelectionGetSelected

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

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

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.