Hello,

Am 18.04.2013 16:11, schrieb John Fabiani:

I had to make several small changes [self.super() to super(cls,self)]

I've got a problem with this change: I suppose the "cls" in "super(cls,self)" is a placeholder for the actual class? It's easy to replace this, if the class is created in my code. But I've got some instances of "self.super()" in code-behind for .cdxml files and in these cases I don't know the right name for the class. An example:

## *!* ## Dabo Code ID: dCheckList-dPanel
....

def update(self):
        self.super()
        dabo.ui.callAfterInterval(200, self.doUpdate)

I suppose I got this from some example code, but I don't remember where. At all events: what's the class "self" refers to? dCheckList? dPanel? Something else? If I try to solve such questions from the .cdxml, what should I search for?

Thank you for hints,
Sibylle

P.S. Dabo for Python 3 would really be great!




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to