我是livecode的初学者,如何禁用最大化按钮,这是我的代码
get shell("gsettings set org.gnome.desktop.wm.preferences button-layout ':close'")
答案 0 :(得分:1)
使用以下代码
set the resizable stack "name of the stack" to false
答案 1 :(得分:1)
使用"装饰"用于启用或禁用窗口按钮的属性。如果您通过脚本执行此操作,则窗口将在重绘时闪烁。如果您只需要永久设置一次,则可以使用堆栈的属性检查器执行此操作。
答案 2 :(得分:0)
LC中有一个原生关键字,与"装饰一起使用"属性,处理这个:"最大化"。
您不需要shell命令。
答案 3 :(得分:0)
雅克说。这是代码:
set the decorations of stack "myStack" to "close,minimize"