Re: how to get the width of a string



>>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]