paulsh@shamu.wv.tek.COM (02/27/90)
Xperts, 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) 2) Clients that have interfaces written using Xlib ONLY. I know that using Widgets/Gadgets and Xt is the prefered method of implementing user interface code, yet I am forced to consider using only Xlib as a means of obtaining reduced memory at the cost of reduced functionality and possibly increased complexity. Thanks in advance, Paul Shearer M.S. 61-049 Tektronix, Inc. P.O. Box 1000 Wilsonville, OR 97070-1000 W (503) 685-2137 FAX (503) 682-1500 paulsh@orca.wv.tek.com
hvr@kimba.Sun.COM (Heather Rose) (03/08/90)
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