emacs.d/clones/lisp/www.cliki.net/GTK binding.html

100 lines
6.5 KiB
HTML
Raw Normal View History

2022-10-07 15:47:14 +02:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>CLiki: GTK binding</title>
<link rel="alternate" type="application/atom+xml" title="ATOM feed of edits to current article"
href="https://www.cliki.net/site/feed/article.atom?title=GTK%20binding">
<link rel="stylesheet" href="static/css/style.css">
<link rel="stylesheet" href="static/css/colorize.css">
</head>
<body>
<span class="hidden">CLiki - GTK binding</span>
<div id="content"><div id="content-area"><div id="article-title">GTK binding</div><div id="article">This page lists Common Lisp bindings for the <a href="GTK.html" class="category">GTK</a> <a href="GUI.html" class="category">GUI</a> toolkit.<p><ul>
<li>
<a href="cells-gtk.html" class="internal">cells-gtk</a> -
cells-gtk is a GTK+ based toolkit that enables a declarative-style description of a <a href="GUI.html" class="category">GUI</a>
</li>
<li>
<a href="cl-cffi-gtk.html" class="internal">cl-cffi-gtk</a> -
cl-cffi-gtk is a Lisp binding to GTK+ 3 which is a library for creating graphical user interfaces
</li>
<li>
<a href="cl-gtk.html" class="internal">cl-gtk</a> -
Gilbert Baumann's <a href="GTK&#32;binding.html" class="category">GTK binding</a>s for Common Lisp (for <a href="CMUCL.html" class="internal">CMUCL</a>, <a href="CLISP.html" class="internal">CLISP</a> and <a href="ACL.html" class="internal">Allegro CL</a>)
</li>
<li>
<a href="cl-gtk2.html" class="internal">cl-gtk2</a> -
CL-GTK2 is a Common Lisp <a href="GUI.html" class="category">GUI</a> library that provides access to the Gtk+ cross-platform GUI library in idiomatic Lisp style
</li>
<li>
<a href="clg.html" class="internal">clg</a> -
<a href="https://www.cliki.net/Espen%20Johnsen" class="new">Espen Johnsen</a>'s <a href="GTK&#32;binding.html" class="category">GTK binding</a>s for <a href="CMUCL.html" class="internal">CMUCL</a>, <a href="SBCL.html" class="internal">SBCL</a> and <a href="CLISP.html" class="internal">CLISP</a>
</li>
<li>
<a href="Common&#32;Lisp&#32;GTK-Server&#32;Wrapper.html" class="internal">Common Lisp GTK-Server Wrapper</a> -
<a href="http://leonardoce.interfree.it/gtkserver/index.html">Common Lisp Gtk-Server Wrapper</a> is a new way to write platform-independent <a href="gui.html" class="category">gui</a> applications in Common Lisp
</li>
<li>
<a href="gtk-cffi.html" class="internal">gtk-cffi</a> -
<a href="https://common-lisp.net/project/gtk-cffi/">GTK-CFFI</a> is a Common Lisp <a href="GUI.html" class="category">GUI</a> library, that provides concise and idiomatic syntax to use GTK+ library (for now GTK+ 3.0)
</li>
<li>
<a href="lambda-gtk.html" class="internal">lambda-gtk</a> -
Lambda-GTK is an apparently complete set of <a href="https://gtk.org/">GTK+2 bindings</a>, autogenerated by <a href="FFIGEN.html" class="internal">FFIGEN</a>
</li>
<li>
<a href="lgtk.html" class="internal">lgtk</a> -
Lgtk is Common Lisp <a href="GTK&#32;binding.html" class="category">GTK binding</a>; not available for CLISP
</li>
</ul><p>A few comments by <a href="JCh.html" class="internal">JCh</a>:
<ul>
<li> <a href="cl-gtk2.html" class="internal">cl-gtk2</a> seems to be latest and active as of Sept 2009.
</li>
<li> <a href="clg.html" class="internal">clg</a> is possibly the nicest of the lot. It's complete (autogenerated) and very lisp-ish (GTK classes are represented as instances of a subclass of <a href="https://www.cliki.net/site/HyperSpec/Body/syscla_standard-class.html" class="hyperspec">standard-class</a>, you just <a href="https://www.cliki.net/site/HyperSpec/Body/stagenfun_make-instance.html" class="hyperspec">make-instance</a> them); unfortunately, it currently only works with recent versions of CMUCL and SBCL;
</li>
<li> <a href="lambda-gtk.html" class="internal">lambda-gtk</a> is complete (autogenerated), but not very lispish; GTK objects are just untyped alien pointers (the Lisp incarnation of C's <tt>void*</tt>);
</li>
<li> <a href="lgtk.html" class="internal">lgtk</a> is lispish enough, but incomplete (it's hand-written);
</li>
<li> I haven't looked at <a href="cl-gtk.html" class="internal">cl-gtk</a>.
</li>
</ul><p>Another note: Clozure CL ships with gtk2 support in the form of a simple autogenerated binding (through the same ffi interface used for all native Clozure bindings). It's not lispy at all, but it works (you might want/have to re-run the binding generation script though). It should also bring in support for cairo, pango, etc.</div></div>
<div id="footer" class="buttonbar"><ul><li><a href="GTK&#32;binding.html">Current version</a></li>
<li><a href="https://www.cliki.net/site/history?article=GTK%20binding">History</a></li>
<li><a href="https://www.cliki.net/site/backlinks?article=GTK%20binding">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=GTK%20binding&amp;from-revision=3800114599">Edit</a></li><li><a href="https://www.cliki.net/site/edit-article?create=t">Create</a></li></ul></div>
</div>
<div id="header-buttons" class="buttonbar">
<ul>
<li><a href="https://www.cliki.net/">Home</a></li>
<li><a href="https://www.cliki.net/site/recent-changes">Recent Changes</a></li>
<li><a href="CLiki.html">About</a></li>
<li><a href="Text&#32;Formatting.html">Text Formatting</a></li>
<li><a href="https://www.cliki.net/site/tools">Tools</a></li>
</ul>
<div id="search">
<form action="https://www.cliki.net/site/search">
<label for="search_query" class="hidden">Search CLiki</label>
<input type="text" name="query" id="search_query" value="" />
<input type="submit" value="search" />
</form>
</div>
</div>
<div id="pageheader">
<div id="header">
<span id="logo">CLiki</span>
<span id="slogan">the common lisp wiki</span>
<div id="login"><form method="post" action="https://www.cliki.net/site/login">
<label for="login_name" class="hidden">Account name</label>
<input type="text" name="name" id="login_name" class="login_input" />
<label for= "login_password" class="hidden">Password</label>
<input type="password" name="password" id="login_password" class="login_input" />
<input type="submit" name="login" value="login" id="login_submit" /><br />
<div id="register"><a href="https://www.cliki.net/site/register">register</a></div>
<input type="submit" name="reset-pw" value="reset password" id="reset_pw" />
</form>
</div>
</div>
</div>
</body></html>