///
/// Returns the list widget containing the item.
Returns the list widget containing the item.
Returns the list widget containing the item .
pub fn list_widget(&self) -> Option<ListWidget> {
        let (obj_data, funcs) = self.get_list_widget_item_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).list_widget)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = ListWidget::new_from_rc(t);
            } else {
                ret_val = ListWidget::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
pub fn list_widget ( & self ) -> Option < ListWidget > { let ( obj_data , funcs ) = self . get_list_widget_item_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . list_widget ) ( obj_data ) ; if ret_val . qt_data == :: std :: ptr :: null ( ) { return None ; } let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = ListWidget :: new_from_rc ( t ) ; } else { ret_val = ListWidget :: new_from_owned ( t ) ; } Some ( ret_val ) } }
Returns the list widget containing the item.
Returns the list widget containing the item .
&self