def place_object(self, object, column=None, row=None, column_span=<NUM_LIT:1>, row_span=<NUM_LIT:1>, alignment=<NUM_LIT:1>):
<EOL>if column==None:<EOL><INDENT>column = self._auto_column<EOL>self._auto_column += <NUM_LIT:1><EOL><DEDENT>if row==None: row = self._auto_row<EOL>self.objects.append(object)<EOL>try:<EOL><INDENT>object._widget<EOL>widget = object._widget<EOL><DEDENT>except: widget = object<EOL>self._layout.addWidget(widget, row, column,<EOL>row_span, column_span,<EOL>_g.Qt.QtCore.Qt.Alignment(alignment))<EOL>try:    object.set_parent(self)<EOL>except: None<EOL>return object<EOL>
This adds either one of our simplified objects or a QWidget to the
grid at the specified position, appends the object to self.objects.

alignment=0     Fill the space.
alignment=1     Left-justified.
alignment=2     Right-justified.

If column isn't specified, the new object will be placed in a new column.