win->DispatchMouseEvent(mevent);
gint handle_button_press_event(GtkWidget *w, GdkEventButton * event, gpointer p){  nsMouseEvent mevent;  int b = 0;  switch (event->button)  {    case 1:      b = NS_MOUSE_LEFT_BUTTON_DOWN;      break;    case 2:      b = NS_MOUSE_MIDDLE_BUTTON_DOWN;      break;    case 3:      b = NS_MOUSE_RIGHT_BUTTON_DOWN;      break;    default:      b = NS_MOUSE_LEFT_BUTTON_DOWN;      break;  }  InitMouseEvent(event, p, mevent, b);  nsWindow *win = (nsWindow *)p;  return PR_FALSE;}