Update properties for panel

This commit is contained in:
Insality
2025-05-18 13:04:38 +03:00
parent 2133492efe
commit fe955b6e64
3 changed files with 21 additions and 0 deletions

View File

@@ -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