Re: GtkSelectionMode

2019-02-14 Thread Greg Ewing
Igor Korot wrote: What do you mean - "unmodified mouse clicks"? I mean without pressing any modifier keys (Shift, Ctrl, etc.) It sounded like you expected this to toggle selection of individual items on and off, but in my experience the Ctrl key is needed to do that. Clicking with no modifiers

Re: GtkSelectionMode

2019-02-14 Thread Igor Korot via gtk-list
Hi, Greg, On Thu, Feb 14, 2019 at 4:07 PM Greg Ewing wrote: > > Igor Korot via gtk-list wrote: > > I interpret this as following: > > Using 1, I can select multiple string with just a mouse click if the > > string is not being selected. If the string is already selected, it > > becomes

Re: GtkSelectionMode

2019-02-14 Thread Greg Ewing
Igor Korot via gtk-list wrote: I interpret this as following: Using 1, I can select multiple string with just a mouse click if the string is not being selected. If the string is already selected, it becomes deselected without selection clearing on any other previously selected string. And this

Re: GtkSelectionMode

2019-02-14 Thread Igor Korot via gtk-list
Hi, Paul, On Thu, Feb 14, 2019 at 10:41 AM Paul Davis wrote: > > > > On Wed, Feb 13, 2019 at 10:49 PM Igor Korot wrote: >> >> Hi, Paul, >> >> On Wed, Feb 13, 2019 at 10:03 PM Paul Davis >> wrote: >> > >> > >> > >> > On Wed, Feb 13, 2019 at 2:30 PM Igor Korot via gtk-list >> > wrote: >> >>

Re: GtkSelectionMode

2019-02-14 Thread Paul Davis
On Wed, Feb 13, 2019 at 10:49 PM Igor Korot wrote: > Hi, Paul, > > On Wed, Feb 13, 2019 at 10:03 PM Paul Davis > wrote: > > > > > > > > On Wed, Feb 13, 2019 at 2:30 PM Igor Korot via gtk-list < > gtk-list@gnome.org> wrote: > >> > >> > >> Unfortunately thats not how it looks here. > >> When I

Re: GtkSelectionMode

2019-02-13 Thread Igor Korot via gtk-list
Hi, Paul, On Wed, Feb 13, 2019 at 10:03 PM Paul Davis wrote: > > > > On Wed, Feb 13, 2019 at 2:30 PM Igor Korot via gtk-list > wrote: >> >> >> Unfortunately thats not how it looks here. >> When I create a control with GTK_SELECTION_MULTIPLE and just click on >> the item - it works just like

Re: GtkSelectionMode

2019-02-13 Thread Paul Davis
On Wed, Feb 13, 2019 at 2:30 PM Igor Korot via gtk-list wrote: > > Unfortunately thats not how it looks here. > When I create a control with GTK_SELECTION_MULTIPLE and just click on > the item - it works just like single selection. > In order to select multiple strings I have to press Ctrl key.

Re: GtkSelectionMode

2019-02-13 Thread Igor Korot via gtk-list
. ;) >> >> the example you coded didn't work like this? >> >> richard >> >> On Wed, Feb 13, 2019 at 4:04 PM Igor Korot via gtk-list >> wrote: >>> >>> Hi, >>> >>> On Wed, Feb 13, 2019 at 1:00 PM LRN via gtk-list w

Re: GtkSelectionMode

2019-02-13 Thread richard boaz via gtk-list
e/gtk3-Standard-Enumerations.html#GtkSelectionMode> > explaining how this option: > > GTK_SELECTION_MULTIPLE > Any number of elements may be selected. The Ctrl key may be used to > enlarge the selection, and Shift key to select between the focus and the > child pointed to. So

Re: GtkSelectionMode

2019-02-13 Thread richard boaz via gtk-list
i think you're getting confused: from the GTK-3 manual <https://developer.gnome.org/gtk3/stable/gtk3-Standard-Enumerations.html#GtkSelectionMode> explaining how this option: GTK_SELECTION_MULTIPLE Any number of elements may be selected. The Ctrl key may be used to enlarge the sel

Re: GtkSelectionMode

2019-02-13 Thread Igor Korot via gtk-list
Hi, On Wed, Feb 13, 2019 at 1:00 PM LRN via gtk-list wrote: > > 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

Re: GtkSelectionMode

2019-02-13 Thread LRN via gtk-list
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

GtkSelectionMode

2019-02-13 Thread Igor Korot via gtk-list
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. I understand that on GTK "selection mul

Re: GtkSelectionMode

2006-02-21 Thread Wallace Owen
On Tue, 2006-02-21 at 12:03 -0800, Alan M. Evans wrote: Is there a way to allow the user to select *any* number of elements from a treeview, including zero? GTK_SELECTION_MULTIPLE almost does, but if there's a way to unselect the last selected element, I can't figure out what it is. I hold

Re: GtkSelectionMode

2006-02-21 Thread Alan M. Evans
On Tue, 2006-02-21 at 12:16, Wallace Owen wrote: On Tue, 2006-02-21 at 12:03 -0800, Alan M. Evans wrote: Is there a way to allow the user to select *any* number of elements from a treeview, including zero? GTK_SELECTION_MULTIPLE almost does, but if there's a way to unselect the last