示例#1
0
def window_resize( x, y ):
	print('resize',x,y)
	C = get_context()
	win = blender.CTX_wm_window( C )
	blender.wm_window_lower( win )
	blender.WM_setprefsize( 0, 0, x,y )
	blender.wm_window_set_size( win )
	blender.wm_window_raise( win )
示例#2
0
def window_lower():
	C = get_context()
	win = blender.CTX_wm_window( C )
	blender.wm_window_lower( win )