///
/// Causes an alert to be shown for *widget* if the window is not the active
/// window. The alert is shown for *msec* miliseconds. If *msec* is zero (the
/// default), then the alert is shown indefinitely until the window becomes
/// active again.
///
/// Currently this function does nothing on Qt for Embedded Linux.
///
/// On MacOS , this works more at the application level and will cause the
/// application icon to bounce in the dock.
///
/// On Windows, this causes the window's taskbar entry to flash for a time. If
/// *msec* is zero, the flashing will stop and the taskbar entry will turn a
/// different color (currently orange).
///
/// On X11, this will cause the window to be marked as , the
/// window must not be hidden (i.e. not have hide() called on it, but be
/// visible in some sort of way) in order for this to work.
Causes an alert to be shown for *widget* if the window is not the active
window. The alert is shown for *msec* miliseconds. If *msec* is zero (the
default), then the alert is shown indefinitely until the window becomes
active again.

Currently this function does nothing on Qt for Embedded Linux.

On MacOS , this works more at the application level and will cause the
application icon to bounce in the dock.

On Windows, this causes the window's taskbar entry to flash for a time. If
msec* is zero, the flashing will stop and the taskbar entry will turn a
different color (currently orange).

On X11, this will cause the window to be marked as , the
window must not be hidden  called on it, but be
visible in some sort of way) in order for this to work.
Causes an alert to be shown for * widget * if the window is not the active window . The alert is shown for * msec * miliseconds . If * msec * is zero ( the default ) then the alert is shown indefinitely until the window becomes active again . Currently this function does nothing on Qt for Embedded Linux . On MacOS this works more at the application level and will cause the application icon to bounce in the dock . On Windows this causes the window ' s taskbar entry to flash for a time . If msec * is zero the flashing will stop and the taskbar entry will turn a different color ( currently orange ) . On X11 this will cause the window to be marked as the window must not be hidden called on it but be visible in some sort of way ) in order for this to work .
pub fn alert<W: WidgetTrait<'a>>(widget: &W, duration: i32) {
        let (obj_widget_1, _funcs) = widget.get_widget_obj_funcs();
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_application)(::std::ptr::null()).all_funcs)
                    .application_funcs,
            )
        };
        unsafe {
            ((*funcs).alert)(obj_data, obj_widget_1, duration);
        }
    }
pub fn alert < W : WidgetTrait < ' a > > ( widget : & W , duration : i32 ) { let ( obj_widget_1 , _funcs ) = widget . get_widget_obj_funcs ( ) ; let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_application ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . application_funcs , ) } ; unsafe { ( ( * funcs ) . alert ) ( obj_data , obj_widget_1 , duration ) ; } }
Causes an alert to be shown for *widget* if the window is not the active
window.
Causes an alert to be shown for * widget * if the window is not the active window .
widget
&W
duration
i32