Re: [gtkmm] Gtk::Label font size and Pango::AttrList



<delurk>
Hi,
a better way to do this is to use the pango markup language:

  Gtk::Label label;
  ...
  label.set_markup("<big>Bigger font!</big>");

which should work nicely with users that have 36 pt fonts...

HTH,
Tassos
</delurk>

-- 
Bassoukos Tassos   +30 31 996011 / +30 93 7109954       IT Generalist

C++: an octopus made by nailing extra legs onto a dog
                                      -- Steve Taylor, 1998




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