
Saverio, Though it isn't exactly what you want, you could print information about the pseudobond to the log with some python code. Tom has previously written an example for hovering when you hover over atoms here: https://rbvi.github.io/chimerax-recipes/hover/hover.html. For pseudobonds, you'd replace "PickedAtom" with "PickedPseudobond", get the pseudobond object with "pick.pbond" instead of "pick.atom", and then work with whatever attributes the psedobond object has. Hope that helps, Tony On Tue, May 27, 2025 at 12:27 PM Tom Goddard via ChimeraX-users < chimerax-users@cgl.ucsf.edu> wrote:
Hi Saverio,
There is no capability to specify the tooltip text for a pseudobond (or regular bond, or atom). It always specifies the two atoms and the distance between them. It might be interesting to add the capability to specify custom text. But it require adding that to the PseudoBond C++ data structures and session saving code so that the text is remembered and that is a good bit of work.
Here is the code in ChimeraX that sets pseudobond tooltip text.
https://github.com/RBVI/ChimeraX/blob/3176f3cf0ad4d0a2d49dcd2efea2872160ce4a...
Tom
On May 24, 2025, at 4:27 AM, saverio via ChimeraX-users < chimerax-users@cgl.ucsf.edu> wrote:
Hi, I have specified some pseudobonds using pbond. It is possible to add a string, conveying other related informations , to that displayed in the tooltip when hovering the mouse on the pseudobond? Also, it is possible to take the complete control of what is displayed in the tooltip?
Thanks.
Saverio
_______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/
_______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/