Document special root container in Menu
This commit is contained in:
parent
5b8e401e60
commit
12b855ba24
2
menu.go
2
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user