Text Widget: getting number of lines?
- From: Todd Dukes <tdukes ibmoto com>
- To: gtk <gtk-list redhat com>
- Subject: Text Widget: getting number of lines?
- Date: Fri, 29 May 1998 15:34:14 -0500
I have a text widget (Gtk_Text in gtk--) that I am using as a long
label.
I have word wrap turned on. I would like to size the widget as close to
the size needed for the text as possible.
Is there any way to get the number of lines text that were generated by
the word-wrap so I can set the size of the Gtk_Text widget?
thanks,
Todd
--
==============================================================
| Todd Dukes E-MAIL: tdukes@ibmoto.com |
| Motorola Somerset Phone: (512) 424-8008 |
| MS OE70 |
| 6300 Bridgepoint Parkway Building #3 |
| Austin, Texas 78730 |
==============================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]