pub fn window_state(&self) -> WindowState {
        let (obj_data, funcs) = self.get_window_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).window_state)(obj_data);
            let ret_val = WindowState::from_bits_truncate(ret_val);
            ret_val
        }
    }
///
/// **See also:** [`set_window_state()`]
/// [`window_states()`]
///
/// The window can be in a combination of several states. For example, if
/// the window is both minimized and maximized, the window will appear
/// minimized, but clicking on the task bar entry will restore it to
/// the maximized state.
///
/// **See also:** [`set_window_states()`]
///
/// This signal is emitted when the *windowState* changes, either
/// by being set explicitly with setWindowStates(), or automatically when
/// the user clicks one of the titlebar buttons or by other means.


The window can be in a combination of several states. For example, if
the window is both minimized and maximized, the window will appear
minimized, but clicking on the task bar entry will restore it to
the maximized state.



This signal is emitted when the *windowState* changes, either
by being set explicitly with setWindowStates(), or automatically when
the user clicks one of the titlebar buttons or by other means.
The window can be in a combination of several states . For example if the window is both minimized and maximized the window will appear minimized but clicking on the task bar entry will restore it to the maximized state . This signal is emitted when the * windowState * changes either by being set explicitly with setWindowStates () or automatically when the user clicks one of the titlebar buttons or by other means .
pub fn window_state(&self) -> WindowState {
        let (obj_data, funcs) = self.get_window_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).window_state)(obj_data);
            let ret_val = WindowState::from_bits_truncate(ret_val);
            ret_val
        }
    }
pub fn window_state ( & self ) -> WindowState { let ( obj_data , funcs ) = self . get_window_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . window_state ) ( obj_data ) ; let ret_val = WindowState :: from_bits_truncate ( ret_val ) ; ret_val } }
See also:** [`set_window_state()`]
[`window_states()`]
See also : ** [ ` set_window_state () ` ] [ ` window_states () ` ]
&self
&self