GimpUi.GradientSelectButton.prototype.get_gradient

function get_gradient(): String {
    // Gjs wrapper for gimp_gradient_select_button_get_gradient()
}
  

Retrieves the name of currently selected gradient.

Since 2.4

Returns

an internal copy of the gradient name which must not be freed.