Skip to content

TextureButtonColored

Let you apply the icon color theme properties for the texture button. Uses self_modulate.

Compatibility

Godot Version
4.3 >= 1.4.0
4.2 1.3.0 - 1.3.2
4.1 <= 1.2.3

Dependencies

Example

/examples/texture_button_colored/

Interface

TextureButtonColored

extendsTextureButton

res://addons/custom_theme_overrides/texture_button_colored.gd

Theme Overrides

Name Type
icon_normal_color Color
icon_pressed_color Color
icon_hover_color Color
icon_hover_pressed_color Color
icon_focus_color Color
icon_disabled_color Color

Changelog

1.4.0

  • Remove editor toast notification (access was removed)

1.3.3

  • Notify if Custom Themes Override is missing or enable it if disabled

1.3.2

  • Use absolute paths in preloads

1.3.1

  • Code improvement

1.3.0

  • Require Godot 4.2
  • Add more values to plugin.cfg

1.2.3

  • Rename method get_theme_color to get_theme_coloring, this function was never called by the engine anyway and should not be overridden