1

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'")
Anu Mohan
  • 83
  • 5

4 Answers4

1

use the following code

set the resizable stack "name of the stack" to false
Shalu
  • 290
  • 2
  • 16
1

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.

Jacque
  • 416
  • 2
  • 7
0

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.

dunbarx
  • 756
  • 5
  • 4
0

What Jacque said. Here is the code:

set the decorations of stack "myStack" to "close,minimize"
Devin
  • 593
  • 1
  • 3
  • 8
  • I'll need to know exactly what is or isn't happening to help you. Is there an error message? What does it say? Have you made sure everything is spelled correctly in your statement? – Devin Jan 14 '16 at 20:39