Gimp.RGB.set_alpha

@accepts(Gimp.RGB, float)
@returns(none)
def set_alpha(self, alpha):
    # Python wrapper for gimp_rgb_set_alpha()
  

Sets the alpha component of self and leaves the RGB components unchanged.

self

a Gimp.RGB struct

alpha

the alpha component