1 | /* GTK - The GIMP Toolkit |
2 | * Copyright (C) 2000 Red Hat, Inc. |
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 | #ifndef __GTK_SETTINGS_PRIVATE_H__ |
19 | #define __GTK_SETTINGS_PRIVATE_H__ |
20 | |
21 | #include <gtk/gtksettings.h> |
22 | #include "gtkstylecascadeprivate.h" |
23 | |
24 | G_BEGIN_DECLS |
25 | |
26 | #define DEFAULT_THEME_NAME "Default" |
27 | #define DEFAULT_ICON_THEME "Adwaita" |
28 | |
29 | const cairo_font_options_t * |
30 | gtk_settings_get_font_options (GtkSettings *settings); |
31 | GdkDisplay *_gtk_settings_get_display (GtkSettings *settings); |
32 | GtkStyleCascade *_gtk_settings_get_style_cascade (GtkSettings *settings, |
33 | int scale); |
34 | |
35 | typedef enum |
36 | { |
37 | GTK_SETTINGS_SOURCE_DEFAULT, |
38 | GTK_SETTINGS_SOURCE_THEME, |
39 | GTK_SETTINGS_SOURCE_XSETTING, |
40 | GTK_SETTINGS_SOURCE_APPLICATION |
41 | } GtkSettingsSource; |
42 | |
43 | GtkSettingsSource _gtk_settings_get_setting_source (GtkSettings *settings, |
44 | const char *name); |
45 | |
46 | gboolean gtk_settings_get_enable_animations (GtkSettings *settings); |
47 | int gtk_settings_get_dnd_drag_threshold (GtkSettings *settings); |
48 | const char *gtk_settings_get_font_family (GtkSettings *settings); |
49 | int gtk_settings_get_font_size (GtkSettings *settings); |
50 | gboolean gtk_settings_get_font_size_is_absolute (GtkSettings *settings); |
51 | |
52 | G_END_DECLS |
53 | |
54 | #endif /* __GTK_SETTINGS_PRIVATE_H__ */ |
55 | |