Re: How to change toolbar icon size?
- From: Diana Esch-Mosher <desch-mosher lanl gov>
- To: "Andrew E. Makeev" <andrew solvo ru>
- Cc: gtk-list gnome org, Gtkmm list <gtkmm-list gnome org>
- Subject: Re: How to change toolbar icon size?
- Date: Thu, 23 Dec 2004 09:41:10 -0700
Andrew E. Makeev wrote:
Hi,
What is alternative for deprecated Gtk::Toolbar->set_icon_size()
method if I would to change toolbar icons at runtime?
thanks in advance,
-andrew
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
I would love to know if there is a "correct way". Here is a completely
back door method!
Glib::RefPtr<Gtk::Settings> settings = Gtk::Settings::get_default();
Glib::PropertyProxy<IconSize> iconToolbar =
settings->property_gtk_toolbar_icon_size();
Gtk::IconSize iconsize(ICON_SIZE_SMALL_TOOLBAR);
iconToolbar=iconsize;
Diana Esch-Mosher
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]