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

pangoAttrListSplice

pangoAttrListSplice


Description

This function opens up a hole in list, fills it in with attributes from the left, and then merges other on top of the hole.

Usage

pangoAttrListSplice(object, other, pos, len)

Arguments

object

[PangoAttrList] a PangoAttrList

other

[PangoAttrList] another PangoAttrList

pos

[integer] the position in list at which to insert other

len

[integer] the length of the spliced segment. (Note that this must be specified since the attributes in other may only be present at some subsection of this range)

Details

This operation is equivalent to stretching every attribute that applies at position pos in list by an amount len, and then calling pangoAttrListChange with a copy of each attribute in other in sequence (offset in position by pos).

This operation proves useful for, for instance, inserting a pre-edit string in the middle of an edit buffer.

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.