def __init__(self, *args, **kw): Dialog.__init__(self, *args) ruler = self.h - 36 bmwidth = 152 * ruler / 328 if kw.get("bitmap", True): self.bitmap("Bitmap", 0, 0, bmwidth, ruler, "PythonWin") self.line("BottomLine", 0, ruler, self.w, 0)
def __init__(self, *args, **kw): """Dialog(database, name, x, y, w, h, attributes, title, first, default, cancel, bitmap=true)""" Dialog.__init__(self, *args) ruler = self.h - 36 bmwidth = 152 * ruler / 328 self.line('BottomLine', 0, ruler, self.w, 0)
def __init__(self, *args, **kw): """Dialog(database, name, x, y, w, h, attributes, title, first, default, cancel, bitmap=true)""" Dialog.__init__(self, *args) ruler = self.h - 36 #if kw.get("bitmap", True): # self.bitmap("Bitmap", 0, 0, bmwidth, ruler, "PythonWin") self.line("BottomLine", 0, ruler, self.w, 0)
def __init__(self, *args, **kw): """Dialog(database, name, x, y, w, h, attributes, title, first, default, cancel, bitmap=False)""" Dialog.__init__(self, *args) ruler = self.h - 36 bmwidth = 152*ruler/328 self.has_bitmap = kw.get("bitmap", False) if self.has_bitmap: self.bitmap("Bitmap", 0, 0, bmwidth, ruler, "InstallerBitmap") self.line("BottomLine", 0, ruler, self.w, 0)
def __init__(self, *args, **kw): Dialog.__init__(self, *args) ruler = self.h - 36 self.line('BottomLine', 0, ruler, self.w, 0)
def __init__(self, *args, **kw): """Dialog(database, name, x, y, w, h, attributes, title, first, default, cancel, bitmap=true)""" Dialog.__init__(self, *args) ruler = self.h - 36 self.line("BottomLine", 0, ruler, self.w, 0)