Add clear function

This commit is contained in:
hodasemi 2024-04-04 18:17:11 +02:00
parent 17a12024bb
commit 8599d7bb0e

View file

@ -344,6 +344,10 @@ impl Button {
self.button_info.set_icon(button, self.visible())
}
pub fn clear_button_info(&self) -> Result<()> {
self.button_info.clear_icon(self.visible())
}
pub fn text(&self) -> Result<Option<String>> {
self.textable.text()
}