Project

General

Profile

Previous Up Next

_CBcompTextResize
Sets callbacks corresponding to the component (and its slidebars) resize event.

CompText _CBcompTextResize (
CompText _text_
fun [CompText u0 I I] u1 _callbacktext_
u0 _usertext_
fun [CompSlideBar u2 I I] u3 _callbackvslide_
u2 _uservslide_
fun [CompSlideBar u4 I I] u5 _callbackhslide_
u4 _userhslide_
)
Parameters

_text_
any CompText
_callbacktext_
callback function on text object resize (supplemental parameters are w and h)
w and h define the new component size
_usertext_
user parameter
_callbackvslide_
callback function on vertical slidebar resize (supplemental parameters are w and h)
w and h define the new component size
_uservslide_
user parameter
_callbackhslide_
callback function on horizontal slidebar resize (supplemental parameters are w and h)
w and h define the new component size
_userhslide_
user parameter
Return value

same CompText