[Y-devel] Toolkits?
jared.hanson at helixent.com jared.hanson at helixent.com
Thu Feb 19 20:27:41 GMT 2004
> Sorry if this is a stupid question or has already been answered, but...
>
> The documentation says that Y will have server side widgets (some 40
> common widgets, ie buttons, labels, etc). However, you can't seriously
> expect that these widgets are going to supersede efforts like GTK. They
> just won't (and shouldn't)
>
> So, my question is, how does G[TD]K/Qt/wxWindows/whatever fit into the
> big picture? My understanding of X is that GDK has a back-end for X11
> which turns a cute round image button into a series of Xlib calls to
> paint it. Will Y end up being another back-end in GDK? If so, will
> having the server side widgets actually prove anything, or will G[TD]K
> still have to send a series of simple canvas operations to draw its
> controls?
>
> Thanks
> Aaron
I'll address this from my (probably small) understanding of the situation.
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. Linux, depending on your
viewpoint, can be seen as hindered in the desktop apps category because of
the proliferation of widget sets. Assuming 2 have popularity (Qt and GTK)
your app is only goign to appear native in half your target customer base.
This can be quite discouraging from a development standpoint. Its also
discouraging from a users view because it detracts from consistency.
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. If you wanted to maintain source compatibility
with a GTK or Qt code base, a layer could be written that uses Y's canvas
drawing to draw other widgets. A standard, capable widget set is, in my
opinion, a very good thing.
So, in short, if you used GTK or Qt with a Y backend, you are not gaining
anything by the included widget set. However, if Y becomes widely used,
you will likely see nice looking apps that work out-of-the box on Y,
regardless of desktop environment or custom widget sets. Both GTK and Qt
address the lack of a quality "standard" X widget library. Y is meant to
avoid the pitfalls of the X window system, so I believe it is a good
decision to include a high quality widget library.
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved