On 13.02.2019 20:41, Igor Korot via gtk-list wrote:
Hi, list, This link: https://developer.gnome.org/gtk3/stable/gtk3-Standard-Enumerations.html#GtkSelectionMode has 4 modes for selection, while this link: https://developer.gnome.org/gtk2/stable/gtk2-Standard-Enumerations.html#GtkSelectionMode has 5.
The code actually says:
/* list selection modes */ typedef enum { GTK_SELECTION_NONE, /* Nothing can be selected */ GTK_SELECTION_SINGLE, GTK_SELECTION_BROWSE, GTK_SELECTION_MULTIPLE, GTK_SELECTION_EXTENDED = GTK_SELECTION_MULTIPLE /* Deprecated */ } GtkSelectionMode;
So unless you dig up an old version of GTK2 (before that deprecation went into effect), you can't know what EXTENDED selection actually meant. I looked at gtk+-2.2 (!!!), and it also had that value deprecated. So this must be a holdout from the GTK+-1.x era. That doesn't mean that there isn't a case for extending (no pun intended) current selection (no pun intended) of selection modes, but you'd have to explain your idea a bit more thoroughly.
Attachment:
signature.asc
Description: OpenPGP digital signature