massimo wrote:
Il dom, 2004-06-27 alle 12:03, massimo ha scritto:
Hi to all,
I wish to use toolbars of different sizes (in terms of size of icons)
and I just found out that gtk.Toolbar.set_icon_size is deprecated
starting from GTK 2.4
There's a non deprecated way to do it?
well, apparently I managed to work it out, at least with
bonobo.ui.Toolbar building the toolbar via XML (bonobo.ui.Component.set)
(in case someone is interested, there's an attribute 'icon_size' for the
'cmd' tag)
by the way I still don't know how to change size at run-time
massimo
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Hi,
You may use the set_style() method of toolbars.
toolbar.set_style(gtk.TOOLBAR_ICONS) in your case.
Hope this helps,
brice
--
Brice Vissi�re :: http://brice.vissiere.free.fr
** [EMAIL PROTECTED] **
..ooOO registered linux user #134054 OOoo...
Enjoy the life and Drive Blind
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/