[pygtk] Redefining the problem: Related to inheritance

Gian Mario Tagliaretti gianmt at gnome.org
Tue Aug 28 22:52:18 WST 2007


2007/8/28, John Ehresman <jpe a wingware.com>:

> Does the .defs file contain a definition for the
> gtk_my_displayable_add_command function?  It may be mapped using the
> name 'add_command' instead of displayable_add_command.

ugh... good catch this could be the problem.

> BTW, I wouldn't call this an inheritance problem because the method is
> only defined in a single class and you're apparently using an instance
> of that class.

IIRC the method it's defined in the parent class.

cheers
-- 
Gian Mario Tagliaretti


More information about the pygtk mailing list