please heeeeeeeelpp: gtk_window_position (.., GTK_WIN_POS_CENTER);
- From: Adam Kopacz <adam k idnet de>
- To: gtk-list redhat com
- Cc: devious verinet com
- Subject: please heeeeeeeelpp: gtk_window_position (.., GTK_WIN_POS_CENTER);
- Date: Sun, 1 Nov 1998 16:45:58 +0100
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/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]