Re: [gtkmm] fonts in gtkmm



"Koecher Rainer ETR.ETB2" <Rainer Koecher ElinEbgTraction at> writes:

> is there anybody who knows how to change the font size in a Gtk::Lable
> object?

Easy way:

  label.set_text("<big>This is my text</big>");

Only works with gtkmm 2, though. (But if you aren't already using
that, this should be one of many good reasons to switch :-)

-- 
Ole Laursen
http://sunsite.dk/olau/



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