Re: Gtk::ToolButton label font change ...



On Sat, Jan 22, 2005 at 16:16:42 +0100, Igor Jovanovic wrote:
> Hello everyone.
> How to change font for a Gtk::ToolButton label ?
> Is it possible ?
> 
> I know how to use Pango::FontDescription with a simple label, but with
> Gtk::ToolButton, i can't find a way.

But a Gtk::ToolButton uses a Gtk::Label internaly! Just ask it for the
Gtk::Label and set it's font...

Anyway, you should leave font up to the user's theme.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb ucw cz>

Attachment: signature.asc
Description: Digital signature



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