RE: disabling a button



   how should i disable an ordinary command button 
created with gtk_button_new_...call?

to disable:
gtk_widget_set_sensitive(GTK_WIDGET(mybutton), FALSE);

to enable:
gtk_widget_set_sensitive(GTK_WIDGET(mybutton), TRUE);

Regards,
Martyn



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