mirror of
https://github.com/Insality/druid
synced 2025-09-28 02:22:19 +02:00
widget.* to druid.widget lls class
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
local color = require("druid.color")
|
||||
|
||||
---@class widget.property_button: druid.widget
|
||||
---@class druid.widget.property_button: druid.widget
|
||||
---@field root node
|
||||
---@field container druid.container
|
||||
---@field text_name druid.text
|
||||
@@ -36,7 +36,7 @@ end
|
||||
|
||||
|
||||
---@param text string
|
||||
---@return widget.property_button
|
||||
---@return druid.widget.property_button
|
||||
function M:set_text_property(text)
|
||||
self.text_name:set_text(text)
|
||||
return self
|
||||
@@ -44,7 +44,7 @@ end
|
||||
|
||||
|
||||
---@param text string
|
||||
---@return widget.property_button
|
||||
---@return druid.widget.property_button
|
||||
function M:set_text_button(text)
|
||||
self.text_button:set_text(text)
|
||||
return self
|
||||
|
Reference in New Issue
Block a user