Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

GameButton

The GameButton wraps the QtQuick Controls Button and styles it with the GameStyle. More...

Import Statement: import Felgo 3.0
Inherits:

Button

Detailed Description

The GameButton wraps the QtQuick Controls Button and styles it with the GameStyle. To custimze the color, font or text, use a custom ButtonStyle.

Note: Gaming controls like GameButton are deprecated and will no longer receive updates and fixes. Instead, please use the Felgo App Controls.

Example Usage

 GameButton {
   text: "Toggle Physics"

   onClicked: {
     // .. enter code for taking further action ..
   }
 }

See also GameStyle.