///
/// This property only makes sense for windows. A modal widget
/// prevents widgets in other windows from getting input. The value of
/// this property controls which windows are blocked when the widget
/// is visible. Changing this property while the window is visible has
/// no effect; you must hide() the widget first, then show() it again.
///
/// By default, this property is Qt::NonModal.
///
/// **See also:** [`is_window()`]
/// [`Widget::modal()`]
/// [`Dialog`]
This property only makes sense for windows. A modal widget
prevents widgets in other windows from getting input. The value of
this property controls which windows are blocked when the widget
is visible. Changing this property while the window is visible has
no effect; you must hide() the widget first, then show() it again.

By default, this property is Qt::NonModal.


This property only makes sense for windows . A modal widget prevents widgets in other windows from getting input . The value of this property controls which windows are blocked when the widget is visible . Changing this property while the window is visible has no effect ; you must hide () the widget first then show () it again . By default this property is Qt :: NonModal .
pub fn window_modality(&self) -> WindowModality {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).window_modality)(obj_data);
            let ret_val = { transmute::<u32, WindowModality>(ret_val) };
            ret_val
        }
    }
pub fn window_modality ( & self ) -> WindowModality { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . window_modality ) ( obj_data ) ; let ret_val = { transmute :: < u32 , WindowModality > ( ret_val ) } ; ret_val } }
This property only makes sense for windows.
This property only makes sense for windows .
&self