• Matthias Clasen's avatar
    GtkModelButton: Add a menu-name property · e0959181
    Matthias Clasen authored
    Add a menu-name property and use it in a default implementation
    of ::clicked to switch menus if we are inside a stack. This means
    GtkModelButton is no longer entirely generic, but rather expects
    to be used inside a GtkPopoverMenu. It still works in other contexts
    too, of course.
    e0959181
gtkmodelbutton.c 25.4 KB