GtkList::start_selection

GtkList::start_selection

start_selection() selects the range between the anchor item - 0 on first opening or the most recent selection thereafter - and the next selection that is made. For instance, if you were to select item 4 on opening, the selection range would run as 4, 0, 1, 2, 3. If you then selected item 7 the new range would be 7, 4, 5, 6. Further items can be included in the selection by dragging while the mouse button is still pressed down from selecting the original item.

Note that this method can only be used if the list's selection mode is set to GTK_SELECTION_EXTENDED.

See also: end_selection() , end_drag_selection() .

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.