예제 #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)
예제 #2
0
 def __init__(self, condition, type, negate):
     CSimpleContainer.__init__(self)
     self.condition = condition
     self.type = type
     self.negate = ToBool(negate)
예제 #3
0
 def __init__(self, padding, color):
     CSimpleContainer.__init__(self)
     self.padding = int(padding)
     self.color = color
예제 #4
0
    def __init__(self, fill=None, border="white", borderwidth=1):
        CSimpleContainer.__init__(self)
        self.fill = fill
        self.border = border

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