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!

ButtonBarItem

Base type for NavigationBar items which can be clicked. More...

Import Statement: import Felgo 3.0
Inherits:

NavigationBarItem

Inherited By:

IconButtonBarItem and TextButtonBarItem

Properties

Signals

Detailed Description

ButtonBarItem is an abstract base type for all NavigationBarItems which can be clicked by the user. It automatically provides a background that gets darker when the item is pressed.

Typically, this type does not have to be used directly, as sub types for the most common use cases, like displaying a button icon exist already.

To add custom items that can be clicked in a NavigationBar slot, derive them from ButtonBarItem.

Property Documentation

mouseArea : MouseArea

The MouseArea used inside the item. This can be used to change properties of MouseArea and react to signals, like long press.


Signal Documentation

clicked()

Called when the item has been clicked.