> Hi Tommi,
Hi Stefan :)
>> 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?
>>
> would it help to construcz PangoLayouts and use pango_layout_get_extents().
I think I started some experiments alrea
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 wid
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 MESSAGE
-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(), the
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;
G
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:
/usr/shar
Hi.
How do I get the number of entries in GtkComboBox (created with
gtk_combo_box_new_text() )?
Tomek
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
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
Madhus
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:
/usr/share
10 matches
Mail list logo