the whole thing took around 4 or 5 hours, because there isn't a lot reference material on control(2) and I haven't used it much. so I checked auth/fgui and games/juke to see how things get done.
notice that the event handling and the layout code are almost nil. I'd have taken me a lot more on windows or cocoa trying to find out how to fork and pipe the output of the programs and all the magic that's involved with who knows what. anyways, this is the source if you want to scan it http://plan9.bell-labs.com/sources/contrib/fgb/root/sys/src/cmd/contrib/gui.c On Tue, Feb 2, 2010 at 1:33 PM, David Leimbach <leim...@gmail.com> wrote: > Great! > How many hours do you think this took you to do? > I'm just curious as I've not really tried Plan 9 GUI programming yet, and > think it would be interesting to compare to how long it takes me to do Qt or > even Cocoa GUIs. > Dave > > On Tue, Feb 2, 2010 at 1:20 AM, Matt Adams <mad...@phantomware.ca> wrote: >> >> Nice work, Federico! This is very useful. Thank you. >> > > -- Federico G. Benavento