py-sdl / py-sdl2

Python ctypes wrapper around SDL2
Other
303 stars 49 forks source link

Add sdl2.ext wrapper for MessageBox API #188

Closed a-hurst closed 3 years ago

a-hurst commented 3 years ago

PR Description

Closes #170. Adds a friendly Pythonic API for working with SDL2's MessageBox functions/structs, wrapping a lot of ctypes unpleasantness.

Also adds/tweaks a few utility functions to facilitate the new API which should also be useful elsewhere in sdl2.ext.

Merge Checklist