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@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. _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/