class

Tryst::App

Inherits Reference < Object

Ruby interface to Tcl/Tk (mirrors ruby-tryst's lib/tryst.rb). App wraps a Tryst::Interp - the low-level bridge - with the ergonomic API real applications use: creating widgets, evaluating Tcl code, running the event loop.

Instance methods

register_drop_target(widget) : Nil

Overrides core tryst's own documented no-op - see that method's doc comment there for the full API contract (this changes what happens when it's called, not the contract itself). Requiring "tryst-dnd" is the only thing that has to change for an existing caller to start receiving real OS drops.

Source