3 ms·
20 lines of C looks pretty simple to me: http://www.levien.com/gimp/hello.html http://www.levien.com/gimp/hello.html If C is too hard maybe you want c#: http:/
by flukus 9y ago
20 lines of C looks pretty simple to me: http://www.levien.com/gimp/hello.html http://www.levien.com/gimp/hello.html
If C is too hard maybe you want c#: http://www.mono-project.com/docs/gui/gtksharp/hello-world/ http://www.mono-project.com/docs/gui/gtksharp/hello-world/
- bitwize 9y agoThat's not bad. Fair cop: Gtk is pretty okay for a C API. Here it is in Tcl: pack [button .b -text "Hello world" -command {echo "Hello, world!"; exit}] Now you know what I mean when I said Tcl/Tk was "the fastest" way to get a GUI up. Especially when you consider that wish also functions as a REPL at which you can test your ideas right away with no compile step.