module

Tryst::UI::AddressingStrategy

@api private

The interface Handle dispatches #path/#configure/#options through - WidgetAddressing (the default, an ordinary Tk widget with its own path) and MenuEntryAddressing (a menu entry, which has none) both implement it. Ruby's version needs no such interface at all (duck typing - anything responding to virtual_path/configure/option_dump works); Handle's own @addressing ivar needs a concrete Crystal type to hold either strategy.

Instance methods

configure
Source
option_dump
Source
virtual_path
Source