gtkTextIterOrder: gtkTextIterOrder

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R


Swaps the value of first and second if second comes before first in the buffer. That is, ensures that first and second are in sequence. Most text buffer functions that take a range call this automatically on your behalf, so there's no real reason to call it yourself in those cases. There are some exceptions, such as gtkTextIterInRange, that expect a pre-sorted range.


gtkTextIterOrder(object, second)



a GtkTextIter


another GtkTextIter


Derived by RGtkGen from GTK+ documentation

RGtk2 documentation built on May 20, 2017, 3:33 a.m.

Search within the RGtk2 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.