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?
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?
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.
Comments
You mean integrating it into the main window? I don't think so. KLayout is not Eclipse.
Matthias
tx
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
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 orRBA::QInputDialog
for user input or the equivalentsRBA::MessageBox
andRBA::InputDialog
if you have not compiled in Qt bindings.Matthias