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

pangoGetLogAttrs

pangoGetLogAttrs


Description

Computes a PangoLogAttr for each character in text. The log.attrs array must have one PangoLogAttr for each position in text; if text contains N characters, it has N+1 positions, including the last position at the end of the text. text should be an entire paragraph; logical attributes can't be computed without context (for example you need to see spaces on either side of a word to know the word is a word).

Usage

pangoGetLogAttrs(text, level, language)

Arguments

text

[char] text to process

level

[integer] embedding level, or -1 if unknown

language

[PangoLanguage] language tag

Value

A list containing the following elements:

log.attrs

[PangoLogAttr] list with one PangoLogAttr per character in text, plus one extra, to be filled in

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.