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.
>
This looks like a bug.  The gtk_entry_set_editable() method shouldn't be 
getting wrapped, as its existance shadows the 
gtk_editable_set_editable() method.

>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()?
>
The gtk.Entry wrapper class has two bases: gtk.Widget and gtk.Editable. 
 The multiple inheritance is used to mix in the methods attached to the 
interface implemented by gtk.Entry.

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to