File canvas-draw/api/iup.wiki artifact f2ac6fadac part of check-in 8ca036fa3c


<h1><tt>iup</tt> Module</h1>

<h2>Synopsis</h2>

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

IUP context support.

<h2>Context Types</h2>

<h3><a id="context:iup"><code><nowiki>[context:iup context?]</nowiki></code></a></h3>

Context type for IUP canvas widgets.

<h2>Auxiliary Functions<h2>

<h3><a id="make-canvas-action"><code><nowiki>(make-canvas-action [proc (-> canvas-draw:canvas? integer? integer? any)]) → (-> iup:canvas? integer? integer? any)</nowiki></code></a></h3>

Creates an IUP canvas action callback from a function operating on a Canvas Draw
canvas.