Jeffrey Barish wrote:
And it's clear why you wanted to
inherit from Entry considering all the methods that have to delegate to
methods in Entry.

If you put something like this in your top level class:

  def __getattr__(self, name):
    return getattr(self.entry, name)

then any method or attribute lookups that aren't satisfied
by your class will be automatically redirected to the
Entry widget.

--
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,          | Carpe post meridiem!                 |
Christchurch, New Zealand          | (I'm not a morning person.)          |
[EMAIL PROTECTED]          +--------------------------------------+
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to