[maemo-developers] [maemo-developers] non-maemo apps in toolbar

From: Simon Guerrero simon at incarnis.com
Date: Thu Jan 5 12:54:32 EET 2006
Aaron Levinson wrote ..
> Hi Simon,
> 
> Did you take a look at the Qt user interface implementation for rdesktop?
> Shouldn't be too difficult to port to GTK, and it's likely easier to port
> the Qt code than to port the X user interface implementation, since the
> Qt code already deals with higher level user interface concepts.  You 
> could even start from the QtE (Qt Embedded) implementation.

I think you're right - I'm going to have a look at it right now. I guess it's because I'm most familiar (source-wise) with the vanilla implementation. Thanks for the advice.

> 
> I initially tried something similar with VNC to what you did for rdesktop,
> but I gave up.  Mixing X and GTK tended to cause lots of problems.  
> However, the nice thing about the rdesktop source code is that the user
> interface implementation is kept separate from the underlying
> communication protocol implementation, which is not the case for RealVNC's
> vncviewer implementation.

I did try doing some awful cross-breed in the initial stages, using the gtk_x11 functions to map between displays, screens etc but it just didn't work. Stuff wouldn't repaint correctly, the window sizes were all wrong etc. Hence the reason I decided to re-implement in GTK.

Simon
More information about the maemo-developers mailing list