comp.lang.ada
 help / color / mirror / Atom feed
From: Michael Bode <m.g.bode@web.de>
Subject: Re: GWindows
Date: Sat, 11 Nov 2006 15:50:22 +0100
Date: 2006-11-11T15:50:22+01:00	[thread overview]
Message-ID: <ej4nve$otq$1@online.de> (raw)
In-Reply-To: ulk2po61nmi8$.8w68edxpwarx$.dlg@40tude.net

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:

> Did you try tree view under Windows, for example? I did, a lot. There are
> numerous problems with it. For instance, refresh does not work well upon
> resizing of panes containing tree views.
> I only quoted GTK+ documentation. GtkAda's one repeats it:
>
> https://libre2.adacore.com/GtkAda/docs/2.8/gtkada_rm/gtk-window.html

Do yo refer to this paragraph?

  If you are saving and restoring your application's window positions,
  you should know that it's impossible for applications to do this
  without getting it somewhat wrong because applications do not have
  sufficient knowledge of window manager state. The Correct Mechanism
  is to support the session management protocol (see the "GnomeClient"
  object in the GNOME libraries for example) and allow the window
  manager to save your window sizes and positions.

This says it is not a GTK+ problem but a X11 / window manager
problem. If this is true no X11 toolkit can do something about it.

What I've seen is this:

Set_UPosition seems to set the position of the whole window including
border an title bar. Get_Position seems to return the position of the
client area of the window. If your desktop has a panel on the top of
the root window, you get another offset. You can compare the results
of the GTK functions with the output of xwininfo. 

-- 
Michael Bode



  reply	other threads:[~2006-11-11 14:50 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-07 16:53 GWindows Fionn Mac Cumhaill
2006-11-07 19:31 ` GWindows Michael Bode
2006-11-08 21:23   ` GWindows Stephen
2006-11-09  7:04   ` GWindows Stephen Leake
2006-11-09 12:38     ` GWindows Jeffrey Creem
2006-11-09 18:02     ` GWindows Michael Bode
2006-11-09 22:23       ` GWindows Yves Bailly
2006-11-10 14:09         ` GWindows Alex R. Mosteo
2006-11-10 18:38           ` GWindows Yves Bailly
2006-11-10  8:56       ` GWindows Dmitry A. Kazakov
2006-11-10 21:14         ` GWindows Michael Bode
2006-11-11  9:23           ` GWindows Dmitry A. Kazakov
2006-11-11 14:50             ` Michael Bode [this message]
2006-11-10 22:40         ` GWindows Pascal Obry
2006-11-11  9:29           ` GWindows Dmitry A. Kazakov
2006-11-10 13:33       ` GWindows Stephen Leake
2006-11-08 21:22 ` GWindows Stephen
2006-11-09 14:12   ` GWindows Fionn Mac Cumhaill
2006-11-09 20:15     ` GWindows Stephen
2006-11-09 20:15     ` GWindows Stephen
2006-11-09  7:02 ` GWindows Stephen Leake
2006-11-10 18:34 ` GWindows Andre
2006-11-11  5:23   ` GWindows Fionn Mac Cumhaill
  -- strict thread matches above, loose matches on Subject: below --
2002-01-23 13:13 gwindows chris.danx
2002-01-23 21:58 ` gwindows chris.danx
2002-01-28 17:01 ` gwindows David Botton
2002-01-29  9:01   ` gwindows chris.danx
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox