From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <3e1162e61002020733v46cd996ar38c263ff7908d120@mail.gmail.com> References: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> <87ock8j8no.fsf@marvin.902northland.adams.home> <3e1162e61002020733v46cd996ar38c263ff7908d120@mail.gmail.com> Date: Tue, 2 Feb 2010 23:21:11 -0200 Message-ID: <32d987d51002021721g3e65fd2ay998795afc77d8e51@mail.gmail.com> From: "Federico G. Benavento" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: cc2c7aea-ead5-11e9-9d60-3106f5b1d025 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 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 wrote: >> >> Nice work, Federico! =C2=A0This is very useful. =C2=A0Thank you. >> > > --=20 Federico G. Benavento