Re: GtkTreeView: GTK_SELECTION_SINGLE not working?
- From: Kristian Rietveld <kris imendio com>
- To: Carlos Pereira <jose carlos pereira ist utl pt>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkTreeView: GTK_SELECTION_SINGLE not working?
- Date: Fri, 4 Apr 2008 18:14:58 +0200
Hello,
Could you more precisely describe what you think is wrong? I quickly
tested with GTK+ trunk and I do not see any problems. It is indeed the
case that one row is basically always selected (both with single and
browse mode) and the main difference between browse and single mode is
that in browse mode you cannot use ctrl+click to unselect a row. And
this is something that does work and is possible in single selection
mode.
regards,
-kris.
On Tue, Mar 25, 2008 at 04:53:22PM +0000, Carlos Pereira wrote:
For some strange reason GtkTreeview is not working in
GTK_SELECTION_SINGLE mode, here (Fedora 8, Gtk 2.10, I believe).
GTK_SELECTION_NONE, GTK_SELECTION_BROWSE,
GTK_SELECTION_MULTIPLE work as expected, but GTK_SELECTION_SINGLE always
behaves as GTK_SELECTION_BROWSE... so one row is always selected...
I am including a simple 40-line working example below, that shows this.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]