I am beginner in livecode, How to disable maximize button, This is my code
get shell("gsettings set org.gnome.desktop.wm.preferences button-layout ':close'")
Use the "decorations" property to enable or disable window buttons. If you do it by script, the window will flicker as it redraws. If you only need to set it once permanently, you can do that using the stack's property inspector.
There is a native keyword in LC, used in conjunction with the "decorations" property, that handles this: "maximize".
You do not need a shell command.
What Jacque said. Here is the code:
set the decorations of stack "myStack" to "close,minimize"