El 04/06/13 14:02, Ed Leafe escribió:
On Jun 4, 2013, at 11:41 AM, Ricardo Aráoz <ricar...@gmail.com> wrote:

And yes, it is the class name. I know about PEP8, but I'm exercising my "best 
judgement" as PEP8 recommends in it's second topic. ;c)
        Who cares about PEP8? ;-)

        http://wiki.dabodev.com/CodingGuidelines



LOL
Sorryyyy.... I'll change them allllll.....  ;c)

As a future reference, this is what I'll be doing (I use bsBoxSizer to set common properties (color, font,...) in only one place.) :

class pnlPuertoSerial(dabo.ui.dPanel):

def __init__(self, *args, **kwargs):

self.puertos = kwargs.pop('puertos', [])

super(pnlPuertoSerial, self).__init__(self, *args, **kwargs)


def afterInit(self):

self.Sizer = dabo.ui.dSizer('v')

hbs = bsBoxSizer(self, 'h', Caption=' Puerto serial ')

# TODO: iterate self.puertos and append radio buttons to the sizer

self.Sizer.append1x(hbs)





--- StripMime Report -- processed MIME parts ---
multipart/alternative
 text/plain (text body -- kept)
 text/html
---
_______________________________________________
Post Messages to: Dabo-users@leafe.com
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/51ae2004.1030...@gmail.com

Reply via email to