Bugs item #855817, was opened at 2003-12-07 16:54
Message generated for change (Comment added) made by howama
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101522&aid=855817&group_id=1522
Category: gtk
Group: defect
>Status: Pending
>Resolution: Fixed
Priority: 5
Submitted By: Luca De Rugeriis (piedamaro)
>Assigned to: Mark Howard (howama)
Summary: gtk.Window.setPosition doesn' t seem to work
Initial Comment:
dialog.setPosition(WindowPosition.CENTER_ON_PARENT);
This doesn' t work for me. Maybe the parent window isn'
t passed correctly?
----------------------------------------------------------------------
>Comment By: Mark Howard (howama)
Date: 2003-12-15 15:16
Message:
Logged In: YES
user_id=189107
Hi,
from the gtk docs:
Sets a position constraint for this window. If the old or
new constraint is GTK_WIN_POS_CENTER_ALWAYS, this will also
cause the window to be repositioned to satisfy the new
constraint.
I interpret this a meaning that if the window is already
visible, it will not be moved unless the new position is
center_always. To use the other settings, you must set them
before you show the window. I will update the javadoc for
the setPosition method.
Does this help? or do you still think there is an error in
Java-Gnome. I've checked the code and we do seem to be
passing the right things to the right places.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101522&aid=855817&group_id=1522
|