get_current_event_state

function get_current_event_state():Boolean {
    // Gjs wrapper for gtk_get_current_event_state()
}

If there is a current event and it has a state field, place that state field in state and return true, otherwise return false.

Returns

true if there was a current event and it had a state field