Re: making button insensitive to mouse clicks



Firstly, my button is not toggle button (its simple button)
Secondly, software emmited signals (using gtk_button_clicked()) should be caught. completely disabling button 
will not help  



On Thursday, 21 November 2013 10:52 PM, Eric Wajnberg <eric wajnberg sophia inra fr> wrote:
  
Hi,

I guess that

gtk_toggle_button_set_active(Button,FALSE);

is doing the trick.

Cheers,



Mahesh Chaudhari wrote, On 22/11/2013 07:04,
 
Hi list, 
is it possible to make GtkButton insensitive to mouse click and mouse hover 
however it should  catch the signal sent through gtk_button_clicked() and gtk_button_entered()
_______________________________________________
gtk-app-devel-list mailing list gtk-app-devel-list gnome org 
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list   

--  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    Eric Wajnberg Associated Professor at the 
University of Montreal (Quebec, Canada) I.N.R.A. 400 Route des Chappes, BP 167, 06903 Sophia Antipolis Cedex, 
France Tel: (33-0) 4.92.38.64.47 Fax: (33-0) 4.92.38.65.57 e-mail: wajnberg sophia inra fr Web page: 
http://www.sophia.inra.fr/perso/wajnberg/ Editor-in-Chief of BioControl, Published by Springer. 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]