[maemo-developers] Splitting windows vertically

From: Charles Clément caratorn at gmail.com
Date: Mon Apr 26 18:28:15 EEST 2010
On Mon, Apr 26, 2010 at 04:20:37PM +0300, Kimmo Hämäläinen wrote:
> On Sun, 2010-04-25 at 03:24 +0200, ext Charles Clément wrote:
> > Hello,
> > 
> > I have an application, an input method, that doesn't need all the screen
> > estate because it is not a virtual keyboard. By default in maemo, if I
> > set a size for the window, it will show my application window in a
> > horizontal layout, with the normal application above it and my window
> > below.
> > 
> > I would like to know if there is a way to run the two windows
> > side-by-side, one being at the left of the screen and the other one
> > taking the space on the right.
> You could do this with an override-redirect window, the window manager
> does not resize those and lets you place them anywhere you like. You
> need to set it before mapping (showing) your window. See the Xlib manual
> or GTK API how to do it.

Yes, thank you, I tried using an override-redirect window. The problem
with that solution is that the application window is not resized and
still takes the whole screen estate. The input method window will then
mask part of the application window which is not really a practical
because a text field can be as wide as the whole screen, e.g. when
writing the body of an email.

> -Kimmo
> > 
> > Thanks,
> > 

Charles Clément

More information about the maemo-developers mailing list