Adding fonts

2006-09-19 Thread Dheeraj V.S.
Hello all, I'm using GTK+-2.6.10 with DirectFB 0.9.25. I've also installed freetype-2.1.10 and fontconfig. I need to add some TrueType fonts, so that my applications could use them. Where should I put the font files? The fonts.conf file contains the following directory list:

Dynamic theme changing

2006-09-19 Thread Madhusudan E
Hi all, *) I want to know how to give a GTK theme file (RC file) as input to GTK+2.10 libraries and also which directory to put in *) Also I want to change the theme dynamically This may be a small clarification. But I don't know how to do this. Please let me know how I can do this. Thanx

subscribe

2006-09-19 Thread tomek . fizyk
___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Adding fonts

2006-09-19 Thread Dheeraj V.S.
Hello all, I'm using GTK+-2.6.10 with DirectFB 0.9.25. I've also installed freetype-2.1.10 and fontconfig. I need to add some TrueType fonts, so that my applications could use them. Where should I put the font files? The fonts.conf file contains the following directory list: !-- Font directory

Re: number of entries in GtkCombobox

2006-09-19 Thread Lance Dillon
I'm not sure I like this answer, it seems to be way to much for this question, but it looks like the best way to do it is to get a GtkTreeIter with gtk_tree_model_get_iter_first(), then walk the list with gtk_tree_model_iter_next(), counting up the number of rows: GtkTreeIter iter; int num,v;

Re: number of entries in GtkCombobox

2006-09-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Sep 19, 2006 at 08:34:56AM -0700, Lance Dillon wrote: I'm not sure I like this answer, it seems to be way to much for this question, but it looks like the best way to do it is to get a GtkTreeIter with gtk_tree_model_get_iter_first(), then

Re: number of entries in GtkCombobox

2006-09-19 Thread Lance Dillon
Okay, that's better. I didn't see the special case. - Original Message From: [EMAIL PROTECTED] To: Lance Dillon [EMAIL PROTECTED] Cc: gtk-app-devel-list@gnome.org Sent: Tuesday, September 19, 2006 11:45:06 AM Subject: Re: number of entries in GtkCombobox -BEGIN PGP SIGNED

Re: proper way to get cairo font width

2006-09-19 Thread Stefan Kost
Hi Tommi, Tommi Sakari Uimonen wrote: Hello. What is the best way to query font width from cairo, in case that I want to set size_hint for the widget that is drawing with that font? Currently I'm creating a cairo for some existing widget and set there the desired font and query the width