Method GTK1.Widget()->text_width()
- Method text_width
 inttext_width(stringtext)- 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.
int text_width(string text)
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.