Function libui_ng_sys::uiNewTableValueImage
source · pub unsafe extern "C" fn uiNewTableValueImage(
img: *mut uiImage
) -> *mut uiTableValueExpand description
Creates a new table value to store an image.
@param img Image.\n Data is NOT copied and needs to kept alive. @returns A new uiTableValue instance. @warning Unlike other uiTableValue constructors, uiNewTableValueImage() does NOT copy the image to save time and space. Make sure the image data stays valid while in use by the library. As a general rule: if the constructor is called via the uiTableModelHandler, the image is safe to free once execution returns to ANY of your code. @memberof uiTableValue @static