algorithmic modeling for Rhino
Hi forum
I wonder if Python support custom mouse-over tooltips like done in this thread:
http://www.grasshopper3d.com/forum/topics/tooltips-on-scripte-compo...
In general does ironPython provide the same customizing functionality as C#/vb? e.g. modifying a user object with drop-down functionality like the override event ToolStripDropDown seen in this thread:
http://www.grasshopper3d.com/forum/topics/how-to-write-this-kind-gha?
Best regards
Kristoffer
Tags:
Adding mouse-over tooltips to a Python component is indeed possible. While you can do it using similar code as with C#/VB, a neat and more simple approach is to use the docstring method (see the attached file, make sure to note the indentation levels used). To add the dropdown message you can use ghenv.Component.Message (also exemplified in the attached file). Hope that helps..
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by