Re: Gtk style
- From: "Jonathon Jongsma" <jonathon jongsma gmail com>
- To: "Rob Benton" <rob benton conwaycorp net>
- Cc: gtkmm-list gnome org
- Subject: Re: Gtk style
- Date: Mon, 15 May 2006 19:20:09 -0500
On 5/15/06, Rob Benton <rob benton conwaycorp net> wrote:
Mickael Drean wrote:
> Hi everybody,
>
> I'm quite desapointed because I'm trying to have a small icon toolbar
> by changing Gtk style with the small Gtk app "Theme selector". When i
> succeed to have toolbar as i want, there is no more picture on button
> (create with a Gtk::Stock).
>
> Is there a way to have a small icon toolbar AND button with picture?
>
>
> I know that's probably a stupid question, but i couldn't succeed to
> solve this basic problem....
>
> Thanks for all
>
> Mick
>
I've tried using Gtk::ToolbarStyle :
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Toolbar.html
But selecting BOTH_HORIZONTAL only gives me an icon and no text.
I believe that setting TOOLBAR_BOTH_HORIZ will display only an icon
for 'unimportant' toolbar items and an icon with text beside it for
'important' toolbar items. So if you want both icon and text, you'll
have to make sure that you tell gtkmm that your item is important (see
set_is_important():
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1ToolItem.html#a33895835f121fdf68fd02726a626ecf)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]