Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!texbell!texsun!newstop!sun!kimba!hvr From: hvr@kimba.Sun.COM (Heather Rose) Newsgroups: comp.windows.x Subject: Re: Examples of user interface code built on Xlib needed. Message-ID: <132642@sun.Eng.Sun.COM> Date: 7 Mar 90 20:00:59 GMT References: <9002270733.AA05906@shamu.WV.TEK.COM> Sender: news@sun.Eng.Sun.COM Reply-To: hvr@sun.UUCP (Heather Rose) Organization: Sun Microsystems, Mountain View Lines: 23 In article <9002270733.AA05906@shamu.WV.TEK.COM> paulsh@shamu.wv.tek.COM writes: > >I am writing a very lightweight X client that is constrained by limited >memory. > >Can anyone point me to the following: > >1) Examples of X user interface code built on Xlib ONLY. > (i.e. popup menus, text boxes, scroll bars) The XView toolkit is an example of this. You'll find the source in contrib/toolkits/XView on the X11R4 tape. Borrow what you like... >2) Clients that have interfaces written using Xlib ONLY. The olwm window manager is an Xlib client which uses a small graphics library olgx to easily draw OpenLook objects (pieces of buttons, scrollbars, etc). These are both on the X11R4 tape. Take a look at contrib/windowmgrs/olwm and contrib/lib/olgx. olwm creates it's own menus with Xlib and olgx. Regards, Heather