Added GTK support
commit2aa13df2486b3d6bc30a70718dcdf99c7fd406d0
authorThomas Leonard <talex5@gmail.com>
Sat, 25 Oct 2008 18:48:41 +0000 (25 19:48 +0100)
committerThomas Leonard <talex5@gmail.com>
Sun, 26 Oct 2008 10:54:02 +0000 (26 10:54 +0000)
tree3b7b45f56a798e8fd95b0912a24766101eb64c25
parent2db05402cc2f85e514e94d1db49d9aa8cd1c20c7
Added GTK support

GTK code goes in libdltgtk.so to avoid unnecessary dependencies if you don't
want it. The main dlt.gtk interface is generated using the scripts in the gen
directory (but not automatically, since it requires pygtk).

Example:

import dlt.gtk: *

class Main:
in Gtk gtk

void main(string[] args):
args = gtk.init_check(args)
auto w = gtk.gtkWindow()

w.set_title("Hello from Delight!")
w.show()

gtk.main()
Makefile
_externals/dlt/gtk.dlt [new file with mode: 0644]
dlt/gtk.dlt [new file with mode: 0644]
gen/README [new file with mode: 0644]
gen/doenums.py [new file with mode: 0755]
gen/gengtk.dlt [new file with mode: 0644]
gen/gengtk.sh [new file with mode: 0755]