[gtkada] display a window without giving the hand to the user

Stefan Bellon sbellon at sbellon.de
Sun Oct 21 12:00:27 CEST 2007


Thomas De Contes wrote:
> for some usage, i want to display a window for a litle bit of time,  
> but not give the hand to the user, and close it automatically later

Create the window as popup window using Gtk.Enums.Window_Popup and then
register a simple "Destroy" procedure with Glib.Main.Timeout_Add that
closes the window after the time you want.

Greetings,
Stefan

-- 
Stefan Bellon



More information about the gtkada mailing list