[Mono-list] Mono SQL# For GTK# Splash Image
13 Dec 2002 18:53:48 +0100
On Fri, 2002-12-13 at 18:22, Daniel Morgan wrote:
> Hi Gonzalo,
> Here's my image for SQL# For GTK#.
> I'm still working on the program that does the splashing...
> The image displays, but after my main window has already displayed. Maybe
> displaying an image is an idle event?
a good approach might be:
* start the program an immediately create the splash screen, and install
an idle handler
* do all initialization and start GTK main loop
* when the idle callback is called, create the main window and destroy
the spash screen.
If that's too quick, and the splash screen is shown and destroyed too
quickly, you can use a timer instead of the idle handler.
Rodrigo Moya <firstname.lastname@example.org>