Python APIs for XSection Window Contextual Actions