James Henstridge wrote:
> Try setting the window position BEFORE mapping the window (with show()).
> The set_position call just sets an attribute in the C level GtkWindow
> structure, which is used when the window is about to be resized.
>
> Also, it is probably better to use the constant WIN_POS_CENTER or the
> string 'center' when calling the set_position method, as constants have
> been know to change value (moreso in GNOME than GTK+, but it is a
> posibility).
>
> James Henstridge.
>
> --
> Email: [EMAIL PROTECTED]
> WWW: http://www.daa.com.au/~james/
Thank you for your patience and help, but I tried both places to call
set_position (before I wrote about the problem), but the only one place where
set_position works correct is AFTER mapping the window (with show()). Calling
set_position BEFORE mapping the window (with show()) has no influence on the
behavior by showing window. I tried to use the constant WIN_POS_CENTER and
string 'center' too, but with the same result of behavior.
Maybe the problem of showing window is not on PyGtk side. Probably the
mistake in right in Gtk.
Thank you for your interest about my problem.
Jiri Danes
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]