cosmos72/twin

Setting Window titles

Opened this issue · 2 comments

I am building a demo environment with TWIN. To that end, I am creating windows from menu items and found two ways this could be improved.

(1) Is there a way to set window titles in ExecTty? It could help when setting applications in AddToMenu, to keep windows apart. I suspect I can send a message somewhere, but can't find the documentation about what goes where. The message sending is a powerful idea that could really use some documentation (especially, a list of possibilities).

(2) In AddToMenu, multiple commands with surrounding brackets might be helpful to avoid the somewhat tedious need to declare AddToFunc and pick a name for any multiple-step action. This may be generally useful, by saying

func  : ...
      | '(' func_list ')'
      ;

func_list : func
          | func_list func
          ;

I think (2) can be done as shown here but I don't understand autotools well enough to generate the rcparse_tab.* properly, and was left without missing.c -- stuck in your build structures.

Worked around the build structures, and got it to work. See PR #42.

Question (1) remains.