7 from sys
import version_info
as _swig_python_version_info
8 if _swig_python_version_info >= (2, 7, 0):
11 pkg = __name__.rpartition(
'.')[0]
12 mname =
'.'.join((pkg,
'_Pltk_init')).lstrip(
'.')
14 return importlib.import_module(mname)
16 return importlib.import_module(
'_Pltk_init')
18 del swig_import_helper
19 elif _swig_python_version_info >= (2, 6, 0):
21 from os.path
import dirname
25 fp, pathname, description = imp.find_module(
'_Pltk_init', [dirname(__file__)])
30 _mod = imp.load_module(
'_Pltk_init', fp, pathname, description)
36 del swig_import_helper
39 del _swig_python_version_info
42 _swig_property = property
47 import builtins
as __builtin__
52 if (name ==
"thisown"):
53 return self.this.own(value)
55 if type(value).__name__ ==
'SwigPyObject':
56 self.__dict__[name] = value
58 method = class_type.__swig_setmethods__.get(name,
None)
60 return method(self, value)
63 object.__setattr__(self, name, value)
65 self.__dict__[name] = value
67 raise AttributeError(
"You cannot add attributes to %s" % self)
75 if (name ==
"thisown"):
76 return self.this.own()
77 method = class_type.__swig_getmethods__.get(name,
None)
80 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
85 strthis =
"proxy of " + self.this.__repr__()
86 except __builtin__.Exception:
88 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
93 except __builtin__.Exception:
100 return _Pltk_init.Pltk_init(x)
101 Pltk_init = _Pltk_init.Pltk_init
def _swig_setattr(self, class_type, name, value)
def _swig_setattr_nondynamic(self, class_type, name, value, static=1)
def _swig_getattr(self, class_type, name)