// SetWindowOpacity sets the opacity of the window.
// (https://wiki.libsdl.org/SDL_SetWindowOpacity)
506774
func (window *Window) SetWindowOpacity(opacity float32) error {
	return errorFromInt(int(
		C.SDL_SetWindowOpacity(window.cptr(), C.float(opacity))))
}
520715
func (s *MaintenanceWindowTask) SetWindowId(v string) *MaintenanceWindowTask {
	s.WindowId = &v
	return s
}
651943
func (window *Window) GetWindowOpacity() (opacity float32, err error) {
	return opacity, errorFromInt(int(
		C.SDL_GetWindowOpacity(window.cptr(), (*C.float)(unsafe.Pointer(&opacity)))))
}
1350462
func (s *MaintenanceWindowIdentity) SetWindowId(v string) *MaintenanceWindowIdentity {
	s.WindowId = &v
	return s
}
626139
func (s *EventContextDataType) SetCity(v string) *EventContextDataType {
	s.City = &v
	return s
}
1242906
func (window *Window) SetGammaRamp(red, green, blue *[256]uint16) error {
	return errorFromInt(int(
		C.SDL_SetWindowGammaRamp(
			window.cptr(),
			(*C.Uint16)(unsafe.Pointer(red)),
			(*C.Uint16)(unsafe.Pointer(green)),
			(*C.Uint16)(unsafe.Pointer(blue)))))
}
943857
func (s *ManagedAction) SetWindowStartTime(v time.Time) *ManagedAction {
	s.WindowStartTime = &v
	return s
}
376776
func (s *DvbSubDestinationSettings) SetShadowOpacity(v int64) *DvbSubDestinationSettings {
	s.ShadowOpacity = &v
	return s
}
293988
func (window *Window) SetDisplayMode(mode *DisplayMode) error {
	return errorFromInt(int(
		C.SDL_SetWindowDisplayMode(window.cptr(), mode.cptr())))
}
1102706
func (s *BurninDestinationSettings) SetFontOpacity(v int64) *BurninDestinationSettings {
	s.FontOpacity = &v
	return s
}
804645
func (s *InstanceFleet) SetProvisionedOnDemandCapacity(v int64) *InstanceFleet {
	s.ProvisionedOnDemandCapacity = &v
	return s
}
429905
func (s *UpdateMaintenanceWindowTaskInput) SetWindowId(v string) *UpdateMaintenanceWindowTaskInput {
	s.WindowId = &v
	return s
}
652274
func (s *MaintenanceWindowTarget) SetWindowId(v string) *MaintenanceWindowTarget {
	s.WindowId = &v
	return s
}
496942
func (s *StaticImageActivateScheduleActionSettings) SetOpacity(v int64) *StaticImageActivateScheduleActionSettings {
	s.Opacity = &v
	return s
}
1200694
func (s *CreateFileSystemFromBackupInput) SetWindowsConfiguration(v *CreateFileSystemWindowsConfiguration) *CreateFileSystemFromBackupInput {
	s.WindowsConfiguration = v
	return s
}
888867
func (window *Window) SetPosition(x, y int32) {
	C.SDL_SetWindowPosition(window.cptr(), C.int(x), C.int(y))
}
22387
func (s *ModifyReplicationGroupInput) SetSnapshotWindow(v string) *ModifyReplicationGroupInput {
	s.SnapshotWindow = &v
	return s
}