forked from AuroraMiddleware/gtk
singleselection: Clarify docs
Mention persistence and sorting.
This commit is contained in:
parent
3e6e247e56
commit
e72c243aca
@ -33,6 +33,11 @@
|
||||
* GtkSingleSelection is an implementation of the #GtkSelectionModel interface
|
||||
* that allows selecting a single element. It is the default selection method
|
||||
* used by list widgets in GTK.
|
||||
*
|
||||
* Note that the selection is *persistent* -- if the selected item is removed
|
||||
* and re-added in the same ::items-changed emission, it stays selected. In
|
||||
* particular, this means that changing the sort order of an underlying sort
|
||||
* model will preserve the selection.
|
||||
*/
|
||||
struct _GtkSingleSelection
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user