gdkCharWidth {RGtk2}R Documentation

gdkCharWidth

Description

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

Usage

gdkCharWidth(object, character)

Arguments

object

a GdkFont

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.20.21 Index]