mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
add ConfigVariableFilename
This commit is contained in:
parent
97567cab47
commit
1aab7e8855
11
direct/src/extensions/ConfigVariableFilename-extensions.py
Normal file
11
direct/src/extensions/ConfigVariableFilename-extensions.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
def __len__(self):
|
||||||
|
return self.getValue().__len__()
|
||||||
|
|
||||||
|
def __getitem__(self, n):
|
||||||
|
return self.getValue().__getitem__(n)
|
||||||
|
|
||||||
|
def __setitem__(self, n):
|
||||||
|
value = self.getValue()
|
||||||
|
value.__setitem__(n)
|
||||||
|
self.assign(value)
|
Loading…
x
Reference in New Issue
Block a user