Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkdialogerror.h
Go to the documentation of this file.
1/* GTK - The GIMP Toolkit
2 *
3 * Copyright (C) 2022 Red Hat, Inc.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#pragma once
20
21#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
22#error "Only <gtk/gtk.h> can be included directly."
23#endif
24
25#include <gdk/gdk.h>
26
28
29/**
30 * GTK_DIALOG_ERROR:
31 *
32 * The error domain for errors returned by async dialog functions.
33 *
34 * Since: 4.10
35 */
36#define GTK_DIALOG_ERROR (gtk_dialog_error_quark ())
37
38/**
39 * GtkDialogError:
40 * @GTK_DIALOG_ERROR_FAILED: Generic error condition for when
41 * an operation fails and no more specific code is applicable
42 * @GTK_DIALOG_ERROR_CANCELLED: The async function call was cancelled
43 * via its `GCancellable`
44 * @GTK_DIALOG_ERROR_DISMISSED: The operation was cancelled
45 * by the user (via a Cancel or Close button)
46 *
47 * Error codes in the `GTK_DIALOG_ERROR` domain that can be returned
48 * by async dialog functions.
49 *
50 * Since: 4.10
51 */
58
61
#define GDK_AVAILABLE_IN_4_10
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
G_BEGIN_DECLS typedef guint32 GQuark
Definition gquark.h:38
GtkDialogError
@ GTK_DIALOG_ERROR_DISMISSED
@ GTK_DIALOG_ERROR_FAILED
@ GTK_DIALOG_ERROR_CANCELLED
GDK_AVAILABLE_IN_4_10 GQuark gtk_dialog_error_quark(void)