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
27
G_BEGIN_DECLS
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
*/
52
typedef
enum
53
{
54
GTK_DIALOG_ERROR_FAILED
,
55
GTK_DIALOG_ERROR_CANCELLED
,
56
GTK_DIALOG_ERROR_DISMISSED
57
}
GtkDialogError
;
58
59
GDK_AVAILABLE_IN_4_10
60
GQuark
gtk_dialog_error_quark
(
void
);
61
62
G_END_DECLS
GDK_AVAILABLE_IN_4_10
#define GDK_AVAILABLE_IN_4_10
Definition
gdk-visibility.h:233
gdk.h
G_END_DECLS
#define G_END_DECLS
Definition
gmacros.h:910
G_BEGIN_DECLS
#define G_BEGIN_DECLS
Definition
gmacros.h:909
GQuark
G_BEGIN_DECLS typedef guint32 GQuark
Definition
gquark.h:38
GtkDialogError
GtkDialogError
Definition
gtkdialogerror.h:53
GTK_DIALOG_ERROR_DISMISSED
@ GTK_DIALOG_ERROR_DISMISSED
Definition
gtkdialogerror.h:56
GTK_DIALOG_ERROR_FAILED
@ GTK_DIALOG_ERROR_FAILED
Definition
gtkdialogerror.h:54
GTK_DIALOG_ERROR_CANCELLED
@ GTK_DIALOG_ERROR_CANCELLED
Definition
gtkdialogerror.h:55
gtk_dialog_error_quark
GDK_AVAILABLE_IN_4_10 GQuark gtk_dialog_error_quark(void)
nix
store
v9wbd5iwvxl666sf67ard7lvjamhggbk-gtk4-4.16.12-dev
include
gtk-4.0
gtk
gtkdialogerror.h
Generated by
1.10.0