Whops, hit the send button before I was finished.. the method should be:
void ChangeLabelFontSize( Gtk::Label *pLabel, // [in] Pointer to label to change font on float scale) // [in] amount to scale font size by. 1.0 leaves label unchanged { Glib::RefPtr<Pango::Context> pPangoContext = pLabel->get_pango_context(); Pango::FontDescription fontD = pPangoContext->get_font_description(); fontD.set_size((int)(scale * fontD.get_size())); pLabel->modify_font(fontD); } -- Garth Upshaw Garth's KidStuff _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list