Beispiel #1
0
    def __init__(self, fill=None, border="white", borderwidth=1):
        CSimpleContainer.__init__(self)
        self.fill = fill
        self.border = border

        self.fill_obj = gtk.gdk.color_parse(fill)
        self.border_obj = gtk.gdk.color_parse(border)

        self.borderwidth = int(borderwidth)
Beispiel #2
0
 def __init__(self, condition, type, negate):
     CSimpleContainer.__init__(self)
     self.condition = condition
     self.type = type
     self.negate = ToBool(negate)
Beispiel #3
0
 def __init__(self, padding, color):
     CSimpleContainer.__init__(self)
     self.padding = int(padding)
     self.color = color
Beispiel #4
0
    def __init__(self, fill=None, border="white", borderwidth=1):
        CSimpleContainer.__init__(self)
        self.fill = fill
        self.border = border

        self.borderwidth = int(borderwidth)
Beispiel #5
0
 def __init__(self, padding):
     CSimpleContainer.__init__(self)
     self.padding = int(padding)
Beispiel #6
0
 def __init__(self, collection):
     CSimpleContainer.__init__(self)
     self.collection = collection