]> Pileus Git - ~andy/gtk/blob - gtk/gtksettingsprivate.h
0b68bf3b191556da46e0a650cbb0f8a225fb646e
[~andy/gtk] / gtk / gtksettingsprivate.h
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, write to the Free
16  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17  */
18
19 #ifndef __GTK_SETTINGS_PRIVATE_H__
20 #define __GTK_SETTINGS_PRIVATE_H__
21
22 #include <gtk/gtksettings.h>
23
24 G_BEGIN_DECLS
25
26
27 void                _gtk_settings_set_property_value_from_rc (GtkSettings            *settings,
28                                                               const gchar            *name,
29                                                               const GtkSettingsValue *svalue);
30 void                _gtk_settings_reset_rc_values            (GtkSettings            *settings);
31
32 void                _gtk_settings_handle_event               (GdkEventSetting        *event);
33 GtkRcPropertyParser _gtk_rc_property_parser_from_type        (GType                   type);
34 gboolean            _gtk_settings_parse_convert              (GtkRcPropertyParser     parser,
35                                                               const GValue           *src_value,
36                                                               GParamSpec             *pspec,
37                                                               GValue                 *dest_value);
38 GdkScreen          *_gtk_settings_get_screen                 (GtkSettings            *settings);
39
40
41 G_END_DECLS
42
43 #endif /* __GTK_SETTINGS_PRIVATE_H__ */