Il lun, 2004-06-28 alle 21:41, Brice V. ha scritto: > 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
Unfortunately it doesn't work the way I meant :( according to the documentation with set_style I simply manage to have the toolbar to show only the icons instead of only the text or both what I need is to set the size of the icons for only one toolbar to 16 instead of 24 (or whichever is the default size...) thanks anyway 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/
