← board

PCL/NilPy — Windows tk compatibility (opt-in emulate/wrap)

What

NilPy import tk must "just work" on Windows too. The decision ([[decide-nilpy-gui-tk-vs-pcl]]) is a compile-time platform switch inside lib/pcl/tk.pas — Linux keeps the real Tcl/Tk embed (works, cheap system dep); Windows gets an opt-in emulate/wrap in one isolated include, so the Tcl/Tk DLL-swarm never touches the zero-dep Windows binary.

{$ifdef WINDOWS}
  {$include windows-tk-compat.inc}   // this ticket — stub now, fill later
{$else}
  // existing real Tcl/Tk embed, untouched
{$endif}

Shape (deliberately incremental)

Explicitly NOT

Acceptance