RE: Desensitizing GtkToolItems
- From: Murray Cumming Comneon com
- To: sandmann daimi au dk, federico ximian com
- Cc: gtk-devel-list gnome org
- Subject: RE: Desensitizing GtkToolItems
- Date: Thu, 6 Nov 2003 11:47:25 +0100
> Federico Mena Quintero <federico ximian com> writes:
>
> > There seems to be no API to change the sensitivity of
> GtkToolItems...
> > am I doing something horribly stupid, or should I really use
> >
> > GtkWidget *w = _gtk_tool_button_get_button (my_item);
> > gtk_widget_set_sensitive (w, FALSE);
>
> The intended way to do it is with
>
> gtk_widget_set_sensitive (GTK_WIDGET (my_item), FALSE).
>
Shouldn't we be desensitizing GtkActions instead?
Murray Cumming
www.murrayc.com
murrayc usa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]