pub fn window_state(&self) -> WindowStates {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).window_state)(obj_data);
            let ret_val = WindowStates::from_bits_truncate(ret_val);
            ret_val
        }
    }
///
/// Returns the current window state. The window state is a OR'ed
/// combination of Qt::WindowState: Qt::WindowMinimized,
/// Qt::WindowMaximized, Qt::WindowFullScreen, and Qt::WindowActive.
///
/// **See also:** [`t::window_state()`]
/// [`set_window_state()`]
Returns the current window state.


Returns the current window state .
pub fn window_state(&self) -> WindowStates {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).window_state)(obj_data);
            let ret_val = WindowStates::from_bits_truncate(ret_val);
            ret_val
        }
    }
pub fn window_state ( & self ) -> WindowStates { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . window_state ) ( obj_data ) ; let ret_val = WindowStates :: from_bits_truncate ( ret_val ) ; ret_val } }
Returns the current window state.
Returns the current window state .
&self
&self