Container event propagation can be disabled

This commit is contained in:
Sasha Koshka 2023-07-13 12:53:08 -04:00
parent 4dbd86cec3
commit 32e58ce63d
1 changed files with 9 additions and 8 deletions

View File

@ -172,14 +172,15 @@ type TextBox interface {
// according to a layout rule.
type ContainerBox interface {
ContentBox
SetGap (image.Point)
Add (Object)
Delete (Object)
Insert (child Object, before Object)
Clear ()
Length () int
At (int) Object
SetLayout (Layout)
PropagateEvents (bool)
SetGap (image.Point)
Add (Object)
Delete (Object)
Insert (child Object, before Object)
Clear ()
Length () int
At (int) Object
SetLayout (Layout)
}
// LayoutHints are passed to a layout to tell it how to arrange child boxes.