carb.windowing

pybind11 carb.windowing bindings

class carb.windowing.Cursor

Bases: pybind11_builtins.pybind11_object

class carb.windowing.CursorMode(self: carb.windowing.CursorMode, arg0: int)None

Bases: pybind11_builtins.pybind11_object

Members:

NORMAL

HIDDEN

DISABLED

DISABLED = CursorMode.DISABLED
HIDDEN = CursorMode.HIDDEN
NORMAL = CursorMode.NORMAL
property name

handle) -> str

Type

(self

class carb.windowing.CursorStandardShape(self: carb.windowing.CursorStandardShape, arg0: int)None

Bases: pybind11_builtins.pybind11_object

Members:

ARROW

IBEAM

CROSSHAIR

HAND

HORIZONTAL_RESIZE

VERTICAL_RESIZE

ARROW = CursorStandardShape.ARROW
CROSSHAIR = CursorStandardShape.CROSSHAIR
HAND = CursorStandardShape.HAND
HORIZONTAL_RESIZE = CursorStandardShape.HORIZONTAL_RESIZE
IBEAM = CursorStandardShape.IBEAM
VERTICAL_RESIZE = CursorStandardShape.VERTICAL_RESIZE
property name

handle) -> str

Type

(self

class carb.windowing.GLContext

Bases: pybind11_builtins.pybind11_object

class carb.windowing.IGLContext

Bases: pybind11_builtins.pybind11_object

create_context_opengl(self: carb.windowing.IGLContext, width: int, height: int)carb.windowing.GLContext
create_context_opengles(self: carb.windowing.IGLContext, width: int, height: int)carb.windowing.GLContext
destroy_context(self: carb.windowing.IGLContext, arg0: carb.windowing.GLContext)None
make_context_current(self: carb.windowing.IGLContext, arg0: carb.windowing.GLContext)None
class carb.windowing.IWindowing

Bases: pybind11_builtins.pybind11_object

create_cursor_standard(self: carb.windowing.IWindowing, arg0: carb.windowing.CursorStandardShape)carb.windowing.Cursor
create_window(self: carb.windowing.IWindowing, width: int, height: int, title: str, fullscreen: bool, hints: int = 0)carb.windowing.Window
destroy_cursor(self: carb.windowing.IWindowing, arg0: carb.windowing.Cursor)None
destroy_window(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)None
focus_window(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)None
get_clipboard(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)str
get_cursor_mode(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)carb.windowing.CursorMode
get_cursor_position(self: carb.windowing.IWindowing, arg0: carb.windowing.Window) → carb._carb.Int2
get_input_mode(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: carb.windowing.InputMode)bool
get_keyboard(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)carb.input.Keyboard
get_mouse(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)carb.input.Mouse
get_native_display(self: carb.windowing.IWindowing, arg0: carb.windowing.Window) → capsule
get_native_window(self: carb.windowing.IWindowing, arg0: carb.windowing.Window) → capsule
get_window_height(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)int
get_window_opacity(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)float
get_window_position(self: carb.windowing.IWindowing, arg0: carb.windowing.Window) → carb._carb.Int2
get_window_user_pointer(self: carb.windowing.IWindowing, arg0: carb.windowing.Window) → capsule
get_window_width(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)int
hide_window(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)None
is_window_focused(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)bool
is_window_fullscreen(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)bool
is_window_minimized(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)bool
poll_events(self: carb.windowing.IWindowing)None
resize_window(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: int, arg2: int)None
set_clipboard(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: str)None
set_cursor(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: carb.windowing.Cursor)None
set_cursor_mode(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: carb.windowing.CursorMode)None
set_cursor_position(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: carb._carb.Int2)None
set_input_mode(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: carb.windowing.InputMode, arg2: bool)None
set_window_content_scale(self: carb.windowing.IWindowing, arg0: carb.windowing.Window) → carb._carb.Float2
set_window_fullscreen(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: bool)None
set_window_opacity(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: float)None
set_window_position(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: carb._carb.Int2)None
set_window_should_close(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: bool)None
set_window_title(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: str)None
set_window_user_pointer(self: carb.windowing.IWindowing, arg0: carb.windowing.Window, arg1: capsule)None
should_window_close(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)bool
show_window(self: carb.windowing.IWindowing, arg0: carb.windowing.Window)None
update_input_devices(self: carb.windowing.IWindowing)None
wait_events(self: carb.windowing.IWindowing)None
class carb.windowing.InputMode(self: carb.windowing.InputMode, arg0: int)None

Bases: pybind11_builtins.pybind11_object

Members:

STICKY_KEYS

STICKY_MOUSE_BUTTONS

LOCK_KEY_MODS

RAW_MOUSE_MOTION

LOCK_KEY_MODS = InputMode.LOCK_KEY_MODS
RAW_MOUSE_MOTION = InputMode.RAW_MOUSE_MOTION
STICKY_KEYS = InputMode.STICKY_KEYS
STICKY_MOUSE_BUTTONS = InputMode.STICKY_MOUSE_BUTTONS
property name

handle) -> str

Type

(self

class carb.windowing.Window

Bases: pybind11_builtins.pybind11_object

carb.windowing.acquire_gl_context_interface(plugin_name: str = None, library_path: str = None) → carb::windowing::IGLContext
carb.windowing.acquire_windowing_interface(plugin_name: str = None, library_path: str = None) → carb::windowing::IWindowing