W3cubDocs

/Godot 3.0

ToolButton

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

Category: Core

Brief Description

Flat button helper class.

Description

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

var btn = Button.new()
btn.set_flat(true)

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_toolbutton.html