mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
added getFont()
This commit is contained in:
parent
7a2bc8a3ac
commit
2a0ccbf137
@ -297,6 +297,9 @@ class DirectEntry(DirectFrame):
|
|||||||
self.set(text)
|
self.set(text)
|
||||||
self.setCursorPosition(self.guiItem.getNumCharacters())
|
self.setCursorPosition(self.guiItem.getNumCharacters())
|
||||||
|
|
||||||
|
def getFont(self):
|
||||||
|
return self.onscreenText.getFont()
|
||||||
|
|
||||||
def getBounds(self, state = 0):
|
def getBounds(self, state = 0):
|
||||||
# Compute the width and height for the entry itself, ignoring
|
# Compute the width and height for the entry itself, ignoring
|
||||||
# geometry etc.
|
# geometry etc.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user