[Gtk-sharp-list] On a ListStore moving items on the list... some questions!
fpiraneo at iface.ch
Wed May 19 09:29:11 EDT 2010
I've a ListStore with several rows where I invite the user to move them as
he/she like; for that I plan to use the methods:
- MoveAfter - documented on
- MoveBefore - documented on
Now the questions:
1. on the documents above it's written: "If position is null, iter will be
moved to point to the end of the list" but if i use such writings:
"lsPagesSelected.MoveAfter(stIter, null );" the program won't compile; same
result when casting the "null";
2. no problem on moving an item down the list with the "MoveAfter" and
assigning the "position" parameter to the iter calculated with the
"IterNext"; any suggestion to easily calculate the equivalence of
"IterBefore" (to moving an item up the list).
Thank you for answer!
View this message in context: http://mono.1490590.n4.nabble.com/On-a-ListStore-moving-items-on-the-list-some-questions-tp2222829p2222829.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list