Skip to content

History / MenuBar

Revisions

  • Drop the Desktop see-also links, and quote after="file" The desktop is not on the wire protocol and is not going to be, so the wiki -- which documents the wire -- has nothing to say about it. The three See also links pointed at a page that should not exist. after is a string property, so after=file is rejected with "expected a quoted string". The registration's own tip showed it unquoted, which is where this came from; that is fixed at the source, so the generated table now carries the right spelling too.

    @phroun phroun committed Aug 22, 2026
  • Say what menubar is, and stop implying menu takes common properties

    @phroun phroun committed Aug 22, 2026
  • Drop the chatty asides Sentences addressing the reader's likely mistakes, telling them what they usually want, or what to reach for. "This is the part that catches people", "that is usually what you want", "the one to reach for", "the first thing to check". Documentation states what the thing does. Eighteen sentences across nine pages, prose only. No table, example or claim changed; the generated blocks are untouched and every example still runs.

    @phroun phroun committed Aug 22, 2026
  • MenuBar, TabTrinket, Separator, Spacer; ledger correction on ListView MenuBar covers all three types that build a bar, and leads with the thing that catches people: a menubar is a TOP-LEVEL object adopted as the connection's chrome, not a child of a window. Also that every item raises `command` whether or not it has an action= -- one without gets a generated cmd.auto.N and that is what arrives -- and that `&` mnemonics are menu-only, with && the escape. TabTrinket, Separator and Spacer complete the simple end. Two corrections came out of running them rather than reading them: a separator does NOT take its direction from the box it sits in (it is horizontal until told otherwise, so an hbox needs orientation=vertical), and spacer has width/height for a fixed gap as well as stretch for an elastic one. ListView's appearance section was wrong. alternate_rows and ledger are the same switch -- both write one field, and the paint path bands with the ledger colors either way -- so they do not combine, and `ledger !alternate_rows` comes out off. The page now says so and points at ledger as the name to prefer. Every executable example across all fourteen pages was run against the real registry: 41 clean, 2 deliberate error demos, 5 structural skeletons left elided on purpose.

    @phroun phroun committed Aug 22, 2026