Blender python layout button disabled?

so I have this line of code which adds a button to my custom panel

row.operator("aligncenter", text="Align Center")

However, I would like to make it disabled (in some cases)
Which parameters do I use, and is there a site where I can get such info (blender python API is very incomplete)

You’ll find UI docs here

To make something disabled just do = False or op = row.operator then = False or use .enabled = False (the difference is one lets the user change it while it’s disabled and the other doesn’t.)

thanks, thats exactly what I needed