• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Title of tearoff menu

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 13640
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Title of tearoff menu

drdanmc
drdanmc over 5 years ago

IC617:

I created a pulldown menu with

menu=hiCreatePulldownMenu('my_sym my_title my_items)

and when I insert it with

hiInsertBannerMenu(win menu hiGetNumMenus(win))

all is well, I see the menu, and if I tear it off I see the tear off menu with the title specified by the my_title string variable.  Then I tried

my_title = hiLoadIconData("/path/to/icon.png")

and repeat the above.  Now my custom pulldown menu is an icon as desired, but if I tear off the menu, the menu dialog is called "iconTitle".  I don't seem to see a place to specify both the name *and* an icon.  

If I check menu->_menuTitle I see (98566377 16 16) which should be my icon ID and WxH.

So... what's the magic to get the right name in the tear off menu title bar?

Thanks

-Dan

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    Hi Dan,

    I can't see a way of doing this. I think you should contact customer support - this will probably need R&D to provide a function to do this, or extend the icon description to allow a title as part of the icon description.

    If you contact customer support, please post the number here as I will be interested in seeing the CCR (change request). Not something I've ever needed to do (have an icon for a pulldown menu), but I'm interested nevertheless.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • drdanmc
    drdanmc over 5 years ago in reply to Andrew Beckett

    Thanks.  I submitted a SR along with a complete, self contained, SKILL example.  I'll update if/when they convert to a CCR.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • drdanmc
    drdanmc over 5 years ago in reply to Andrew Beckett

    Thanks.  I submitted a SR along with a complete, self contained, SKILL example.  I'll update if/when they convert to a CCR.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • drdanmc
    drdanmc over 5 years ago in reply to drdanmc

     CCR#2247533 

    -Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information