Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    clickEvent in Window.showClickMask - clickActionCallback

    Hello,

    Inside the Function clickActionCallback in showClickMask I need to know where user clicked on mask. Based on this, I should close window or ignore the click.

    Is it possible?

    Code:
    Window w = new Window();
    w.setIsModal(false);
    ...
    w.showClickMask(new Function() {
                @Override
                public void execute() {
       //where user clicked on mask?
                }
            }, ClickMaskMode.HARD, null);
Working...
X