File | Setup: adding to the Settings window

edited December 2017 in Python scripting

Hi Matthias,

Is it possible to add to the KLayout Settings window? I would like to add my own configurations, and have them get saved in klayoutrc file, rather than creating my own system and windows for this.

thank you
Lukas

Comments

  • edited December 2017

    Hi Lukas,

    basically it is, but I don't think that's accessible through the Python or Ruby API.

    Internally KLayout is built from modules that utilize the "plugin" interfaces. Each of these modules can register pages in the setup dialog. There is no real reason why this should not be possible in Ruby or Python, but right now the interfaces are not exposed to scripts yet.

    Still any solution that supports this has to register itself as a (dummy) plugin and provide a configuration page widget to the setup dialog.

    Regards,

    Matthias

Sign In or Register to comment.