Gimp.Image.prototype.grid_set_style

function grid_set_style(style: Gimp.GridStyle): Boolean {
    // Gjs wrapper for gimp_image_grid_set_style()
}
  

Sets the style unit of an image's grid.

This procedure sets the style of an image's grid. It takes the image and the new style as parameters.

Since 2.4

style

The image's grid style.

Returns

TRUE on success.