controlP5: how to add tooltip for each radio button?
in
Contributed Library Questions
•
4 months ago
we can use the following to add radio buttons:
but how to add different tooltip for each of the bottons? the following doesn't seem to work ...
- controlP5.addRadioButton("color_mode")
- .setPosition(10,10)
- .setItemWidth(15)
- .setItemHeight(15)
- .addItem("aaa",0)
- .addItem("bbb",1)
- .addItem("cccc",2)
- .activate(0)
- ;
but how to add different tooltip for each of the bottons? the following doesn't seem to work ...
- controlP5.getTooltip().register("color_mode", "color mode");
1