Re: how to disable a normal button..
- From: Jan-Marek Glogowski <glogow stud fbi fh-darmstadt de>
- To: nimeesh patel <nimeesh24 yahoo com>
- Cc: <gtk-list gnome org>
- Subject: Re: how to disable a normal button..
- Date: Fri, 3 Aug 2001 11:41:17 +0200 (CEST)
Hi Nimeesh
> i create a normal button..
> now i want the effect that whenever i press the button it
> get disable(no one be able to use it) & whenever i press another button
> i must be able to activate that button...
> can i do it in GTk..if ya plz reply me how i do that..
Every widget has a property called GTK_WIDGET_SENSITIVE.
You can change it using
gtk_widget_set_sensitive (GtkWidget *widget, gboolean sensitive);
Bye
Jan-Marek
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]