Teek API Documentation

What a Node gets in its realized slot once the realizer creates a live widget for it: which app owns it, its live Tk path (what a Handle acts on - #configure, event bindings, on_close, …), and the path its parent’s own layout should actually place (arrange_path, defaulting to the same as path).

These two paths only diverge for a node the realizer auto-wraps in a scrollbar (a bare list/text_area/table/tree/canvas, when scrolling applies - see Realizer#create_native_scrollable): path stays the real widget, so a Handle keeps acting on it directly, but the widget’s actual Tk parent is now the wrapper frame the scrollbar lives in - arrange_path points there instead, since that’s what has to be packed/gridded into the surrounding layout.

Inherits: Data

Instance Methods

initialize(app:, path:, arrange_path: path)

Returns RealizedNode — a new instance of RealizedNode

@api private

Attributes

app [R]

Returns the value of attribute app

Returns Object — the current value of app

arrange_path [R]

Returns the value of attribute arrange_path

Returns Object — the current value of arrange_path

path [R]

Returns the value of attribute path

Returns Object — the current value of path