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

gdkTextWidth

gdkTextWidth


Description

Determines the width of a given string. WARNING: gdk_text_width is deprecated and should not be used in newly-written code.

Usage

gdkTextWidth(object, text, text.length = -1)

Arguments

object

a GdkFont

text

the text to measure.

text.length

the length of the text in bytes.

Value

[integer] the width of the string in pixels.

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.