mittelmark / shtmlview

A simple standalone viewer and a Tcl/Tk widget to display basic HTML and Markdown files
BSD 2-Clause "Simplified" License
5 stars 2 forks source link

Support http and https URLs #8

Open Meshparts opened 5 months ago

Meshparts commented 5 months ago

Added support for http and https URLs. To make this work addapt the procedure ::shtmlview::download to your needs. Test it like this:

package require shtmlview::shtmlview package require critcl

set w .help destroy $w toplevel $w

Toplevel title

wm title $w Help

::shtmlview::tlsinit

::shtmlview::shtmlview .help.f -toolbar 0 .help.f browse https://www.your-url-link.com/your-html-page.html pack .help.f -fill both -expand 1 -side left