Gimp.context_set_dynamics
function context_set_dynamics(name: String): Boolean {
// Gjs wrapper for gimp_context_set_dynamics()
}
Set the specified paint dynamics as the active paint dynamics.
This procedure allows the active paint dynamics to be set by specifying its name. The name is simply a string which corresponds to one of the names of the installed paint dynamics. If there is no matching paint dynamics found, this procedure will return an error. Otherwise, the specified paint dynamics becomes active and will be used in all subsequent paint operations as long as dynamics are enabled.
Since 2.8
- name
The name of the paint dynamics.
- Returns
TRUE on success.