Extracted from Pike v7.4 release 35 at 2003-12-09.
pike.ida.liu.se
[Top]
predef::
GTK
GTK.Widget

Method GTK.Widget()->text_width()


Method text_width

int text_width(string text)

Description

Returns the width, in pixels, the string would have if it was written with the default font in the style object assosiated with the widget.