BaseButton is the abstract base class for buttons, so it shouldn't be used directly (it doesn't display anything). Other types of buttons inherit from it.
Called when button is toggled (only if toggle_mode is active).
</description>
</method>
<methodname="get_draw_mode"qualifiers="const">
<returntype="int"enum="BaseButton.DrawMode">
</return>
<description>
Return the visual state used to draw the button. This is useful mainly when implementing your own draw code by either overriding _draw() or connecting to "draw" signal. The visual state of the button is defined by the DRAW_* enum.
</description>
</method>
<methodname="is_hovered"qualifiers="const">
<returntype="bool">
</return>
<description>
Return true if mouse entered the button before it exit.
This signal is emitted every time the button is toggled or pressed (i.e. activated, so on [code]button_down[/code] if "Click on press" is active and on [code]button_up[/code] otherwise).
</description>
</signal>
<signalname="toggled">
<argumentindex="0"name="pressed"type="bool">
</argument>
<description>
This signal is emitted when the button was just toggled between pressed and normal states (only if toggle_mode is active). The new state is contained in the [i]pressed[/i] argument.
</description>
</signal>
</signals>
<constants>
<constantname="DRAW_NORMAL"value="0">
The normal state (i.e. not pressed, not hovered, not toggled and enabled) of buttons.