Check-in [d684f731aa]
Not logged in

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

Overview
Comment:again, update twv readme
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d684f731aacb09ff8bd072603ccdb48925e9d3ff
User & Date: chw 2019-06-11 09:25:23
Context
2019-06-11
09:31
another update of twv readme (fighting with markdown) check-in: b3e75d7de9 user: chw tags: trunk
09:25
again, update twv readme check-in: d684f731aa user: chw tags: trunk
09:21
update twv readme once more check-in: 947744b890 user: chw tags: trunk
Changes

Changes to undroid/twv/README.md.

16
17
18
19
20
21
22
23
24
25

26
27
28

29
30
31
32
33
34
35
36
37
38
39
..
48
49
50
51
52
53
54
55
56

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

## Getting started

Try the following example:

```
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:

```
# 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
................................................................................
$W dispatch {puts "Hello world!"}
# Control run loop, blocking version
while {[$W loop 1]} {
  # do something
}
# Run loop, returns when webview terminated
$W run 
```


[webview]: https://github.com/zserge/webview







<
<
|
>


<
>



|







 







<
|
>

16
17
18
19
20
21
22


23
24
25
26

27
28
29
30
31
32
33
34
35
36
37
38
..
47
48
49
50
51
52
53

54
55
56
make TCL_CFLAGS="-I... -DUSE_TCL_STUBS" TCL_LDFLAGS="-L... -ltclstub86" TARGET_OS=Windows_NT
```

## Getting started

Try the following example:



`
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:

`
# 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
................................................................................
$W dispatch {puts "Hello world!"}
# Control run loop, blocking version
while {[$W loop 1]} {
  # do something
}
# Run loop, returns when webview terminated
$W run 

`

[webview]: https://github.com/zserge/webview