Debian Codegraph @

gtksourceview/gtksourcestylescheme.h

raw symbols SCIP
1 /*
2 * This file is part of GtkSourceView
3 *
4 * Copyright 2003 - Paolo Maggi <[email protected]>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this library; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #pragma once
21
22 #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
23 #error "Only <gtksourceview/gtksource.h> can be included directly."
24 #endif
25
26 #include <gtk/gtk.h>
27
28 #include "gtksourcetypes.h"
29
30 G_BEGIN_DECLS
31
32 #define GTK_SOURCE_TYPE_STYLE_SCHEME (gtk_source_style_scheme_get_type())
33
34 GTK_SOURCE_AVAILABLE_IN_ALL
35 G_DECLARE_FINAL_TYPE (GtkSourceStyleScheme, gtk_source_style_scheme, GTK_SOURCE, STYLE_SCHEME, GObject)
36
37 GTK_SOURCE_AVAILABLE_IN_ALL
38 const gchar *gtk_source_style_scheme_get_id (GtkSourceStyleScheme *scheme);
39 GTK_SOURCE_AVAILABLE_IN_ALL
40 const gchar *gtk_source_style_scheme_get_name (GtkSourceStyleScheme *scheme);
41 GTK_SOURCE_AVAILABLE_IN_ALL
42 const gchar *gtk_source_style_scheme_get_description (GtkSourceStyleScheme *scheme);
43 GTK_SOURCE_AVAILABLE_IN_ALL
44 const gchar * const *gtk_source_style_scheme_get_authors (GtkSourceStyleScheme *scheme);
45 GTK_SOURCE_AVAILABLE_IN_ALL
46 const gchar *gtk_source_style_scheme_get_filename (GtkSourceStyleScheme *scheme);
47 GTK_SOURCE_AVAILABLE_IN_ALL
48 GtkSourceStyle *gtk_source_style_scheme_get_style (GtkSourceStyleScheme *scheme,
49 const gchar *style_id);
50 GTK_SOURCE_AVAILABLE_IN_5_4
51 const char *gtk_source_style_scheme_get_metadata (GtkSourceStyleScheme *scheme,
52 const char *name);
53
54 G_END_DECLS