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

Thomas De Contes d.l.tDeContes at free.fr
Wed Oct 17 18:11:56 CEST 2007


Le 17 oct. 07 à 03:29, Thomas De Contes a écrit :

> 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
>
> is it possible ?
> i didn't succeed in display the window without Gtk.Main.Main


	Window : Gtk.Window.Gtk_Window;
begin
	Gtk.Window.Gtk_New (Window);

	Gtk.Window.Show_All (Window);
	Gtk.Main.Main;


it displays the Window
it's right, but it waits for Main_Quit, and i don't want that

if i comment Show_All, it doesn't display the Window
it's right

but if i comment Main instead, it doesn't display the Window more !
why ?


how can i do, please ?


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





More information about the gtkada mailing list