From c853ffb5b2f75f5a889ed2e3ef89b818a736e87a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 13:50:49 +0200 Subject: Adding upstream version 1.3+ds. Signed-off-by: Daniel Baumann --- src/ui/dialog-events.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/ui/dialog-events.h (limited to 'src/ui/dialog-events.h') diff --git a/src/ui/dialog-events.h b/src/ui/dialog-events.h new file mode 100644 index 0000000..3c13053 --- /dev/null +++ b/src/ui/dialog-events.h @@ -0,0 +1,41 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * @brief Event handler for dialog windows + */ +/* Authors: + * bulia byak + * + * Copyright (C) 2003-2014 authors + * + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ + +#ifndef SEEN_DIALOG_EVENTS_H +#define SEEN_DIALOG_EVENTS_H + +#include + +namespace Gtk { +class Window; +class Entry; +} + +void sp_dialog_defocus_cpp (Gtk::Window *win); +void sp_dialog_defocus_on_enter_cpp(Gtk::Entry *e); + +void sp_dialog_defocus (GtkWindow *win); +void sp_dialog_defocus_on_enter(GtkWidget *w); +void sp_transientize (GtkWidget *win); + +#endif // SEEN_DIALOG_EVENTS_H + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : -- cgit v1.2.3