1 // SPDX-License-Identifier: GPL-2.0-or-later
2 #ifndef INKSCAPE_UI_DEFOCUS_TARGET_H
3 #define INKSCAPE_UI_DEFOCUS_TARGET_H
5 namespace Inkscape::UI
{
8 * Interface for objects that would like to be informed when another widget loses focus.
13 virtual void onDefocus() = 0;
16 ~DefocusTarget() = default;
19 } // namespace Inskcape::UI
21 #endif // INKSCAPE_UI_DEFOCUS_TARGET_H