What is the favourite data structure for GUI programming in

S

Svenn Are Bjerkem

Guest
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
 
On Thu, 13 Sep 2007 13:53:41 -0000, Svenn Are Bjerkem
<svenn.bjerkem@googlemail.com> wrote:

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?
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
Senior Solution Architect
Cadence Design Systems, UK.
 

Welcome to EDABoard.com

Sponsor

Back
Top