GimpUi.DrawableChooser.prototype.set_drawable

function set_drawable(drawable: Gimp.Drawable): void {
    // Gjs wrapper for gimp_drawable_chooser_set_drawable()
}
  

Sets the currently selected drawable. This will select the drawable in both the button and any chooser popup.

Since 3.0

drawable

Drawable to set.