Added a content bounds change parent hook
This commit is contained in:
parent
2b45a8f8a0
commit
df21aa9fd0
@ -19,8 +19,14 @@ type ParentHooks struct {
|
||||
MinimumSizeChange func (width, height int)
|
||||
|
||||
// FlexibleHeightChange is called when the parameters affecting the
|
||||
// element's expanding height have changed.
|
||||
// element's felxible height have changed.
|
||||
FlexibleHeightChange func ()
|
||||
|
||||
// ContentBoundsChange is called by scrollable elements when the
|
||||
// element's content bounds have changed. When this function is called,
|
||||
// the element will have already done any drawing necessary. This is
|
||||
// only intended for updating things like scrollbar positions.
|
||||
ContentBoundsChange func ()
|
||||
|
||||
// SelectionRequest is called when the child element element wants
|
||||
// itself to be selected. If the parent element chooses to grant the
|
||||
|
Reference in New Issue
Block a user