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/3176f3cf0ad4d0a2d49dcd2efea2872160ce4a12/src/bundles/atomic/src/structure.py#L2376

  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/