2
# -*- coding: utf-8 -*-
4
# LORZE erasandcad, a 2D CAD with an intuitive user interface, simple and easy.
5
# http://erasand.jimdo.com/python-programme/lorze/
6
# (C) 2012, Andreas Ulrich
8
# This program is free software: you can redistribute it and/or modify
9
# it under the terms of the GNU General Public License as published by
10
# the Free Software Foundation, either version 3 of the License, or
11
# (at your option) any later version.
13
# This program is distributed in the hope that it will be useful,
14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
# GNU General Public License for more details.
18
# You should have received a copy of the GNU General Public License
19
# along with this program. If not, see <http://www.gnu.org/licenses/>.
22
# Lorze restart for starting the gui with different options
32
def SetRestart(self, restart):
33
self.__restart= restart
37
return(self.__restart)
40
def SetData(self, data):
48
if __name__== '__main__':
51
print('After initialization')
52
print(test.GetRestart())
55
print('Set new restart')
58
print('Restart should be True / it is', test.GetRestart())
59
print('This is in the datas:', test.GetData())