Re: active and inactive
- From: Sven Neumann <sven gimp org>
- To: <Liu Jeffrey inventec com>
- Cc: <gtk-list gnome org>
- Subject: Re: active and inactive
- Date: 12 Apr 2002 11:13:36 +0200
Hi,
<Liu Jeffrey inventec com> writes:
> I use "gtk_widget_set_state(button1,GTK_STATE_INSENSITIVE)"
> to inactive the "button1". It works !!!
> But then when using "gtk_widget_set_state(button1,GTK_STATE_NORMAL)" or
> "gtk_widget_set_state(button1,GTK_STATE_ACTIVE)"
> to restore "button1" active. It fails. The button is still inactive.
you want to use gtk_widget_set_sensitive() instead.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]