Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
startx.py
Go to the documentation of this file.
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 2.0.11
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 
8 
9 
10 
11 from sys import version_info
12 if version_info >= (2,6,0):
14  from os.path import dirname
15  import imp
16  fp = None
17  try:
18  fp, pathname, description = imp.find_module('_startx', [dirname(__file__)])
19  except ImportError:
20  import _startx
21  return _startx
22  if fp is not None:
23  try:
24  _mod = imp.load_module('_startx', fp, pathname, description)
25  finally:
26  fp.close()
27  return _mod
28  _startx = swig_import_helper()
29  del swig_import_helper
30 else:
31  import _startx
32 del version_info
33 try:
34  _swig_property = property
35 except NameError:
36  pass # Python < 2.2 doesn't have 'property'.
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38  if (name == "thisown"): return self.this.own(value)
39  if (name == "this"):
40  if type(value).__name__ == 'SwigPyObject':
41  self.__dict__[name] = value
42  return
43  method = class_type.__swig_setmethods__.get(name,None)
44  if method: return method(self,value)
45  if (not static):
46  self.__dict__[name] = value
47  else:
48  raise AttributeError("You cannot add attributes to %s" % self)
49 
50 def _swig_setattr(self,class_type,name,value):
51  return _swig_setattr_nondynamic(self,class_type,name,value,0)
52 
53 def _swig_getattr(self,class_type,name):
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)
58 
59 def _swig_repr(self):
60  try: strthis = "proxy of " + self.this.__repr__()
61  except: strthis = ""
62  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
63 
64 try:
65  _object = object
66  _newclass = 1
67 except AttributeError:
68  class _object : pass
69  _newclass = 0
70 
71 
72 SIG1 = _startx.SIG1
73 SIG2 = _startx.SIG2
74 SIG3 = _startx.SIG3
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
81 # This file is compatible with both classic and new-style classes.
82 
83 
def _swig_setattr_nondynamic
Definition: startx.py:37