gdkTextWidth: gdkTextWidth

Description Usage Arguments Value Author(s)

View source: R/gdkFuncs.R

Description

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

Usage

1
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 documentation built on May 30, 2017, 5:53 a.m.

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