Hi!
I’ve spent some time now searching how to force showing an icon in my popup menu. Unfortunately none of the hints from the last decade and a half (basically since Gtk3 came) actually worked. The problem can be seen in the wxPython demo’s Menu sample.
My environment is an Ubuntu 22.04 LTS install using the default GNOME-based Ubuntu desktop. Using the system installation of wxPython 4.2.1 and wxGtk 3.2.2 with Gtk 3.24.38.
There is a gsettings entry com.canonical.unity.desktop.interface menus-have-icons
, but enabling it doesn’t change anything. Neither did setting gtk-menu-images = 1
in .config/gtk-3.0/settings.ini
. For my own app, I called SetBitmap()
for sure, but also the wxPython demo is missing the icons.
So is there any way to get wxPython menu icons back in this modern world of today?
Thanks in advance for any pointers.