Github User Fetcher
1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkcssenums.h
Go to the documentation of this file.
1
/* GTK - The GIMP Toolkit
2
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
8
*
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
/*
19
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
20
* file for a list of people on the GTK+ Team. See the ChangeLog
21
* files for a list of changes. These files are distributed with
22
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
23
*/
24
25
#pragma once
26
27
#if !defined (__GTK_CSS_H_INSIDE__) && !defined (GTK_COMPILATION)
28
#error "Only <gtk/css/gtkcss.h> can be included directly."
29
#endif
30
31
#include <
glib.h
>
32
#include <
gdk/version/gdkversionmacros.h
>
33
34
/**
35
* GtkCssParserError:
36
* @GTK_CSS_PARSER_ERROR_FAILED: Unknown failure.
37
* @GTK_CSS_PARSER_ERROR_SYNTAX: The given text does not form valid syntax
38
* @GTK_CSS_PARSER_ERROR_IMPORT: Failed to import a resource
39
* @GTK_CSS_PARSER_ERROR_NAME: The given name has not been defined
40
* @GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE: The given value is not correct
41
*
42
* Errors that can occur while parsing CSS.
43
*
44
* These errors are unexpected and will cause parts of the given CSS
45
* to be ignored.
46
*/
47
typedef
enum
48
{
49
GTK_CSS_PARSER_ERROR_FAILED
,
50
GTK_CSS_PARSER_ERROR_SYNTAX
,
51
GTK_CSS_PARSER_ERROR_IMPORT
,
52
GTK_CSS_PARSER_ERROR_NAME
,
53
GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
54
}
GtkCssParserError
;
55
56
/**
57
* GtkCssParserWarning:
58
* @GTK_CSS_PARSER_WARNING_DEPRECATED: The given construct is
59
* deprecated and will be removed in a future version
60
* @GTK_CSS_PARSER_WARNING_SYNTAX: A syntax construct was used
61
* that should be avoided
62
* @GTK_CSS_PARSER_WARNING_UNIMPLEMENTED: A feature is not implemented
63
*
64
* Warnings that can occur while parsing CSS.
65
*
66
* Unlike `GtkCssParserError`s, warnings do not cause the parser to
67
* skip any input, but they indicate issues that should be fixed.
68
*/
69
typedef
enum
70
{
71
GTK_CSS_PARSER_WARNING_DEPRECATED
,
72
GTK_CSS_PARSER_WARNING_SYNTAX
,
73
GTK_CSS_PARSER_WARNING_UNIMPLEMENTED
74
}
GtkCssParserWarning
;
75
gdkversionmacros.h
glib.h
GtkCssParserWarning
GtkCssParserWarning
Definition
gtkcssenums.h:70
GTK_CSS_PARSER_WARNING_SYNTAX
@ GTK_CSS_PARSER_WARNING_SYNTAX
Definition
gtkcssenums.h:72
GTK_CSS_PARSER_WARNING_DEPRECATED
@ GTK_CSS_PARSER_WARNING_DEPRECATED
Definition
gtkcssenums.h:71
GTK_CSS_PARSER_WARNING_UNIMPLEMENTED
@ GTK_CSS_PARSER_WARNING_UNIMPLEMENTED
Definition
gtkcssenums.h:73
GtkCssParserError
GtkCssParserError
Definition
gtkcssenums.h:48
GTK_CSS_PARSER_ERROR_IMPORT
@ GTK_CSS_PARSER_ERROR_IMPORT
Definition
gtkcssenums.h:51
GTK_CSS_PARSER_ERROR_FAILED
@ GTK_CSS_PARSER_ERROR_FAILED
Definition
gtkcssenums.h:49
GTK_CSS_PARSER_ERROR_NAME
@ GTK_CSS_PARSER_ERROR_NAME
Definition
gtkcssenums.h:52
GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
@ GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
Definition
gtkcssenums.h:53
GTK_CSS_PARSER_ERROR_SYNTAX
@ GTK_CSS_PARSER_ERROR_SYNTAX
Definition
gtkcssenums.h:50
nix
store
v9wbd5iwvxl666sf67ard7lvjamhggbk-gtk4-4.16.12-dev
include
gtk-4.0
gtk
css
gtkcssenums.h
Generated by
1.10.0