Re: button double click
- From: "Dennis L. Goyette Sr." <dennisg metronics com>
- To: Edgar Hilton <efhilton fsmlabs com>
- Cc: Jin Chen <jinc companionlink com>, gtk-app-devel-list gnome org
- Subject: Re: button double click
- Date: Thu, 22 Mar 2001 09:03:44 -0500
My application doesn't crash if I double click on
the button... it is a popup style window that is modal..... maybe making
it modal will prevent it from crashing or maybe I'm just lucky..... :)
Edgar Hilton wrote:
Alternatively, you can always put a check that makes sure that the
window has not yet been created, something like:
if (window!=NULL){
return;
}
-Edgar
Jin Chen wrote:
Hi,
I have a button and if I click it, a new window will pop up.
The problem is if the user click it twice quickly, my application
will crash. So I wish somebody can tell me how to accept only
one "click" signal from the user evenif if you clicked twice
very quickly.
Jin
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
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]