3 ms·
You know that GUI programming is fucked -- at least on Linux -- when it's 2018 and the fastest route from zero to working UI is still Tcl/Tk.
by bitwize 9y ago
You know that GUI programming is fucked -- at least on Linux -- when it's 2018 and the fastest route from zero to working UI is still Tcl/Tk.
- blacksqr 9y agoImagine how good Tcl/Tk would be now if people had put as much effort into improving it as they did in trying to kill it and come up with alternatives.
- flukus 9y ago20 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.