Added error beep to GTK+ TextField.Invalid().

This commit is contained in:
Pietro Gagliardi 2014-08-24 01:14:17 -04:00
parent 073ec1d8b3
commit 811ec66d81
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ func (t *textfield) Invalid(reason string) {
creason := togstr(reason)
defer freegstr(creason)
C.gtk_entry_set_icon_tooltip_text(t.entry, C.GTK_ENTRY_ICON_SECONDARY, creason)
// TODO beep
C.gtk_widget_error_bell(t._widget)
}
//export textfieldChanged