Article View: comp.windows.x
Article #38441Re: new free widget library
From: Jo Totland
Date: Tue, 11 Mar 1997 00:00
Date: Tue, 11 Mar 1997 00:00
42 lines
3148 bytes
3148 bytes
In article <E6vBxI.MtG@world.std.com>, Joseph H Allen wrote: >I'm close to completing a new free-ware widget library for X. When can we have a look at it. I'd really like to try it out. It seems you have got most things right from what you write... >The reason for this post is to get people's opinions >on the current programming interface. The widget library is written in >standard K&R UNIX C, but in an object oriented style which would allow easy >translation to C++. My question is should I stick with the greater >portability and backward compatibility of K&R C, or should I go directly to >C++? I liked the programming interface. Terse, like C should be, and understandable. It seems you have given some thought for how to keep things simple. Please stick with C. That way it would be usable for both C and C++ programmers, and it would also be possible to make bindings to other languages more easily. The portability and stability of C is also a good reason to stick with it. Some conditionally compiled ANSI-C-declarations in the headers would be fine for those of us who like strict typechecking. How about accelerators? I think this is important for any widget set. It should be easy for the programmer to add them, and if they are associated with some text-label, the mnemonic letter should be underlined. Menus should work like windows (aggh!) in one other respect too; the Meta-key should highlight the menu-bar, and then you can use the arrow-keys or accelerators to navigate the menus. Of course the library shouldn't enforce it, but it should make the default, like it is in windows, and it should be very easy for the programmer to program it. It's hard to implement, but it will be worth it. Most X-widget-sets seems to neglect the fact that a GUI doesn't necessearily imply a MUI (mouse-user-interface). -- -\|/-\-/-\|/-\-/-\|/-\-/-\|/-\-/-\|/-\-/-\|/-\-/-\|/-\-/-\|/-\-/-\ Jo Totland, mailto:jtotland@online.no, http://home.sol.no/jtotland -\|/-\-/-\|/-\-/-\|/-\-/-\|/-\-/-\|/-\-/-\|/-\-/-\|/-\-/-\|/-\-/-\
Technical Details
Message-ID:
<slrn5ibokq.usg.jtotland@jospc.hjemme.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<E6vBxI.MtG@world.std.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,a8c746231dfc1302 X-Google-Attributes: gid1103af,public X-Google-Thread: f6356,a8c746231dfc1302 X-Google-Attributes: gidf6356,public X-Google-Thread: 1025b4,a8c746231dfc1302 X-Google-Attributes: gid1025b4,public X-Google-Thread: 103734,a8c746231dfc1302 X-Google-Attributes: gid103734,public X-Google-Thread: 108717,a8c746231dfc1302 X-Google-Attributes: gid108717,public X-Google-Thread: 107393,a8c746231dfc1302 X-Google-Attributes: gid107393,public X-Google-Thread: 1108a1,a8c746231dfc1302 X-Google-Attributes: gid1108a1,public From: jtotland@online.no (Jo Totland) Subject: Re: new free widget library Date: 1997/03/11 Message-ID: <slrn5ibokq.usg.jtotland@jospc.hjemme.no> X-Deja-AN: 224783125 References: <E6vBxI.MtG@world.std.com> X-Silly-Header: This is a silly header Organization: Telenor Online Public Access Reply-To: jtotland@online.no Newsgroups: comp.windows.x,comp.unix.user-friendly,comp.os.linux.misc,comp.editors,comp.programming,comp.object,gnu.misc.discuss