[MonoDevelop] How to Make Dialog which Disappears after 3 Seconds?

Jacek Rużyczka stacheldraht at interia.pl
Fri Apr 2 13:22:24 EDT 2010


Hello,

I made up a Gtk# dialog without (!) the well-known window decoration, which 
shall do the following:

(1) Pop up whenever the user hovers over some widget with the mouse cursor. --
> No problem so far.
(2) Disappear when the user presses the CLOSE button. --> trivial
(3) Disappear by itself after 3 seconds. --> I use the Timer class to do this.
(4) Allow the user to keep on using the underlying toplevel window whilst the 
dialog is displayed. --> Modal property set to false.

Now I encounter the following problem: In many cases the dialog disappears, 
but the underlying window freezes, so that I have to abort the app brute-force 
by using Ctrl+Alt-Esc.

I sued "Dock" as window type, so that the typical window decoration will not 
be displayed. I also tried out "Splash screen", but the results were 
unsatisfactory as well.

Any hints?

Regards
Jacek

----------------------------------------------------------------------
Wielkanoc ... Wyslij kartke na telefon!
Kliknij >>>  http://link.interia.pl/f263c



More information about the Monodevelop-list mailing list