IUP

Check-in [9c1925379a]
Login

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

Overview
Comment:Switch from PLaneT to collections paths, ocumentation updates
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9c1925379a729a4eece8ce72f96033cfc67a0a49
User & Date: murphy 2015-05-01 14:40:13
Context
2015-05-01
17:00
Racket bindings for the IupMglPlot controls check-in: 62b8ff14c4 user: murphy tags: trunk
14:40
Switch from PLaneT to collections paths, ocumentation updates check-in: 9c1925379a user: murphy tags: trunk
14:29
Documented IupScintilla binding check-in: d9923ee8ef user: murphy tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to api/base.wiki.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>base</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require (planet murphy/iup:1:0/base))</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-base)</code></td>
	</tr>
</table>








|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>base</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require iup/base)</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-base)</code></td>
	</tr>
</table>

Changes to api/controls.wiki.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>controls</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require (planet murphy/iup:1:0/controls))</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-controls)</code></td>
	</tr>
</table>








|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>controls</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require iup/controls)</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-controls)</code></td>
	</tr>
</table>

Changes to api/dialogs.wiki.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>dialogs</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require (planet murphy/iup:1:0/dialogs))</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-dialogs)</code></td>
	</tr>
</table>








|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>dialogs</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require iup/dialogs)</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-dialogs)</code></td>
	</tr>
</table>

Changes to api/dynamic.wiki.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>dynamic</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require (planet murphy/iup:1:0/dynamic))</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-dynamic)</code></td>
	</tr>
</table>








|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>dynamic</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require iup/dynamic)</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-dynamic)</code></td>
	</tr>
</table>

Changes to api/glcanvas.wiki.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>glcanvas</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require (planet murphy/iup:1:0/glcanvas))</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-glcanvas)</code></td>
	</tr>
</table>








|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>glcanvas</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require iup/glcanvas)</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-glcanvas)</code></td>
	</tr>
</table>

Changes to api/main.wiki.

1
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
<h1><tt>main</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require (planet murphy/iup:1:0))</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup)</code></td>
	</tr>
</table>

This module re-exports most bindings from the <tt>[./base.wiki|base]</tt>,
<tt>[./controls.wiki|controls]</tt> and <tt>[./dialogs.wiki|dialogs]</tt>
modules.

Additional features can be imported from the <tt>[./glcanvas.wiki|glcanvas]</tt>, <tt>[./pplot.wiki|pplot]</tt> and <tt>[./web.wiki|web]</tt> modules.

Instead of using this module directly you may instead require the
<tt>[./dynamic.wiki|dynamic]</tt> module to access the GUI library bindings at
runtime iff the library is available.

<h2>Host Specifics</h2>

Under both Racket and CHICKEN, the foreign types and conversion procedures
defined in <tt>[./base.wiki|base]</tt> are not re-exported. Since Racket
provides its own version of <tt>send-url</tt> from <tt>net/url</tt>, the
compatible procedure from <tt>[./base.wiki|base]</tt> is also not re-exported
under Racket.







|











|












1
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
<h1><tt>main</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require iup)</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup)</code></td>
	</tr>
</table>

This module re-exports most bindings from the <tt>[./base.wiki|base]</tt>,
<tt>[./controls.wiki|controls]</tt> and <tt>[./dialogs.wiki|dialogs]</tt>
modules.

Additional features can be imported from the <tt>[./glcanvas.wiki|glcanvas]</tt>, <tt>[./pplot.wiki|pplot]</tt>, <tt>[./plot.wiki|plot]</tt>, <tt>[./scintilla.wiki|scintilla]</tt> and <tt>[./web.wiki|web]</tt> modules.

Instead of using this module directly you may instead require the
<tt>[./dynamic.wiki|dynamic]</tt> module to access the GUI library bindings at
runtime iff the library is available.

<h2>Host Specifics</h2>

Under both Racket and CHICKEN, the foreign types and conversion procedures
defined in <tt>[./base.wiki|base]</tt> are not re-exported. Since Racket
provides its own version of <tt>send-url</tt> from <tt>net/url</tt>, the
compatible procedure from <tt>[./base.wiki|base]</tt> is also not re-exported
under Racket.

Changes to api/plot.wiki.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>plot</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require (planet murphy/iup:1:0/plot))</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-plot)</code></td>
	</tr>
</table>








|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>plot</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require iup/plot)</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-plot)</code></td>
	</tr>
</table>

Changes to api/pplot.wiki.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>pplot</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require (planet murphy/iup:1:0/pplot))</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-pplot)</code></td>
	</tr>
</table>








|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>pplot</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require iup/pplot)</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-pplot)</code></td>
	</tr>
</table>

Changes to api/scintilla.wiki.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>scintilla</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require (planet murphy/iup:1:0/scintilla))</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-scintilla)</code></td>
	</tr>
</table>








|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>scintilla</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require iup/scintilla)</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-scintilla)</code></td>
	</tr>
</table>

Changes to api/web.wiki.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>web</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require (planet murphy/iup:1:0/web))</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-web)</code></td>
	</tr>
</table>








|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1><tt>web</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require iup/web)</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension iup-web)</code></td>
	</tr>
</table>

Changes to racket/dynamic.rkt.

1
2
3
4
5
6
7
8
9
10
11
#lang racket

(define (iup-dynamic-require sym)
  (dynamic-require '(planet murphy/iup:1:0/main) sym))

(define (iup-available?)
  (with-handlers ([exn:fail? (const #f)])
    ((iup-dynamic-require 'iup-version))))

(provide
 (all-defined-out))



|







1
2
3
4
5
6
7
8
9
10
11
#lang racket

(define (iup-dynamic-require sym)
  (dynamic-require 'iup/main sym))

(define (iup-available?)
  (with-handlers ([exn:fail? (const #f)])
    ((iup-dynamic-require 'iup-version))))

(provide
 (all-defined-out))