fastplotlib.ui.ImguiPopup#
- class ImguiPopup(update_call=None)[source]#
An imgui popup drawn within a Figure, opened by a right-click. Subclass and implement
update()to draw imgui elements, or pass a callable asupdate_call.Popups are not added directly, use
ImguiFigure.set_imgui_right_click(),Subplot.set_imgui_right_click()orGraphic.set_imgui_right_click()which provide the parent and window flags via_fpl_add_hook().- Parameters:
update_call (callable) – a callable that draws imgui elements, used instead of
update(), seeset_imgui_right_click