Function BaseButton.getDrawMode

Returns 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 drawmode enum.

BaseButton.DrawMode getDrawMode() nothrow @nogc const;