11 from sys
import version_info
12 if version_info >= (2,6,0):
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_startx', [dirname(__file__)])
24 _mod = imp.load_module(
'_startx', fp, pathname, description)
29 del swig_import_helper
34 _swig_property = property
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
54 if (name ==
"thisown"):
return self.this.own()
55 method = class_type.__swig_getmethods__.get(name,
None)
56 if method:
return method(self)
57 raise AttributeError(name)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
75 ACTIVE_FILE = _startx.ACTIVE_FILE
76 PASSIVE_FILE = _startx.PASSIVE_FILE
77 ALL_VALUES = _startx.ALL_VALUES
78 DIRECTION_MSP = _startx.DIRECTION_MSP
79 VELOCITY_MSP = _startx.VELOCITY_MSP
80 BREAK_MSP = _startx.BREAK_MSP
def _swig_setattr_nondynamic