Re: Creating Splash screen



"Bhanu Kalyan CH-RollNo.2000-13" <bhanu gdit iiit net> writes: 
> 	You just have to create a window of type GTK_WINDOW_POPUP instead
> of standard GTK_WINDOW_TOPLEVEL. Also u can add widgets like pixmaps like
> you do to a standard window.

There are problems with this, GTK_WINDOW_POPUP results in a window the
window manager doesn't know about, which can have strange side
effects.

Better to just turn off decorations. In GTK 2, use
gtk_window_set_decorated(). In GTK 1.2:
 
 gtk_widget_realize (window);
 gdk_window_set_decorations (window->window, 0);
 gtk_widget_show (window);

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]