Check-in [446f86bc48]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:update twv readme
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 446f86bc48eb1b51749bc873a004bf524016c21e
User & Date: chw 2019-06-11 09:16:42
Context
2019-06-11
09:21
update twv readme once more check-in: 947744b890 user: chw tags: trunk
09:16
update twv readme check-in: 446f86bc48 user: chw tags: trunk
09:12
add twv to vanillawish build scripts plus some cleanup in undroidwish build scripts check-in: 4ef9501cfc user: chw tags: trunk
Changes

Changes to undroid/twv/README.md.

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

Tcl extension that provides API for the [webview] library. Modeled after the Python binding.

## Build instructions

Building on Linux and MacOSX:

```bash
make TCL_CFLAGS="-I... -DUSE_TCL_STUBS" TCL_LDFLAGS="-L... -ltclstub8.6"
```

Building for Windows using MingW cross compiler:

```bash
make TCL_CFLAGS="-I... -DUSE_TCL_STUBS" TCL_LDFLAGS="-L... -ltclstub86" TARGET_OS=Windows_NT
```

## Getting started

Try the following example:

```tclsh/wish
package require twv

set W [twv::new -width 800 -heigh 600 -title Hello -resizable 1 -debug 0 -url "https://www.androwish.org"]
$W run
```

You may use most of the webview APIs:

```tclsh/wish
# Change window title
$W title "New title"
# Make window fullscreen
$W fullscreen 1
# Change initial window background color
$W color 255 0 0 0
# Evaluate JS







|





|







|








|







2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

Tcl extension that provides API for the [webview] library. Modeled after the Python binding.

## Build instructions

Building on Linux and MacOSX:

```sh
make TCL_CFLAGS="-I... -DUSE_TCL_STUBS" TCL_LDFLAGS="-L... -ltclstub8.6"
```

Building for Windows using MingW cross compiler:

```sh
make TCL_CFLAGS="-I... -DUSE_TCL_STUBS" TCL_LDFLAGS="-L... -ltclstub86" TARGET_OS=Windows_NT
```

## Getting started

Try the following example:

```tclsh
package require twv

set W [twv::new -width 800 -heigh 600 -title Hello -resizable 1 -debug 0 -url "https://www.androwish.org"]
$W run
```

You may use most of the webview APIs:

```tclsh
# Change window title
$W title "New title"
# Make window fullscreen
$W fullscreen 1
# Change initial window background color
$W color 255 0 0 0
# Evaluate JS