[Solved] Tooltips for Labels
Posted: Thu Oct 11, 2018 6:08 am
According to https://www.renpy.org/doc/html/screen_a ... l#tooltips, any displayable can have a tooltip.
I would like to implement tooltips for stats in a grid (dse-stats.rpy from viewtopic.php?t=31571), so they should be associated with the labels, since there are no buttons.
However, nothing happens when I mouse over the labels. Probably because a label can not gain focus?
I tried to cheat and use it on a button without an action (I am sure I could style them to look like the labels do now), but without an action a button apparently can't gain focus either...
So is there a way to get a tooltip for something which is not clickable?
I guess my next best course of action would be a to make the labels into buttons with a "do nothing" dummy action. Just seems pretty unclean to me...
Is there a list of displayables which can have a tooltip (=gain focus)?
If there is any other documentation about this which I have not found, a link would be much appreciated!
I would like to implement tooltips for stats in a grid (dse-stats.rpy from viewtopic.php?t=31571), so they should be associated with the labels, since there are no buttons.
However, nothing happens when I mouse over the labels. Probably because a label can not gain focus?
I tried to cheat and use it on a button without an action (I am sure I could style them to look like the labels do now), but without an action a button apparently can't gain focus either...
So is there a way to get a tooltip for something which is not clickable?
I guess my next best course of action would be a to make the labels into buttons with a "do nothing" dummy action. Just seems pretty unclean to me...
Is there a list of displayables which can have a tooltip (=gain focus)?
If there is any other documentation about this which I have not found, a link would be much appreciated!