Re: Splitting windows vertically

2010-04-27 Thread Kimmo Hämäläinen
On Mon, 2010-04-26 at 17:28 +0200, ext Charles Clément wrote:
 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.

That's right. You cannot have an application window that does not occupy
the whole screen because that is against the UI design. However, you
could perhaps position the input method window so that it does not cover
the text field you are writing to...

-Kimmo

 
  
  -Kimmo
  
   
   Thanks,
   
  
 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Splitting windows vertically

2010-04-26 Thread Kimmo Hämäläinen
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.

-Kimmo

 
 Thanks,
 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Splitting windows vertically

2010-04-26 Thread Charles Clément
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

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Splitting windows vertically

2010-04-24 Thread Charles Clément
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.

Thanks,

-- 
Charles Clément

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers