explaination of key event signals here so i don't get confused later

This commit is contained in:
pavlov%netscape.com 1999-09-08 19:40:12 +00:00
parent a4d2794e61
commit 724172f068

View File

@ -64,6 +64,11 @@ NS_IMETHODIMP nsTextWidget::CreateNative(GtkWidget *parentWindow)
mTextWidget = mWidget;
gtk_widget_set_name(mWidget, "nsTextWidget");
/*
* GTK's text widget does XIM for us, so we don't want to use the default key handler
* which does XIM, so we connect to a non-XIM key event for the text widget
*/
gtk_signal_connect_after(GTK_OBJECT(mWidget),
"key_press_event",
#ifdef USE_XIM