Re: [Java-gnome-developer] Disable button?
Brought to you by:
afcowie
From: Robert M. <ro...@ma...> - 2004-12-23 17:19:04
|
On Thu, 2004-12-23 at 17:54 +0100, Abcdefg wrote: > Hi, > > I'm using libgtk-java now which is fun :) > > But I have a (probalby very stupid) question, how do I disable a buttun. So > it is impossible to click on it and it is gray/white. The GTK term for disabled/enabled is sensitive, so there must exist a method named like setSensitive(boolean) > > If I remember correctly in c++/windows it was button.enabled = false; I know > it is possible in gtk because the app ooodi also uses it but in the api I > can't find it. > > Thanks, > David > ________________________________________ Robert Marcano |