Teek::UI::NotRealizedError Class
Raised by any genuinely realize-only method (Session#app, dialogs,
#clipboard, Handle#path/#configure/#modal/#grab_release, …) called
before its node/session has been realized. These don’t queue for
later - the whole point of a Tk-free build phase is that nothing is
pretending to talk to an interpreter that doesn’t exist yet, and
each of these either IS the live app/widget by definition or needs
one to do anything meaningful (grabbing input, popping a native
dialog). In practice this is rarely hit in real code: all of them
are normally called from inside an on_* event handler, which only
ever runs after realize - see Session#every/Session#after for
the one case that genuinely IS deferrable, and queues instead.
Inherits: StandardError
Instance Methods ↑
initialize(msg "not realized yet - call this from an on_* event handler (already " \ "post-realize), or after #run/#run_async/#realize")
Returns NotRealizedError — a new instance of NotRealizedError