Re: [gtkmm] fonts in gtkmm



Hi,

* Ole Laursen <olau hardworking dk> [2002-08-30 12:47:09]:
> "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>");

Should be:

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

The documentation says that set_text() doesn't use markup.

  - Morten.




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