ImguiPopup#

ImguiPopup#

Constructor#

ImguiPopup([update_call])

An imgui popup drawn within a Figure, opened by a right-click.

Properties#

ImguiPopup.graphic

the graphic this popup was opened on, None if it was not opened on a graphic

ImguiPopup.is_open

whether the popup is currently open

ImguiPopup.parent

the object this popup is set on, an ImguiFigure, Subplot or Graphic

ImguiPopup.subplot

the subplot this popup was opened in

ImguiPopup.window_flags

imgui window flags

Methods#

ImguiPopup.draw()

helps simplify using imgui by managing the popup open state, and pushing/popping the ID

ImguiPopup.open([pos])

Request that this popup is opened on the next render.

ImguiPopup.update()

Implement your GUI here and it will be drawn within the popup.