SKILL code for file selection GUI

Discussion in 'Cadence' started by sm, Dec 22, 2006.

  1. sm

    sm Guest

    Hi,

    I am stuck in writing code got a file selection GUI for my SKILL code.
    I need some way to let the user select the file containing the data that the
    rest
    of my skill code uses.

    Thanks,

    -sm
     
    sm, Dec 22, 2006
    #1
  2. sm

    satya Guest


    Hi sm

    I have used Xdialog in the past.

    (if (sh "Xdialog --version >/dev/null 2>&1")
    (let (cid)
    (setq cid
    (ipcBeginProcess (strcat "Xdialog --fselect '" (getWorkingDir)
    "' 0x0")))
    (ipcWait cid)
    (setq SMFile (ipcReadProcess cid)))

    You can use a more modern dialog program such as zenity for the purpose
    too.

    Hope that helps
    Satya
     
    satya, Jan 5, 2007
    #2
  3. In IC610 (and ICOA5251) there is a built in "hi" function for doing this (the
    name escapes me - I'm off the network).

    I did write one myself many years ago - it's not that hard to do this with
    hiCreateListBoxField, for example.

    Regards,

    Andrew.
     
    Andrew Beckett, Jan 9, 2007
    #3
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.