Re: How do I `grey out' complex buttons?
- From: Owen Taylor <otaylor redhat com>
- To: learfox furry ao net
- Cc: GTK Applocation Development List <gtk-app-devel-list gnome org>
- Subject: Re: How do I `grey out' complex buttons?
- Date: 07 Sep 2000 03:39:35 -0400
learfox furry ao net writes:
If you set a container insensitive all its children will also appear
insensitive.
I tried settiog the following:
GtkWidget *button = (GtkWidget *)data;
if(button == NULL)
return;
GTK_WIDGET_UNSET_FLAGS(button, GTK_SENSITIVE);
The button is a return from gtk_button_new(), however the
label which is parented to an hbox which is parented to the button does
not get grey'ed out..
Try gtk_widget_set_sensitive().
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]