private void UpdateEventButton(Gdk.EventButton evnt, Gdk.Window window, Gdk.EventType type) { Marshal.WriteInt32(evnt.Handle, 0, (int)type); UpdateEventButtonWindow(evnt, window); }