Re: Gtk::Label and proportional font
- From: Isenmann Daniel <daniel isenmann t-online de>
- To: Marco Scholten <mscholtn xs4all nl>
- Cc: gtkmm-list gnome org
- Subject: Re: Gtk::Label and proportional font
- Date: Wed, 13 Apr 2005 13:21:39 +0200
Marco Scholten schrieb:
>> how can I set a proportional font in a Gtk::Label?
>> Is this possible?
>> I will write a text and i need a proportional font, because of the
>> spaces between the characters. When I use the normal font, there will be
>> more space for _ than - (example).
>> So, how can I use proportional font. It must be proportional, if the
>> user change the font in his config, the font in my app must be the same
>> as I set it.
>> Can anyone help me??
>> Thanks, Daniel
> Don't you mean a monospaced font?
> Anyway, you can set the font of your label with Gtk::Label::modify_font().
Yes, you are right, I mean monospaced fonts.
I can't find a description of the function in the API-Documentation. How
can I modify the font? Can you give me an example, please?
My Gtk::Label is called game.
My compiler prints an error: no matching function for call to
] [Thread Prev