Document torn tag
This commit is contained in:
parent
12b855ba24
commit
ffb6e9fb95
3
menu.go
3
menu.go
@ -10,7 +10,8 @@ import "git.tebibyte.media/tomo/objects/layouts"
|
|||||||
//
|
//
|
||||||
// Sub-components:
|
// Sub-components:
|
||||||
// - Root is the root of the window. It is differentiated from a normal Root
|
// - Root is the root of the window. It is differentiated from a normal Root
|
||||||
// object in that it has the [menu] tag.
|
// object in that it has the [menu] tag. If the menu has been torn off, it
|
||||||
|
// will have the [torn] tag.
|
||||||
// - TearLine is a horizontal line at the top of the menu that, when clicked,
|
// - 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.
|
// causes the menu to be "torn off" into a movable window.
|
||||||
type Menu struct {
|
type Menu struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user