You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will not result in a NotAContainer exception... it is still possible to treat such a widget as a container, either by inheriting from it and composing in the widgets:
If ALLOW_CHILDREN were to affect all these cases it would also mean that feature would pretty much satisfy (albeit there would be a need for an internal override) a long-standing issue: #2210 (which in turn goes back a bit further).
The text was updated successfully, but these errors were encountered:
Raising this after going over it during the close of 2023-11-29 standup
Following on from #3758, which
ALLOW_CHILDREN
was introduced, and where code like this:will not result in a
NotAContainer
exception... it is still possible to treat such a widget as a container, either by inheriting from it and composing in the widgets:by mounting widgets into it:
or by passing children to a widget that accepts children but has
ALLOW_CHILDREN=False
:If
ALLOW_CHILDREN
were to affect all these cases it would also mean that feature would pretty much satisfy (albeit there would be a need for an internal override) a long-standing issue: #2210 (which in turn goes back a bit further).The text was updated successfully, but these errors were encountered: