mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
Add treenode:SetText and treenode:GetText
This commit is contained in:
parent
a3e5a2960c
commit
c1d3021590
@ -195,6 +195,19 @@ function newobject:GetIcon()
|
||||
|
||||
end
|
||||
|
||||
function newobject:SetText(text)
|
||||
|
||||
self.text = text
|
||||
return self
|
||||
|
||||
end
|
||||
|
||||
function newobject:GetText()
|
||||
|
||||
return self.text
|
||||
|
||||
end
|
||||
|
||||
function newobject:AddNode(text)
|
||||
|
||||
if not self.internals[1] then
|
||||
|
Loading…
Reference in New Issue
Block a user