Re: [gtk-list] Re: Splash Screen



Lee Mallabone wrote:
> 
> Set up a timeout with gtk_timeout_add() that will destroy the
> splash-screen window after x number of seconds. You could also probably
> setup a signal handler to check if the user clicks on the splash screen.
> 
> When your timeout function activates, it destroys the splash screen
> window, and creates your app's main window(s) as per normal...

Didn't try, but I suppose it is better to use the realize event of the
main window. Or show event. After all, you want that splash stay till
you create your main window, wouldn't you ?

Ionutz


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