Re: how to get the width of a string
- From: "Murray Cumming" <murrayc murrayc com>
- To: "Marco Scholten" <mscholtn xs4all nl>
- Cc: rion10 <astar_ly yahoo com cn>, gtkmm-list gnome org
- Subject: Re: how to get the width of a string
- Date: Thu, 17 Nov 2005 11:05:23 +0100 (CET)
>>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,
Note that the Label has this feature automatically, though I don't think
the Entry does:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Label.html#a60
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]