Hi all!

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
http://www.go-mono.com/docs/index.aspx?tlink...@ecma%3a1027%23liststore%2fm%2f35
- MoveBefore - documented on
http://www.go-mono.com/docs/index.aspx?tlink...@ecma%3a1027%23liststore%2fm%2f37

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!
Francesco
-- 
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.
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to