Burguer icon for menus in GTK

Hi all:

I’m writing a Gtk app and want to put a menu in a header bar, but, by default, it puts a triangle in the button. How can I put the “burguer icon”? I’m using Glade.

Thanks.

Add a GtkImage to the menu button and set its icon-name to “open-menu-symbolic”. Alternatively, you can set direction to NONE on the GtkMenuButton, which will make gtk add that image for you instead of the arrow.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.