[9957] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: gtk_widget_set_state bug

daemon@ATHENA.MIT.EDU (david)
Sun Nov 8 15:30:49 1998

Date: Sun, 08 Nov 1998 21:46:18 +0100
From: david <dramboz@imaginet.fr>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Ooops, the patch is buggy because :
    if the widget is insensitive then a call to

gtk_widget_set_state( widget,  new_state)

will call gtk_widget_set_sensitive( widget, TRUE)
which will restore the previous state of the widget intead of
setting its state to 'new_state'.

:(

david


-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post