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

Thomas De Contes d.l.tDeContes at free.fr
Sun Oct 21 19:10:11 CEST 2007


Le 21 oct. 07 à 12:00, Stefan Bellon a écrit :

> 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.

in fact Window_Popup doesn't works for my problem

(it is very specific :
http://groups.google.fr/group/fr.comp.os.mac-os.x/browse_thread/ 
thread/3985c57539a57636/3df9d9564ea8ede3
i try to make a little program which open a windows an then quit, as  
fast as possible)


maybe it would work if i use Glib.Main.Timeout_Add to call Main_Quit

could you help me to do that, please ?
i don't understand all the arguments, and i don't know what i should put


-- 
j'agis contre l'assistanat, je travaille dans une SCOP !





More information about the gtkada mailing list