comparison frontends/sortilege_old/window.py @ 588:beaf6bec2fcd

Remove every old-style class.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 18 Jan 2013 17:55:35 +0100
parents 952322b1d490
children 84a6e83157c2
comparison
equal deleted inserted replaced
587:952322b1d490 588:beaf6bec2fcd
23 import curses 23 import curses
24 import os 24 import os
25 import pdb 25 import pdb
26 26
27 27
28 class Window(): 28 class Window(object):
29 def __init__(self, parent, height, width, y, x, border=False, title="", code="utf-8"): 29 def __init__(self, parent, height, width, y, x, border=False, title="", code="utf-8"):
30 self.__border=border 30 self.__border=border
31 self.__title=title 31 self.__title=title
32 self.__active=False 32 self.__active=False
33 self.__parent=parent 33 self.__parent=parent