Enhance save as template and new from template dialogs
[inkscape.git] / src / ui / defocus-target.h
blobbfd3d7e361993731fa0a56a5700e4a06175c2fc3
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 {
7 /**
8 * Interface for objects that would like to be informed when another widget loses focus.
9 */
10 class DefocusTarget
12 public:
13 virtual void onDefocus() = 0;
15 protected:
16 ~DefocusTarget() = default;
19 } // namespace Inskcape::UI
21 #endif // INKSCAPE_UI_DEFOCUS_TARGET_H