[Gtk-sharp-list] TreeView Event 'CursorChanged' Problem

Joe Scaduto scooch@noggle.biz
Sat, 27 Mar 2004 22:55:30 -0500


I have a TreeStore containing one column of strings with a treeview
whose selection mode is single.  Initially no row is selected.  I want
to catch when a user selects one of the rows.  I tried the event
'CursorChanged' and the first selection the user makes, the event is
emitted twice.  But after the first selection the event is emitted only
once when a row different other then the current one is selected.  I
also tried the 'Changed' event and got the same results.   Any info. on
why the events are emitted twice initially would be greatly appreciated
or a better way of catching when a user selects a row different from the
current one.