mirror of
https://github.com/Insality/druid
synced 2025-09-28 02:22:19 +02:00
Update properties for panel
This commit is contained in:
@@ -50,6 +50,14 @@ function M:set_text_button(text)
|
||||
end
|
||||
|
||||
|
||||
---@param enabled boolean
|
||||
---@return druid.widget.property_button
|
||||
function M:set_enabled(enabled)
|
||||
self.button:set_enabled(enabled)
|
||||
return self
|
||||
end
|
||||
|
||||
|
||||
function M:set_color(color_value)
|
||||
color.set_color(self:get_node("button"), color_value)
|
||||
end
|
||||
|
Reference in New Issue
Block a user