pike.hubbe.net

[Top]
GTK
GTK.Widget
previousGTK.Widget()->show_now() GTK.Widget()->unlock_accelerators()next

Method GTK.Widget()->text_width()


Method text_width

int GTK.Widget()->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.


Extracted from Pike v7.3 release 11 at 2001-11-03.