Re: Window Auto Destroy !!
- From: Charles Iliya Krempeaux <tnt linux ca>
- To: "youssa voila fr" <youssa voila fr>
- Cc: gtk-app-devel-list gnome org, rsteinke w-link net
- Subject: Re: Window Auto Destroy !!
- Date: 31 Oct 2001 11:02:42 -0800
Hello,
You might be able to use the function:
gtk_timeout_add
This thing will make it so every so many milliseconds, a (callback)
function is called.
You could make that callback function check to see if the window should
be destroyed.
Also, you might use the function:
gtk_idle_add
Which runs a (callback) function (over and over again) while your
program is idle.
They're both declared in the header:
gtk/gtkmain.h
See ya
Charles Iliya Krempeaux
tnt @ linux.ca
ckrempea @ alumni.sfu.ca
On Wed, 2001-10-31 at 02:12, youssa voila fr wrote:
Hello,
Please, is there any way to destroy a window if after X second any click is done ??
Thank you
Have a good day
Youssa
____________________________________________________________
Faites un voeu et puis Voila ! www.voila.fr
Avec Voila Mail, consultez vos e-mails sur votre mobile Wap.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]