add Button
Add a new button to a button group
The button will be positioned automatically.
Parameters
text
name of the button, will be displayed inside the button
data
data represented by the button
tooltip
will be displayed when user hovers over the button
is Active
if true, the button will be active at the beginning
Example:
addButton("MyButton", "button data, e.g. a String", "My tooltip", false);