Description Usage Arguments Author(s)
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.
1 | gtkListSetSelectionMode(object, mode)
|
|
the list widget. |
|
the new selection mode. |
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.