RE: How to activate and deactivate a ok button?
- From: martyn 2 russell bt com
- To: amuda_k yahoo com, gtk-app-devel-list gnome org
- Subject: RE: How to activate and deactivate a ok button?
- Date: Mon, 27 May 2002 09:00:15 +0100
Simple, a button is derivative of a widget, use the function:
GtkWidget *disconnect = ...;
GtkWidget *connect = ...;
gtk_widget_set_sensitive(disconnect,TRUE);
gtk_widget_set_sensitive(connect,FALSE);
regards,
Martyn
-----Original Message-----
From: amudha sundaram [mailto:amuda_k yahoo com]
Sent: Wednesday, May 22, 2002 5:19 AM
To: gtk-app-devel-list gnome org
Subject: How to activate and deactivate a ok button?
Sorry if this has been covered before.
i have two buttons connect and disconnect.only when
connect is active disconnect should be active.
and connect should be deactivated when disconnect is
active.
How to make this to work ?
Thanks for any help.
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
_______________________________________________
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]