Function libui_ng_sys::uiWindowOnContentSizeChanged
source · pub unsafe extern "C" fn uiWindowOnContentSizeChanged(
w: *mut uiWindow,
f: Option<unsafe extern "C" fn(sender: *mut uiWindow, senderData: *mut c_void)>,
data: *mut c_void
)Expand description
Registers a callback for when the window content size is changed.
@param w uiWindow instance. @param f Callback function.\n @p sender Back reference to the instance that triggered the callback.\n @p senderData User data registered with the sender instance. @param data User data to be passed to the callback.
@todo Research if this gets called on uiWindowSetContentSize(). The signal on unix does not seem to get masked. Fix this on all platforms and document the masking here. @note Only one callback can be registered at a time. @memberof uiWindow