Here is an example. If I comment out labelAttributes.insert( attr ); the program works, otherwise it gives me segmentation fault. Regards, Enrico ----- Original Message ----- From: <Murray Cumming Comneon com> To: <abas aix meng auth gr>; <ec142 york ac uk> Cc: <gtkmm-list gnome org> Sent: Thursday, March 27, 2003 1:41 PM Subject: RE: [gtkmm] Gtk::Label font size and Pango::AttrList > Although I would like to see a simple test case of that crash. > > Murray Cumming > murrayc usa net > www.murrayc.com > > > -----Original Message----- > > From: Anastasios Bassoukos [mailto:abas aix meng auth gr] > > Sent: Donnerstag, 27. März 2003 14:26 > > To: Enrico Costanza > > Cc: gtkmm-list gnome org > > Subject: 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 > > > > _______________________________________________ > > gtkmm-list mailing list > > gtkmm-list gnome org > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > >
Attachment:
test.cpp
Description: Binary data