Posted to tcl by chw at Mon Jun 24 17:39:39 GMT 2019view pretty

... or Tcl can do something, too (WIP)

The current vanillawish on www.androwish.org has an experimental
webview included for the 3 major platforms (Windows, MacOS, Linux
(but gnome 3 required, e.g. Debian 9, CentOS 7, or Fedora 30)).

This component allows for interesting stuff, the main demo is

  vanillawish builtin:TSB

Enter into the input field one of these lines

  tsb::load [info nameofexecutable]/tsb/examples/cheatsheet.tsb
  tsb::load [info nameofexecutable]/tsb/examples/plotchart.tsb
  tsb::load [info nameofexecutable]/tsb/examples/geneva.tsb
  tsb::load [info nameofexecutable]/tsb/examples/northwind.tsb

to get an idea. On Windows and MacOS use .../tsb0/... in the
path name instead.

Comments

Posted by chw at Mon Jun 24 19:15:27 GMT 2019 [text] [code]

Forgot to mention, that the input has to be terminated with <Shift-Return> as in Jupyter Notebooks.

Posted by chw at Mon Jun 24 21:21:02 GMT 2019 [text] [code]

Posted by chw at Mon Jun 24 21:21:46 GMT 2019 [text] [code]

Forgot to mention, that this is self contained, serverless.

Posted by chw at Wed Jun 26 15:17:51 GMT 2019 [text] [code]

Meanwhile I've repackaged it into a smaller zipkit and tried it with APN's Windows Installer of Tcl/Tk 8.6.9. Theoretically the zipkit should support all three major deskpot platfroms. You can fetch it from: http://www.ch-werner.de/AndroWish/TSB.kit