You can create the GtkWindow with type GTK_WINDOW_POPUP and set its
position to GTK_WIN_POS_CENTER. I tested this with WindowMaker and
managed to create an undecorated window that is placed at the center
of the screen and is always on top. I don't know how this behaves
under other window managers.
(...)
win = gtk_window_create (GTK_WINDOW_POPUP);
gtk_window_set_position (GTK_WINDOW(win), GTK_WIN_POS_CENTER);
(...)
[]s
From: Naba Kumar <[EMAIL PROTECTED]>
Subject: Splash screen.
Date: Tue, 8 Aug 2000 22:31:35 -0700 (PDT)
> Can anybody tell me how to produce a splash screen
> using gdk/gtk (may be using a function with the image
> file as its argument)? The image file can be anything
> other than xpm (because its going to be large).
>
> Thanks.
>
> -Naba
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list