Home > Community > Forums > Custom IC SKILL > Adding a permenent manu to a virtouso application window

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Adding a permenent manu to a virtouso application window 

Last post Sat, Apr 20 2013 11:14 PM by psill00. 5 replies.
Started by TauStudent 18 Apr 2013 02:04 PM. Topic has 5 replies and 858 views
Page 1 of 1 (6 items)
Sort Posts:
  • Thu, Apr 18 2013 2:04 PM

    Adding a permenent manu to a virtouso application window Reply

    Hello,

    I wrote a small script that add's a pulldown manu to my application window,

    in order to use it i open my cellview and run load("..script path..") in the CIW.

    I wanted to ask if there is any way to make the manu appear by itself ? 

    (and only when a specific application is opened - layout suite L in this case)

    Thanks .

    Filed under:
    • Post Points: 35
  • Thu, Apr 18 2013 3:11 PM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,594
    • Points 16,040
    Re: Adding a permenent manu to a virtouso application window Reply

    Hi,

    You could do this through a user menu trigger registered with the deRegUserTriggers function.  Andrew provided a good example in this post.  You could also do this through a menu file, e.g. layout.menus, but since you've already written this in SKILL it might be easiest to use the deRegUserTriggers approach.

    Best regards,

    Lawrence.

    • Post Points: 20
  • Thu, Apr 18 2013 11:08 PM

    Re: Adding a permenent manu to a virtouso application window Reply

    Thanks for the replay, but if i understand correctly i will need to run

    procedure(myManuTrigger(_args)
     ...
    )
    deRegUserTriggers("maskLayout" nil myManuTrigger)

    to register the trigger every time i open virtuoso, is there a way to register it permenetly ? 

    • Post Points: 20
  • Fri, Apr 19 2013 1:51 AM

    Re: Adding a permenent manu to a virtouso application window Reply

    Add the code in your .cdsinit file - this is the file that is loaded at startup by Virtuoso.

    Regards,

    Andrew.

    • Post Points: 20
  • Fri, Apr 19 2013 7:18 AM

    Re: Adding a permenent manu to a virtouso application window Reply
    Thanks !, that solves my problem :)
    • Post Points: 5
  • Sat, Apr 20 2013 11:14 PM

    • psill00
    • Top 500 Contributor
    • Joined on Tue, Jan 15 2013
    • Posts 18
    • Points 330
    Re: Adding a permenent manu to a virtouso application window Reply

    You can do this without scripts or triggers by using the *.menus files

    Find your install path getInstallPath() and look at the files in etc/tools/menus. There should be a README file there to how to setup and customized your menus. You can create global custom menus in your home directory or project specific where to start up your Cadence session.

    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by TauStudent at 18 Apr 2013 02:04 PM. Topic has 5 replies.