Welcome to Python-flavored Magnum! Please note that, while already being rather stable, this functionality is still considered experimental and some APIs might get changed without preserving full backwards compatibility.

magnum.platform.glfw.Application.Configuration class

Configuration

Enums

class WindowFlags: FULLSCREEN = 1 BORDERLESS = 2 RESIZABLE = 4 HIDDEN = 8 MAXIMIZED = 16 MINIMIZED = 32 ALWAYS_ON_TOP = 64 AUTO_ICONIFY = 128 FOCUSED = 256 NONE = 0
Window flags

Special methods

def __init__(self, *, title: str = 'Magnum GLFW Application', size: Vector2i = Vector(800, 600), window_flags: WindowFlags = WindowFlags.FOCUSED) -> None
Constructor

Properties

size: Vector2i get set
Window size
title: str get set
Window title
window_flags: WindowFlags get set
Window flags