Project

General

Profile

Previous Up Next

_CBcontainerSize
Defines a user callback on container resize event

ObjContainer _CBcontainerSize (
ObjContainer _container_
fun [ObjContainer u0 I I I] u1 _callback_
u0 _user_
)
Parameters

_container_
any ObjContainer
_callback_
callback function on container resize (supplemental parameters are state, w and h)
state is any of following values :
Value Meaning
CONTAINER_MAXIMIZED container is maximized (full screen)
CONTAINER_MINIMIZED container is minimized
CONTAINER_RESTORED container is restored
w and h define the new container size
_user_
user parameter
Return value

same ObjContainer