how to get the width of a string
- From: "rion10 (sent by Nabble.com)" <lists nabble com>
- To: gtk-list gnome org
- Subject: how to get the width of a string
- Date: Thu, 17 Nov 2005 00:45:42 -0800 (PST)
there is a entry in my window, so I want to put a string to the entry box.
if the string is too long to fit the entry, so I need cut the string to be like this:
aaaaaa...bbb,
so, my question is how to get the width of the specify string with default font style.
Thanks for any hint!
Sent from the
Gtk+ - General forum at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]