Stefano d'Antonio
Stefano d'Antonio

Reputation: 6172

MonoDevelop widgets stucked in Insensitive StateType

Once i set the state of a Button/Entry to "Insensitive":

button.State = Gtk.StateType.Insensitive;

It never goes back to the normal state during run-time:

button.State = Gtk.StateType.Normal;

What am I doing wrong?

(I've tried button.Sensitive = true/false and it does work... But the behaviour of "State" is still weird even if i solved the problem...)

Upvotes: 1

Views: 269

Answers (1)

syncster31
syncster31

Reputation: 66

I thought of answering this question even though it's old since there is no posted solution yet.

You must use

button.Sensitive = true;

I hope that helps.

Upvotes: 1

Related Questions