[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Catching Figure close button

From: Pavel Hofman
Subject: Catching Figure close button
Date: Mon, 28 Jan 2019 20:53:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1


Please is there a way to assign a hook to the figure close button? I understand the button is provided by the window manager of my OS but please can I handle it in octave?

I cannot use uiwait since my main thread cycles reading incoming zeromq messages and uiwait() rounds timeout to whole seconds.

If I could run a callback when the windows close button is pushed, I could arrange for quitting the reading loop at next iteration.

Octave 4.4.1, linux

Thanks a lot for any hints.

Best regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]