setPopupImmediate

open override fun setPopupImmediate(widget: PopupWidget?, mouseX: Double?, mouseY: Double?)

Deprecated

Override of PopupController Method. This instance scheduled for removal 0.7.0

Applies a popup widget to this parent. If null is passed, removes the top (newest) popup instead

Author

fzzyhmstrs

Since

0.6.6

Parameters

widget

PopupWidget, nullable. If not null, will be added to the top of this parent's popup stack, otherwise the top element will be popped

mouseX

Double, nullable. If not null, will be used to reset mouse hover context when the last popup is removed.

mouseY

Double, nullable. If not null, will be used to reset mouse hover context when the last popup is removed.