gdkCharWidth {RGtk2}R Documentation

gdkCharWidth

Description

Determines the width of a given character. WARNING: gdk_char_width is deprecated and should not be used in newly-written code. Use gdkTextExtents instead.

Usage

gdkCharWidth(object, character)

Arguments

object [GdkFont] a GdkFont
character [character] the character to measure.

Value

[integer] the width of the character in pixels.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]