logo       

Re: Toolbar and icon sizes: msg#00043

gnome.gtk+.python

Subject: Re: Toolbar and icon sizes

Chris Lambacher wrote:
Hi,

What is the correct way to specify the size of the toolbar icons? I
want to set the icons to 24x24 because I am mixing UIManager and Glade
and the icons I am using are 24x24 and so glade uses them at that
size. Using pygtk 2.4 gives me a deprication warning when I use the
set_icon_size method of Toolbar.

You can set the global toolbar icon size using GtkSettings. Look at the documentation for gtk_settings_get_default and the GtkSettings property 'gtk-toolbar-icon-size'. You, or your users, can also set this via configuration files.

--
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/
_______________________________________________
pygtk mailing list pygtk@xxxxxxxxxx
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise