IWindowing#

class carb.windowing.IWindowing#

Bases: pybind11_object

Methods

__init__(*args, **kwargs)

create_cursor(self, arg0, arg1, arg2)

create_cursor_standard(self, arg0)

create_window(self, width, height, title, ...)

destroy_cursor(self, arg0)

destroy_window(self, arg0)

focus_window(self, arg0)

get_clipboard(self, arg0)

get_cursor_mode(self, arg0)

get_cursor_position(self, arg0)

get_input_mode(self, arg0, arg1)

get_keyboard(self, arg0)

get_monitor_position(self, arg0)

get_monitor_work_area(self, arg0)

get_monitors(self)

get_mouse(self, arg0)

get_native_display(self, arg0)

get_native_window(self, arg0)

get_window_height(self, arg0)

get_window_opacity(self, arg0)

get_window_position(self, arg0)

get_window_user_pointer(self, arg0)

get_window_width(self, arg0)

hide_window(self, arg0)

is_window_focused(self, arg0)

is_window_fullscreen(self, arg0)

is_window_maximized(self, arg0)

is_window_minimized(self, arg0)

maximize_window(self, arg0)

minimize_window(self, arg0)

poll_events(self)

resize_window(self, arg0, arg1, arg2)

restore_window(self, arg0)

set_clipboard(self, arg0, arg1)

set_cursor(self, arg0, arg1)

set_cursor_mode(self, arg0, arg1)

set_cursor_position(self, arg0, arg1)

set_input_mode(self, arg0, arg1, arg2)

set_window_content_scale(self, arg0)

set_window_fullscreen(self, arg0, arg1)

set_window_icon(self, arg0, arg1)

set_window_opacity(self, arg0, arg1)

set_window_position(self, arg0, arg1)

set_window_should_close(self, arg0, arg1)

set_window_title(self, arg0, arg1)

set_window_user_pointer(self, arg0, arg1)

should_window_close(self, arg0)

show_window(self, arg0)

translate_key(self, arg0)

update_input_devices(self)

wait_events(self)

__init__(*args, **kwargs)#
create_cursor(
self: carb.windowing.IWindowing,
arg0: carb.windowing.Image,
arg1: int,
arg2: int,
) carb.windowing.Cursor#
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_monitor_position(
self: carb.windowing.IWindowing,
arg0: carb.windowing.Monitor,
) carb._carb.Int2#
get_monitor_work_area(
self: carb.windowing.IWindowing,
arg0: carb.windowing.Monitor,
) tuple#
get_monitors(self: carb.windowing.IWindowing) tuple#
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_maximized(
self: carb.windowing.IWindowing,
arg0: carb.windowing.Window,
) bool#
is_window_minimized(
self: carb.windowing.IWindowing,
arg0: carb.windowing.Window,
) bool#
maximize_window(
self: carb.windowing.IWindowing,
arg0: carb.windowing.Window,
) None#
minimize_window(
self: carb.windowing.IWindowing,
arg0: carb.windowing.Window,
) None#
poll_events(self: carb.windowing.IWindowing) None#
resize_window(
self: carb.windowing.IWindowing,
arg0: carb.windowing.Window,
arg1: int,
arg2: int,
) None#
restore_window(
self: carb.windowing.IWindowing,
arg0: carb.windowing.Window,
) 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_icon(
self: carb.windowing.IWindowing,
arg0: carb.windowing.Window,
arg1: carb.windowing.Image,
) 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#
translate_key(
self: carb.windowing.IWindowing,
arg0: carb.input.KeyboardInput,
) carb.input.KeyboardInput#
update_input_devices(
self: carb.windowing.IWindowing,
) None#
wait_events(self: carb.windowing.IWindowing) None#