def row(self, *data): row = Gtk.Grid() row.set_column_homogeneous(True) self.add(row) for i in data: row.add(self.mk_button(i))