// SetColorKey sets the color key (transparent pixel) in the surface.
// (https://wiki.libsdl.org/SDL_SetColorKey)
961010
func (surface *Surface) SetColorKey(flag bool, key uint32) error {
	if C.SDL_SetColorKey(surface.cptr(), C.int(Btoi(flag)), C.Uint32(key)) != 0 {
		return GetError()
	}
	return nil
}
888393
func (s *PatchFilter) SetKey(v string) *PatchFilter {
	s.Key = &v
	return s
}
1022283
func (s *S3SignedObject) SetKey(v string) *S3SignedObject {
	s.Key = &v
	return s
}
1108616
func (s *PhysicalResourceIdContextKeyValuePair) SetKey(v string) *PhysicalResourceIdContextKeyValuePair {
	s.Key = &v
	return s
}
910108
func (s *PutObjectLegalHoldInput) SetKey(v string) *PutObjectLegalHoldInput {
	s.Key = &v
	return s
}
545594
func (s *GetApiMappingOutput) SetApiMappingKey(v string) *GetApiMappingOutput {
	s.ApiMappingKey = &v
	return s
}
620563
func (s *RecordPatch) SetKey(v string) *RecordPatch {
	s.Key = &v
	return s
}
521686
func (s *EnvironmentVariable) SetKey(v string) *EnvironmentVariable {
	s.Key = &v
	return s
}
1068544
func (s *Condition) SetConditionKey(v string) *Condition {
	s.ConditionKey = &v
	return s
}
99734
func (s *Field) SetKey(v string) *Field {
	s.Key = &v
	return s
}
231341
func (s *ParameterAttribute) SetKey(v string) *ParameterAttribute {
	s.Key = &v
	return s
}
553970
func (s *Parameter) SetParameterKey(v string) *Parameter {
	s.ParameterKey = &v
	return s
}
780893
func (a *HighlightRectArgs) SetColor(color dom.RGBA) *HighlightRectArgs {
	a.Color = &color
	return a
}
957804
func (w *Window) SetColorMask(c color.Color) {
	w.canvas.SetColorMask(c)
}
1058098
func (s *Scope) SetKey(v string) *Scope {
	s.Key = &v
	return s
}
382819
func (s *S3Action) SetKey(v string) *S3Action {
	s.Key = &v
	return s
}
13529
func (s *GameProperty) SetKey(v string) *GameProperty {
	s.Key = &v
	return s
}