Commit df7bb07a authored by Dan Egnor's avatar Dan Egnor
Browse files

Tcl adapter, etc.

parent cbdfb1a3
......@@ -45,8 +45,12 @@ You may also browse the CVS repository for
<dt>18 September 2001
<dd>Version 0.8 released, including a <a href="oop_tcl">source adapter</a>
for <a href="">Tcl/Tk</a>.<p>
<dt>7 October 2000
<dd>Version 0.6 released, including a <a href="oop_rl">source adapter</a>
<dd>Version 0.6 released, including a <a href="oop_rl">sink adapter</a>
for the <a href="">GNU
Readline Library</a>.<p>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<title>liboop: oop_tcl_new(), oop_tcl_delete()</title>
<link rel="stylesheet" type="text/css" href="style.css">
<h2>oop_tcl_new(), oop_tcl_delete()</h2>
#include &lt;oop.h&gt;
#include &lt;oop-tcl.h&gt;
oop_source *oop_tcl_new();
void oop_tcl_delete();
<dd>Create a liboop source which uses the
<a href="">Tcl
event loop</a> for events. There is only one such event loop, so this
function is global. You may call it multiple times; it will return the same
event source, but keep count of the number of users.<p>
Events will be dispatched when the Tcl event loop is run, either directly
via Tcl_DoOneEvent() or indirectly via Tk_MainLoop(). Unfortunately, there
is no way to stop the Tcl event loop, so return values from event handlers
are ignored.<p>
<dd>Delete the liboop source created with oop_tcl_new(). This decrements the
count of users; when oop_tcl_delete has been called as many times as
oop_tcl_new, the event source is removed.<p>
<hr><a href="ref">liboop reference</a></body></html>
......@@ -80,7 +80,7 @@ void <a href="oop_adns_query">oop_adns_cancel</a>(oop_adns_query *);
<h4><a href="">GLib</a> Event Source Adapter.</h4>
<p><em>GLib is copyright by Peter Mattis, Spencer Kimball and Josh MacDonald,
<p><em>GLib is copyrighted by Peter Mattis, Spencer Kimball and Josh MacDonald,
and licensed under the terms of the
<a href="">GNU Library GPL</a>.</em></p>
......@@ -96,6 +96,21 @@ void <a href="oop_glib">oop_glib_delete</a>();
void *<a href="oop_glib">oop_glib_return</a>();
<h4><a href="">Tcl/Tk</a>
Event Source Adapter.</h4>
<p><em>Tcl is copyrighted by the Regents of the University of California,
Sun Microsystems, Inc., and other parties.</em></p>
#include &lt;oop-tcl.h&gt;
/* <em>Create and destroy a liboop Tcl adapter.</em> */
oop_source *<a href="oop_tcl">oop_tcl_new</a>();
void <a href="oop_tcl">oop_tcl_delete</a>();
<h4><a href="">Libwww</a> Event Sink Adapter.</h4>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment