godot.gen.godot.CheckButton.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of godot-library-debug Show documentation
Show all versions of godot-library-debug Show documentation
Contains godot api as kotlin classes and jvm cpp interaction code.
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"RedundantVisibilityModifier", "RedundantUnitReturnType", "MemberVisibilityCanBePrivate")
package godot
import godot.`annotation`.GodotBaseType
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
/**
* [CheckButton] is a toggle button displayed as a check field. It's similar to [CheckBox] in
* functionality, but it has a different appearance. To follow established UX patterns, it's
* recommended to use [CheckButton] when toggling it has an **immediate** effect on something. For
* example, it can be used when pressing it shows or hides advanced settings, without asking the user
* to confirm this action.
* See also [BaseButton] which contains common properties and methods associated with this node.
*/
@GodotBaseType
public open class CheckButton : Button() {
public override fun new(scriptIndex: Int): Unit {
callConstructor(ENGINECLASS_CHECKBUTTON, scriptIndex)
}
public companion object
internal object MethodBindings
}