From mboxrd@z Thu Jan 1 00:00:00 1970 From: dexen deVries To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Thu, 20 Dec 2012 10:45:37 +0100 Message-ID: <9569976.H0q2fxa1s0@coil> User-Agent: KMail/4.9.4 (Linux/3.7.0-l47; KDE/4.9.4; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [9fans] Good sample GUI code (window creation, management, Topicbox-Message-UUID: f8ecb200-ead7-11e9-9d60-3106f5b1d025 On Wednesday 19 of December 2012 11:14:30 Luke Evans wrote: > I thought I had bumped into a short example on the web for creating > a window in C, but can't seem to find it again. >=20 > I'm sure I could search all the sources for various examples of such > things, but does anybody know of a good (preferably concise) sample > that demonstrates the correct way to write GUI apps in Plan 9? $PLAN9/src/cmd/draw/*.c in particular, stats.c -- comes with a simple pop-up menu, at under 1kL= OC. --=20 dexen deVries [[[=E2=86=93][=E2=86=92]]] Reality is just a convenient measure of complexity. -- Alvy Ray Smith