mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Blueprint's handling of menus didn't line up with how GtkBuilder handles them. The root <menu> element must have an ID and may not have attributes, and menus may not be used inline in a property.
7 lines
62 B
Text
7 lines
62 B
Text
using Gtk 4.0;
|
|
|
|
Button {
|
|
label: my_menu;
|
|
}
|
|
|
|
menu my_menu {}
|