[pygtk] DeprecationWarning: GtkEntry.set_editable()

Matt Wilson msw@redhat.com
Fri, 22 Feb 2002 00:27:55 -0500


self.category_combo.set_property('editable', gtk.FALSE)

cheers,

Matt

On Thu, Feb 21, 2002 at 06:49:56PM -0500, Edgar Denny wrote:
> When testing code with pygtk-1.99.7 I get lots of messages of the
> form:
> 
> ./recipe_win_ui.py:182: DeprecationWarning: 
>   self.category_combo.entry.set_editable( gtk.FALSE)
> 
> Fair enough, the gtk+-1.3 API docs say that gtk_entry_set_editable() is
> deprecated.
> 
> However, it says that I should use gtk_editable_set_editable() instead.
> How do I do this in Python? GtkEditable isn't in the class hierarchy
> for GtkEntry, so how do I access gtk_editable_set_editable()?
> 
> Thanks,
> 
> Edgar.
> 
> 
> 
> _______________________________________________
> pygtk mailing list   pygtk@daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk