[9742] in The GTK GIMP ToolKit mailing list archive
[gtk-list] please heeeeeeeelpp: gtk_window_position (.., GTK_WIN_POS_CENTER);
daemon@ATHENA.MIT.EDU (Adam Kopacz)
Sun Nov 1 10:45:13 1998
From: Adam Kopacz <adam.k@idnet.de>
To: gtk-list@redhat.com
Cc: devious@verinet.com
Date: Sun, 1 Nov 1998 16:45:58 +0100
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
hi,
i search since some weeks a call for a GDK app (quick image viewer) that
makes something like:
gtk_window_position (GTK_WINDOW(window), GTK_WIN_POS_CENTER);
without a showed window..
in gdk this works fine:
gdk_window_move(win,(screen_x - org_w) / 2, (screen_y - org_h) / 2);
but i must call
gdk_window_show(win);
first, and this looks ugly becouse the user see a quick-jumping window :(
--
Adam Kopacz - kLoGraFX
Kieselgrund 39 | D-68239 Mannheim | Phone/Fax: +49 621 4816775
eMail: Adam.K@klografx.de | web: http://www.klografx.de/
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null