Re: Enable/Disable widgets



"Andrés Giraldo" wrote:
> Hi! I'm wondering if there's any way to get the same
> functionallity of Disable and Enable properties in
> MS-Visual Basic... the appeareance of be disable, the
> disabled button hasn't the push effect when you click
> on them...

Hi Andrés, I think you need gtk_widget_set_sensitive().

> I'm trying to build a button using just a drawing area
> and drawing it, but I would like to use a most natural
> way to do it

This will probably break (or look bad) with themes :-( why not use a
standard button?

John
-- 
John Cupitt, john cupitt ng-london org uk, +44 (0)20 7747 2570
VASARI Lab, The National Gallery, Trafalgar Square, London, WC2N 5DN




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]