gtkListSetSelectionMode: gtkListSetSelectionMode

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R

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

1

Arguments

object

the list widget.

mode

the new selection mode.

Author(s)

Derived by RGtkGen from GTK+ documentation


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