Add padding in the constraints constructor

This commit is contained in:
Marco Pesenti Gritti
2006-09-08 02:20:11 +02:00
parent 57d1221cd3
commit 6bbb20c4c7
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -2,12 +2,12 @@ import gobject
import goocanvas
class GridConstraints:
def __init__(self, x, y, width, height):
def __init__(self, x, y, width, height, padding=0):
self.x = x
self.y = y
self.width = width
self.height = height
self.padding = 0
self.padding = padding
class GridLayout:
def __init__(self, cols=16, rows=12):