def was_init(): """This function returns the subsystems which have previously been initialized. Returns: Set[InitFlag]: Flags indicating which subsystems have been initialized. """ mask = lib.SDL_WasInit(0) return enumtools.get_items(InitFlags, mask, {InitFlags.everything})
def flags(self): """Set[RendererFlags]: Supported renderer flags.""" return enumtools.get_items(RendererFlags, self._get_renderer_info().flags)
def flags(self): """set[WindowFlags]: The flags for the window.""" return enumtools.get_items(WindowFlags, lib.SDL_GetWindowFlags(self._ptr))
def mod(self): """Set[KeyMod]: The current key modifiers.""" return get_items(KeyMod, self._ptr.key.keysym.mod)