A Button widget is used to display plain text and/or an icon. The button supports pointer and key events.

Preview Image

Button widget


  • Contain text and/or icon.
  • Pointer and keyboard support.
  • Ellipsis: If the label does not fit into the widget bounds an ellipsis (”...”) is rendered at the end of the label.


The button widget is a normal widget for a GUI. The button supports plain text and icon. Also it is possible to handle user interactions with pointer and keyboard.


Here are some links that demonstrate the usage of the widget:


Here is a link to the API of the Widget: