What is the favourite data structure for GUI programming in skill?

Discussion in 'Cadence' started by Svenn Are Bjerkem, Sep 13, 2007.

  1. Hi,

    I am slowly starting to get a taste for GUI programming in SKILL. What
    is the best data structure to take care of the state of a Form? I
    eventually want to have a nice little UI with check-boxes that include/
    exclude simulations from an over-night run. Each run is then run with
    different design variables, again a bunch of checkboxes. In order to
    keep some kind of control which checkbox has been set, I would like to
    use as few variables as possible and instead use arrays or whatever is
    usual to use in SKILL.GUI programming.

    Any suggestions?
     
    Svenn Are Bjerkem, Sep 13, 2007
    #1
  2. It depends, but probably I'd use an association table (created with
    makeTable()). Or you could use a defstruct. It rather depends on whether the
    keys in the structure are fixed or dynamic - if dynamic, makeTable would be
    best; if static, then defstruct would be sufficient.

    Regards,

    Andrew.
     
    Andrew Beckett, Sep 16, 2007
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.