xelab
September 1st, 2022, 23:45
Hi,
is it possible to change some attributes (e.g. title) of the Window instance from within LUA? Since the change should be dynamic, I do not want to create separate new window templates.
Here is an example of what I am trying to do:
<windowclass name="some_window_class" merge="join">
<script>
function onInit()
Debug.chat(" onInit() called");
------ I would like to change the title of this window instance (depending on some logic)
end
</script>
</windowclass>
Thank you in advance
is it possible to change some attributes (e.g. title) of the Window instance from within LUA? Since the change should be dynamic, I do not want to create separate new window templates.
Here is an example of what I am trying to do:
<windowclass name="some_window_class" merge="join">
<script>
function onInit()
Debug.chat(" onInit() called");
------ I would like to change the title of this window instance (depending on some logic)
end
</script>
</windowclass>
Thank you in advance