🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sw.components
Article #484

Re: ** Toward a Portable OO GUI Library **

#484
From: peter da silva
Date: Thu, 18 Feb 1993 20:37
27 lines
2486 bytes
In article <1lsbg0$fpd@agate.berkeley.edu> jbuck@forney.berkeley.edu (Joe Buck) writes:
> Well, it's because there are two ends to the interface.  Standardizing the
> API helps programmers write applications; standardizing the look and feel
> helps users quickly use programs effectively.

Yes, but if the API is standardized the look-n-feel will automatically
follow. You just put the shared library for the look-n-feel YOU want in
/usr/lib, and *voila* everything that uses the standard API uses it.

> On
> the other hand, if a user is used to left-click selecting an object, and
> someone writes a program that makes left-click delete an object, I'm afraid
> "RTFM" isn't going to serve as a very good defense.

A properly designed API wouldn't *let* the program know whether the user had
clicked the left button, the right button, or a foot pedal... it would provide
a select message that indicated what object the user had selected, or call the
program's select callback, or whatever.

No reason this couldn't be done under X, other than politics and marketing
differentiation. Lord knows there are real problems to be resolved in X, but
this *should* have become a non-issue years ago.
-- 
Peter da Silva                                            `-_-'
Ferranti International Controls Corporation                'U` 
Sugar Land, TX  77487-5012 USA
+1 713 274 5180                            "Zure otsoa besarkatu al duzu gaur?"
Technical Details
Message-ID: <id.XLPX.7D5@ferranti.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!wupost!udel!intercon!psinntp!ficc!peter
References: <1993Feb12.115721.2784@alex.com> <id.7KNX.QI6@ferranti.com> <1lsbg0$fpd@agate.berkeley.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc89c,8f5dc62bc6cbe273
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 1040c9,8f5dc62bc6cbe273
X-Google-Attributes: gid1040c9,public
X-Google-Thread: 1025b4,8f5dc62bc6cbe273
X-Google-Attributes: gid1025b4,public
X-Google-Thread: f9256,8f5dc62bc6cbe273
X-Google-Attributes: gidf9256,public
X-Google-Thread: ff6c8,8f5dc62bc6cbe273
X-Google-Attributes: gidff6c8,public
X-Google-ArrivalTime: 1993-02-18 12:37:50 PST
Newsgroups: comp.sw.components,comp.sys.mac.programmer,comp.sys.next.programmer,comp.unix.programmer,gnu.misc.discuss
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!wupost!udel!intercon!psinntp!ficc!peter
From: peter@ferranti.com (peter da silva)
Subject: Re: ** Toward a Portable OO GUI Library **
Message-ID: <id.XLPX.7D5@ferranti.com>
Organization: Xenix Support, FICC
References: <1993Feb12.115721.2784@alex.com> <id.7KNX.QI6@ferranti.com> <1lsbg0$fpd@agate.berkeley.edu>
Date: Thu, 18 Feb 1993 20:37:50 GMT
Lines: 27