Console for the main window.

ksks
edited March 2016 in Ruby Scripting
Hi, Is there a simple means of displaying the IDE console in the main window??

Comments

  • edited November -1

    You mean integrating it into the main window? I don't think so. KLayout is not Eclipse.

    Matthias

  • ksks
    edited November -1
    I'm sorry, I was a bit vague. I'm wondering if just the "CLI" portion of the IDE could be a part of the main window, so one could respond to script prompts without the IDE window or a separate dialog box?

    tx
  • ksks
    edited November -1
    Hi Matthias,
    Another quick question, I would like to set the layer grouping in ruby but I'm having a hard time finding the method to do so. Could point me in the right direction?

    Thank you,
    Kyle
  • edited November -1

    Hi ks,

    regarding the first question: what do you mean by "script prompts"? Like "gets"? "gets" will still read form the application's stdin, not the console. The console is merely intended for executing Ruby commands interactively.

    I have never considered supporting stdin through the console. For user prompting please use RBA::QMessageBox for messages or RBA::QInputDialog for user input or the equivalents RBA::MessageBox and RBA::InputDialog if you have not compiled in Qt bindings.

    Matthias

  • ksks
    edited November -1
    Thank you Matthias
Sign In or Register to comment.