From 12b855ba24a76634324edc47e3f5df3acdaf4db0 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Thu, 12 Sep 2024 15:01:14 -0400 Subject: [PATCH] Document special root container in Menu --- menu.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/menu.go b/menu.go index f3c59b5..ed990d7 100644 --- a/menu.go +++ b/menu.go @@ -9,6 +9,8 @@ import "git.tebibyte.media/tomo/objects/layouts" // Menu is a menu window. // // Sub-components: +// - Root is the root of the window. It is differentiated from a normal Root +// object in that it has the [menu] tag. // - TearLine is a horizontal line at the top of the menu that, when clicked, // causes the menu to be "torn off" into a movable window. type Menu struct {