Hi, Do you use gtkmm2 or gtkmm3? In gtkmm2 there is the function Gtk::Widget::modify_font(const Pango::FontDescription& font_desc). In gtkmm3 it has been replaced by Gtk::Widget::override_font(const Pango::FontDescription& font_desc).
If you have studied a tutorial for gtkmm2, and then use gtkmm3, you will certainly see more differences. There is a summary at http://developer.gnome.org/gtkmm-tutorial/3.0/changes-gtkmm3.html.en /Kjell ons 2011-06-29 klockan 20:02 +0530 skrev [email protected]: > hello all, > I am new to gtkmm. I was trying out the video tutorials on > "http://blog.spacefish.be" and in one of the videos he used > Pango::FontDescription object to describe and font and then changed > the font of a label using Gtk::Label::modify_font() function > [label.modify_font(font), where, label is an object of Gtk::Label and > font is an object of Pango::FontDescription], but in my code compiler > produces error saying that no such function exist in the Gtk::Label > class, however it runs perfectly fine in the tutorial. > What might be the reason for this? Has the above mentioned function > been deleted form the API? > > fLiDe > _______________________________________________ > gtkmm-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkmm-list _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
