[Y-devel] Toolkits?

Mike Paquette mpaque at mac.com
Thu Feb 19 21:07:19 GMT 2004


On Feb 19, 2004, at 12:27 PM, jared.hanson at helixent.com wrote:

> First, when you look at a more "desktop-oriented" OS, you will always 
> find
> a common widget set, such as those in Mac OS X or Windows.  This helps
> from a testing and deployment point of view, because end users are
> guaranteed to have a certain widget set, and the developer does not 
> need
> to be as concerned about compatibility.


One of the interesting things in the design of the Mac OS X window 
system is that the window system itself contains no widget sets, and is 
even graphics-model agnostic.  Drawing is done by client-side 
frameworks, such as Quartz (PDF-like vectors and images) and QuickDraw 
(Xlib-like raster oriented primitives).  Widget sets are built on top 
of the client-side drawing primitives in a higher layer, such as the 
Cocoa AppKit or Carbon ToolBox.

> Second, even with a "standard" widget set, nothing precludes developers
> from writing their own.  Apple's pro-level audio and video tools have a
> unique look-and-feel to them.  That suggests to me that they are likely
> using a custom widget set.

Apple's custom widget sets are built on top of the same client side 
graphics routines as the standard tool sets.  In the Cocoa environment, 
customized subclasses of standard UI elements (NSView, NSControl) are 
typically used to gain custom appearance and behavior on top of common 
functionality.




More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved