[Y-devel] Wiki: Porting window managers
Peter Prohaska pitrp at wg78.de
Fri Feb 27 20:44:23 GMT 2004
On Fri, Feb 27, 2004 at 06:41:12PM +0000, Mark Thomas wrote:
> Casey Winans wrote:
> >I don't really see the pressing need for X compatibility layer. Most X
> >software is written with two toolkits: Qt and GTK.
>
> Sorry, this is just plain wrong. Qt and GTK are mere stitches on the
> huge tapestry that is the X Window System.
>
> xdvi and xfig are two programs I use on a regular basis that use neither
> of these toolkits. At work I use several in-house programs that use the
> Motif toolkit. Of course, eventually these programs will be supplanted
> by superior, Y-based equivalents, but there are also a large number of
> system administration tools for UNIX servers that are both archaic and
> proprietary. They aren't going to change to Y for love nor money.
>
> We _need_ X11 compatibility.
I also like both of the programs you mentioned and no adequate replacement
(esp. xfig) has seen birth yet. As for me i'll never replace X by Y if
that means loosing xfig. (would loose about half of waht i use ;)
What I see on the otherhand is that GTK and QT probably both have enough
abstraction in them to get them going in a very Yish way. What i'm
trying to say is that one has a good chance to get a toolkit wrapper
working so that they communicate in the Y protocol. I already thought a
little about gtk and how to avoid to much dependencies on the server
side. Especially Jeromes approach with the python library made me think
about a xml protocol to register toolkit widgets by describing them with
basic Y widgets. The client could then "map" a clientside representation
provided by the toolkit onto the Y servers widget tree.
I have never used motive and do not know how it works, so no comment here.
Generally I would try to walk the road down from abstract guis that are
similar to Y's internal representation to hardcore X support in that
direction. That would help defining what Y is and it would help to
avoid pitfalls in the complicated (code intensive) sectors.
So i think we need X but we should think twice how and when to get
there.
my personal opinion,
peter.
PS: (note to the ui guidline documentors... please take a note...
xfig is very usable and does not need a single detatched toolbox
xfig is has one of the best help systems ever... the little mouse in
the top right cornor. mmmm... Is there any other documentation at all?)
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved