Gtk.Widget.prototype.error_bell

function error_bell():void {
    // Gjs wrapper for gtk_widget_error_bell()
}

Notifies the user about an input-related error on this widget. If the Gtk.Settings:gtk-error-bell setting is true, it calls Gdk.beep, otherwise it does nothing.

Note that the effect of Gdk.beep can be configured in many ways, depending on the windowing backend and the desktop environment or window manager that is used.

Since 2.12