Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkTextBufferGetSlice

gtkTextBufferGetSlice


Description

Returns the text in the range [start,end). Excludes undisplayed text (text marked with tags that set the invisibility attribute) if include.hidden.chars is FALSE. The returned string includes a 0xFFFC character whenever the buffer contains embedded images, so byte and character indexes into the returned string do correspond to byte and character indexes into the buffer. Contrast with gtkTextBufferGetText. Note that 0xFFFC can occur in normal text as well, so it is not a reliable indicator that a pixbuf or widget is in the buffer.

Usage

gtkTextBufferGetSlice(object, start, end, include.hidden.chars = TRUE)

Arguments

object

a GtkTextBuffer

start

start of a range

end

end of a range

include.hidden.chars

whether to include invisible text

Value

[character] an allocated UTF-8 string

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.