Create a new XEvent.
Name of the first property.
the NULL-terminated arguments of the properties and values.
A newly allocated XEvent. E.g. ibus_x_event_new ("event-type", IBUS_X_EVENT_KEY_PRESS, NULL);