Last active
          April 27, 2022 13:47 
        
      - 
      
- 
        Save andreldm/62ecee0d87cde8ec5f3d0e36e404511c to your computer and use it in GitHub Desktop. 
    How to avoid GtkImageMenuItem and keep icons on menu items
  
        @aullidolunar gtk3-icon-browser or you can browse /usr/share/icons/<theme>/<size>/<category>.
@andreldm Thanks, man. I also found useful the complete list from freedesktop.org. I have another one: How can I change/update the menu image? Something like a toggle play and pause buttons.
@aullidolunar you need to keep the references for image instances around and call gtk_image_set_from_icon_name using them.
@andreldm OK, OK, I understand: for example in my struct that I pass as user_data for each function as needed. Got it! Thanks.
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Hi. Where can I find the possible names for icon_names to use gtk_image_new_from_icon_name? I'm trying to port my gtk2 app to gtk3. Thanks.