pub unsafe fn button_create(parent: *mut Object) -> Result<*mut Object>
This function is unsafe because it may dereference raw pointers.