comparison gui/slot.py @ 169:5b880b8cff6d

Fixes to make PARPG compatible with changes made to fife.
author Beliar <KarstenBock@gmx.net>
date Sat, 25 Feb 2012 00:21:28 +0100
parents
children
comparison
equal deleted inserted replaced
168:bfd3a4ef7f2b 169:5b880b8cff6d
1 # This file is part of PARPG.
2
3 # PARPG is free software: you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation, either version 3 of the License, or
6 # (at your option) any later version.
7
8 # PARPG is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12
13 # You should have received a copy of the GNU General Public License
14 # along with PARPG. If not, see <http://www.gnu.org/licenses/>.
15
16 from fife.extensions.pychan import Icon
17
18 class Slot(Icon):
19
20 def _setImage(self, source):
21 self._image = source
22
23 def _getImage(self):
24 return self._image
25
26 image = property(_getImage, _setImage)
27