vueloha.blogg.se

Gtk3 stock icons
Gtk3 stock icons












  1. Gtk3 stock icons windows 7#
  2. Gtk3 stock icons mac#

If you or anyone has a way to put something into that left-padded space, then we're all ears, please attach C/Gtk snippets :-) ). (With that said, we may have missed something. We experimented with snippets and clarified this on the gtk+ channel. We don't have access to the area where checkbox/radio button is, as such we can't insert a button with an icon inside of it. (I'm not a fan of having labels with icons being miss-aligned :-/).īut there is a technical limitation with gtk. My 2 like the idea and we did research the possibility of implementing this. > client-supplied menu image (as in most GTK apps, including Eclipse Mars). > indent all labels or let the checkmark / radio bullet override a > I wouldn't go this route unless this is stipulated by a UI guideline.

Gtk3 stock icons mac#

> I find the jagged menu items on the Mac and in Firefox on GTK hard to read. (To enable the submenu, you have to enable Edit > > .texteditor.TextEditor, where I added icons to the > The screenshot was taken with a modified > - with icon: no checkmark / radio bullet is shown, but the icon itself is > - no icon: checkmark / radio bullet is shown, enclosed in a rounded rectangle A menu item with check/radio state combines

Gtk3 stock icons windows 7#

> Windows 7 has one common reserved slot on the left, which holds the icon > Windows 7 combines icon and check/radio state (In reply to Markus Keller from comment #8) In my opinion, we should choose option 2, seeing as OSX implements this approach as well. It seems there are two options that follow:ġ) we can remove support for icons in menu items, orĢ) we can implement the solution as recommended by the Gtk team, whereby we implement the container (image + label) solution, which causes a slight misalignment between menus with icons and menus with text only.

gtk3 stock icons

I have attached a sample screenshot indicating this issue. It seems this space was reserved for check boxes/radio buttons (apparently "misused" for icons), and therefore the new way of making image menus displays images with that padding.

gtk3 stock icons

In order to continue implementing icons in menus, the Gtk documentation suggests to pack a box with an image + label, and then add it to the gtk_menu_item container.Īfter implementing this solution, I noticed there is some padding on the left side of the menu item which cannot be removed (I checked with the Gtk developers ). GNOME3 text vs image menu comparison Gtk2.24.28 GNOME3 text menu comparison (padding vs no padding) Gtk3.16.5

gtk3 stock icons

GNOME3 image and text menu comparison (padding vs. Windows 7 combines icon and check/radio state














Gtk3 stock icons