Skip to content

Conversation

@Meshparts
Copy link

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant