xouvert-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xougen] Re: [Xouvert-general] Server Side Widgets


From: weigelt
Subject: Re: [xougen] Re: [Xouvert-general] Server Side Widgets
Date: Wed, 27 Aug 2003 21:18:35 +0200
User-agent: Mutt/1.3.27i

On Mon, Aug 25, 2003 at 11:56:40AM +0200, >> G-LiTe / wrote:

hi,

<snip>
> >Would it be possible to allow a widget set to be able to run on the server 
> >side as well as able to run client side if the widget set is unavailable 
> >on the server?

Yes - thats the idea.

<snip>
> Applications still need libgtk+ (as an example), because they're linked 
> against it. You can ofcourse make a wrapper library to send it to the 
> X server which should then run the extension that handles widgets.
Yes. In our example libgtk would test if the display supports this service
and then decides which backend to load/use.

<snip>
> And when that is done, how are you going to seperate server side and 
> client side toolkits?
Wrong question. The right question would be: how to use as much as we can
on both sides. libgtk and the X side are _completely_ different. They 
just implement have similar ideas.

<snip>
> It _may_ be possible to do it like DRI, which also _may_ require less 
> work, but it'll only work on the local machine anyways and so that is 
> basically not an option.
Why ? 
IIRC it is possible for an X client to ask the server what i can do.
So the client can easily decide what to do. If widgets are supported 
on server side, it loads an different backend as if they aren't.

Back to our gtk-example. Remember: both sides are completely different.
We have an widget protocol, which allows us to define widgets w/ their
properties and to receive messages from them (just like we currently
do with windows). This stuff can be handled by an libxwidget, which 
itself uses libxwindow. The libxdisplay works directly on the windowing
layer - which supports several targets (i.e. local framebuffer, local X,
remote X, ...). Now the libxwidget is loaded by the Xserver's ext-xwidget
as well as by the libgtk - but on each side with different configuration,
so an different backend is loaded on both sides.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux ITS 
 Webhosting ab 5 EUR/Monat.          UUCP, rawIP und vieles mehr.

 phone:     +49 36207 519931         www:       http://www.metux.de/     
 fax:       +49 36207 519932         email:     address@hidden
 cellphone: +49 174 7066481          
---------------------------------------------------------------------
 Diese Mail wurde mit UUCP versandt.      http://www.metux.de/uucp/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]