Re: Font width in gtk 2.x



On Tue, Aug 07, 2007 at 05:08:17PM +0200, gtk rapp-informatik de wrote:
Iam porting my application from gtk 1.x to gtk 2.x
what is th eqivalent api for

gdk_string_width(widget->style->font,"m")  in gtk 1.x

in gtk 2.x
I want to dynamicly set the size for Entry Widgets the
lenghts of the selected Font of the application.

gtk_entry_set_width_chars() cannot be used?

Yeti

--
http://gwyddion.net/



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