Re: Toolbar buttons



Oops... yes, however, using set_toolbar_style, does change the icon
size aswell... ie: it's smaller when you only show the icons.

On 30/12/05, Nick <halbtaxabo-debml yahoo com> wrote:
> My understanding of Gtk::Toolbar::set_toolbar_style is
> that it lets you choose icons only, text only, or
> both,
> for the toolbar buttons. This corresponds to what
> is user-configurable in some window managers under
> "Desktop preferences" (and I agree that one should
> not lightly ignore preferences that the user has set).
>
> But what I would like is SMALLER icons. I'm obviously
> not alone, because the OpenOffice.org people use an
> toolbar icon size that looks right to me - presumably
> they did some research on this - their user interface
> in general has been widely praised. Screen real-estate
> is expensive. The default gtk toolbar icons IMHO eat
> up too much of it. YMMV and all that, but surely there
> must be the option to choose the icon sizes that many
> people prefer? The enum pointed out in another post in
> this thread certainly suggests that there is.
>
> So unless I've misunderstood, set_toolbar_style is
> not the answer.
>
> --- rob page <page rob gmail com> wrote:
>
> > My understanding is that you *should* leave this as
> > it is... and the
> > users current theme will handle it.... In xfce4 you
> > can change it in
> > User Interface options... that said however.... you
> > can change it
> > with:
> >
> > Gtk::Toolbar::set_toolbar_style(ToolbarStyle style)
> >
> > and I think you'll be wanting to pass in
> > Gtk::TOOLBAR_ICONS
> >
> > Link:
> >
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Toolbar.html#06cf7edd236a0822882ad93f3178471a
> >
> > Hope this helps.
> > Rob.
> >
> > On 30/12/05, Nick <halbtaxabo-debml yahoo com>
> > wrote:
> > > The default toolbar buttons are big and take up a
> > lot
> > > of screen space. In comparison with toolbar
> > buttons in
> > > apps which do not use gtk, for example OpenOffice,
> > > they look clunky.
> > >
> > > Is there an option to generate more compact
> > buttons?
> > > The example in c.10 of the manual illustrates only
> > the
> > > big clunky buttons.
> > >
> > > _______________________________________________
> > > gtkmm-list mailing list
> > > gtkmm-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/gtkmm-list
> > >
> >
>
>
> _______________________________________________
> 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]