Teek::UI::ClosedBuilderError Class
Raised when a DSL build method (ui.button, ui.panel, ui.raw,
ui.var, …) is called after the build has already realized - the
tree is only ever walked into Tk once, at realize, so anything
appended to it afterward would just silently never show up. Use
Session#add instead, which builds and realizes a subtree into the
already-running app immediately.
Inherits: StandardError
Instance Methods ↑
initialize(msg "the build has already realized - use session.add(parent_name) { } to add widgets to an already-running app instead")
Returns ClosedBuilderError — a new instance of ClosedBuilderError