problem with hack using multiple inheritance for plugins
massimo s.
devicerandom at gmail.com
Thu Jun 28 10:56:28 EDT 2007
On 28 Giu, 15:37, Peter Otten <__pete... at web.de> wrote:
> massimo s. wrote:
> > Again: using a new-style plugin class for multiple inheritance does
> > not work.
>
> This statement is certainly too broad.
>
> [earlier]
>
> > TypeError: unbound method _plug_init() must be called with
> > dummyguiplugGui instance as first argument (got MainWindowPlugged
> > instance instead)
>
> So it looks like you failed to make dummyguiplugGui a base class of
> MainWindowPlugged.
Right (Checked with dir() -dummyguiplugGui methods do not appear ).
> > What can I do now?
>
> Post a self-contained example.
I'll try.
m.
More information about the Python-list
mailing list