UI Features - UI Elements

ImageButton

Information:

ImageButton is a convenient way to have stylized buttons rather than using the stock Button{} for user clicks. You are able to show three different images states: the default (not pressed), pressed, and disabled versions of the button. And it sends a signal using onTouch{}

Typical "ImageButton":

ImageButton {
            id: myImageButtonID
            defaultImageSource: "asset:///image1.png"
            pressedImageSource: "asset:///image2.png"
            disabledImageSource: "asset:///image0.png"
            onTouch: {
            }
        }

Examples/Tutorials Using This Feature:

Lions, Tabs, and Bears... Oh My!