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

gtkListSetSelectionMode

gtkListSetSelectionMode


Description

Set the list selection mode. The selection mode can be any value in GtkSelectionMode:

GTK_SELECTION_SINGLE

Zero or one element may be selected.

GTK_SELECTION_BROWSE

Exactly one element is always selected (this can be false after you have changed the selection mode).

GTK_SELECTION_MULTIPLE

Any number of elements may be selected. Clicks toggle the state of an item.

GTK_SELECTION_EXTENDED

Any number of elements may be selected. Click-drag selects a range of elements; the Ctrl key may be used to enlarge the selection, and Shift key to select between the focus and the child pointed to.

WARNING: gtk_list_set_selection_mode is deprecated and should not be used in newly-written code.

Usage

gtkListSetSelectionMode(object, mode)

Arguments

object

the list widget.

mode

the new selection mode.

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.