gdkTextWidth {RGtk2}R Documentation

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 [GdkFont] a GdkFont
text [character] the text to measure.
text.length [integer] the length of the text in bytes.

Value

[integer] the width of the string in pixels.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]