BaseButton

Inherits: Control < CanvasItem < Node < Object

Inherited By: Button, LinkButton, TextureButton

There is currently no description for this class. Please help us by contributing one!

Properties

ActionMode

action_mode

1

ButtonGroup

button_group

BitField<MouseButtonMask>

button_mask

1

bool

button_pressed

false

bool

disabled

false

FocusMode

focus_mode

2 (overrides Control)

bool

keep_pressed_outside

false

Shortcut

shortcut

bool

shortcut_feedback

true

bool

shortcut_in_tooltip

true

bool

toggle_mode

false

Methods

void

_pressed ( ) virtual

void

_toggled ( bool toggled_on ) virtual

DrawMode

get_draw_mode ( ) const

bool

is_hovered ( ) const

void

set_pressed_no_signal ( bool pressed )


Signals

button_down ( )

There is currently no description for this signal. Please help us by contributing one!


button_up ( )

There is currently no description for this signal. Please help us by contributing one!


pressed ( )

There is currently no description for this signal. Please help us by contributing one!


toggled ( bool toggled_on )

There is currently no description for this signal. Please help us by contributing one!


Enumerations

enum DrawMode:

DrawMode DRAW_NORMAL = 0

There is currently no description for this enum. Please help us by contributing one!

DrawMode DRAW_PRESSED = 1

There is currently no description for this enum. Please help us by contributing one!

DrawMode DRAW_HOVER = 2

There is currently no description for this enum. Please help us by contributing one!

DrawMode DRAW_DISABLED = 3

There is currently no description for this enum. Please help us by contributing one!

DrawMode DRAW_HOVER_PRESSED = 4

There is currently no description for this enum. Please help us by contributing one!


enum ActionMode:

ActionMode ACTION_MODE_BUTTON_PRESS = 0

There is currently no description for this enum. Please help us by contributing one!

ActionMode ACTION_MODE_BUTTON_RELEASE = 1

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

ActionMode action_mode = 1

There is currently no description for this property. Please help us by contributing one!


ButtonGroup button_group

There is currently no description for this property. Please help us by contributing one!


BitField<MouseButtonMask> button_mask = 1

There is currently no description for this property. Please help us by contributing one!


bool button_pressed = false

  • void set_pressed ( bool value )

  • bool is_pressed ( )

There is currently no description for this property. Please help us by contributing one!


bool disabled = false

  • void set_disabled ( bool value )

  • bool is_disabled ( )

There is currently no description for this property. Please help us by contributing one!


bool keep_pressed_outside = false

  • void set_keep_pressed_outside ( bool value )

  • bool is_keep_pressed_outside ( )

There is currently no description for this property. Please help us by contributing one!


Shortcut shortcut

There is currently no description for this property. Please help us by contributing one!


bool shortcut_feedback = true

  • void set_shortcut_feedback ( bool value )

  • bool is_shortcut_feedback ( )

There is currently no description for this property. Please help us by contributing one!


bool shortcut_in_tooltip = true

  • void set_shortcut_in_tooltip ( bool value )

  • bool is_shortcut_in_tooltip_enabled ( )

There is currently no description for this property. Please help us by contributing one!


bool toggle_mode = false

  • void set_toggle_mode ( bool value )

  • bool is_toggle_mode ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void _pressed ( ) virtual

There is currently no description for this method. Please help us by contributing one!


void _toggled ( bool toggled_on ) virtual

There is currently no description for this method. Please help us by contributing one!


DrawMode get_draw_mode ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_hovered ( ) const

There is currently no description for this method. Please help us by contributing one!


void set_pressed_no_signal ( bool pressed )

There is currently no description for this method. Please help us by contributing one!