[pygtk] Making a button unclickable
Fernando San Martín Woerner
snmartin at galilea.cl
Sat Mar 19 21:19:39 WST 2005
try button.set_sensitive(False)
El vie, 18-03-2005 a las 13:24 -0500, Saurabh Wagh escribió:
> Hey there..
>
> I ve got "previous" / "next" buttons while displaying items from a
> looong list.. in batches.
>
> At the first page, I need the " previous " button to be such taht it
> cannot be clicked ... and similarly with the " next " button ... on
> the last page...
>
> It also should work for submit buttons next to text entry widgets --
> till user has not entered text ( so as to make an entry mandatory )
> ........
>
> How do i achieve this un clickable state for buttons... ?????/
>
> Saurabh
> _______________________________________________
> pygtk mailing list pygtk en daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
--
Fernando San Martín Woerner
Jefe de Informática
Galilea S.A.
More information about the pygtk
mailing list