mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
*** empty log message ***
This commit is contained in:
parent
8cf6081f66
commit
4c0f5a41f7
@ -37,6 +37,12 @@ class OnscreenText(PandaObject, NodePath):
|
||||
# assume 4:3 aspect ratio
|
||||
self.setScale( 0.069, 1.0, 0.069)
|
||||
|
||||
def __del__(self):
|
||||
"""__del__(self)
|
||||
"""
|
||||
del(self.textNode)
|
||||
NodePath.__del__(self)
|
||||
return None
|
||||
|
||||
def setText(self, string):
|
||||
"""setText(self, string)
|
||||
|
@ -33,6 +33,12 @@ class PickList(PandaObject.PandaObject):
|
||||
# display the menu
|
||||
self.__displayChoices(choiceList)
|
||||
|
||||
def __del__(self):
|
||||
"""__del__(self)
|
||||
"""
|
||||
self.cleanup()
|
||||
return None
|
||||
|
||||
def cleanup(self):
|
||||
"""cleanup(self)
|
||||
Remove events and cleanup the display
|
||||
|
@ -79,6 +79,16 @@ class ScrollingLabel(PandaObject.PandaObject):
|
||||
# refresh the frame
|
||||
self.frame.recompute()
|
||||
|
||||
def __del__(self):
|
||||
"""__del__(self)
|
||||
"""
|
||||
self.cleanup()
|
||||
del(self.label)
|
||||
del(self.title)
|
||||
del(self.itemSign)
|
||||
del(self.leftButton)
|
||||
del(self.rightButton)
|
||||
return None
|
||||
|
||||
def cleanup(self):
|
||||
# remove gui items
|
||||
|
Loading…
x
Reference in New Issue
Block a user