Re: get a string's width in unit of pixel



 check the font size ur using, that font size
multiplied by number of chracters in the strings gives
u string width in pixels,ok.


--- Liu Neo-W4135C <W4135C motorola com> wrote: >
folks,
 
i'm a newbie in GTK world and want to know how to
get a string's width in unit of pixel( there should
be a way, right).
 
your kindly response will be greatly appreciated.
 
thanks in advance and  best regards,
 
Liu, Nian
 

________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]