-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il 10/06/2013 15:03, Gabriele Mohr ha scritto:
No, SelectionChanged wasn't emitted before because the position in the list is unchanged when item is toggled and the condition:
if ( citem != getCurrentItem() )
hasn't applied.
SelectionChanged is emitted for single and multi selection if position in list has changed (scrolled up/down). indeed the problem is there imo.
You asked for the difference between YTableCheckBoxOnFirstColumn and YTableMultiSelection, and imo all is there. Multiselection, as the second part of the word says, is concerning selection. That is clear in GUI, not in ncurses since is represented by check boxes. I believe Multiselection should emit a SelectionChanged event because the selection has changed... and not a valueChanged because of the item. Instead with YTableCheckBoxOn[First|Last]Column a checked column means that the item is changed so a valueChanged is more appropriated than a selection changed. Anyway I'm always open to discuss, but I need also answers, if my code is not correct, it does not make sense etc, how can i manage my needs, in a simple way as libyui allows, without specializing code for gtk, qt and ncurses? Cheers, Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlG2EsYACgkQqEs9DA4DquBCIwCfYLkgGJf37AO04K4HkKa7ONYl lwcAni9bwMbZF8N+JAJzG2TkLzSg6vDT =F+mC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org