Re: How to change label's font , color , and size using code??
- From: Kjell Ahlstedt <kjell ahlstedt bredband net>
- To: "Outlandish ." <yahyai-0 hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: How to change label's font , color , and size using code??
- Date: Sat, 23 Jul 2011 12:18:52 +0200
gtkmm2:
font and size: Gtk::Widget::modify_font()
color of label: Gtk::Widget::modify_fg()
color of widget with editable text: Gtk::Widget::modify_text()
gtkmm3:
font and size: Gtk::Widget::override_font()
color: Gtk::Widget::override_color()
Concerning color, see also bug 551912
(https://bugzilla.gnome.org/show_bug.cgi?id=551912).
It's more complicated than you would think to find the correct way to
change the color of a label or other widget.
lör 2011-07-23 klockan 10:03 +0400 skrev Outlandish .:
> Hello there .
> How to change label's font , color , and size using code??
> thanks...
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]