ToolButton

Inherits: Button < BaseButton < Control < CanvasItem < Node < Object

Flat button helper class.

Description

This is a helper class to generate a flat Button (see Button.flat), creating a ToolButton is equivalent to:

  1. var btn = Button.new()
  2. btn.flat = true

Properties

boolflattrue (parent override)

Theme Properties

StyleBoxdisabled 
StyleBoxfocus 
Fontfont 
Colorfont_colorColor( 0.88, 0.88, 0.88, 1 )
Colorfont_color_disabledColor( 0.9, 0.95, 1, 0.3 )
Colorfont_color_hoverColor( 0.94, 0.94, 0.94, 1 )
Colorfont_color_pressedColor( 1, 1, 1, 1 )
StyleBoxhover 
inthseparation3
StyleBoxnormal 
StyleBoxpressed