Re: Removal of icons in buttons/menus


I'm digging up this post because I made the transition to GTK+3.10. I discovered that GtkImageMenuItem is now depreciated. I just thought that the migration will only puts "always-show-image" to false by default.

I have a simply question : is there a example that shows how to create GtkMenuItem with icon ? I'm asking because icons are very helpful in one menu in my app (yes, item's text is a noun). Should I use GMenu ? Should I use GtkModelMenuItem (but it looks to be internal of gtk+) ? I'm asking because neither gedit 3.10 nor evince 3.10 has dropped GtkImageMenuItem. I didn't find a program that drops GtkImageMenuItem.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]