uiNewTableValueImage

Function uiNewTableValueImage 

Source
pub unsafe extern "C" fn uiNewTableValueImage(
    img: *mut uiImage,
) -> *mut uiTableValue
Expand 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