set_imgui_right_click#
- ScatterGraphic.set_imgui_right_click(popup=None, *, window_flags=None)#
Set the imgui popup that is opened by a right-click on this graphic, replaces the popup of the subplot or Figure for this graphic. Can also be used as a decorator, see the
ImguiFigure.set_imgui_right_clickexamples.- Parameters:
popup (ImguiPopup | callable, optional) – an
ImguiPopupinstance, or a function that draws imgui elements. Omit when decorating.window_flags (
imgui.WindowFlags_, optional) – imgui window flags for the popup