2011-01-23 23:29:07 +00:00
|
|
|
/* GTK - The GIMP Toolkit
|
|
|
|
* Copyright (C) 2010 Carlos Garnacho <carlosg@gnome.org>
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2012-02-27 13:01:10 +00:00
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
2011-01-23 23:29:07 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GTK_STYLE_CONTEXT_PRIVATE_H__
|
|
|
|
#define __GTK_STYLE_CONTEXT_PRIVATE_H__
|
|
|
|
|
|
|
|
#include "gtkstylecontext.h"
|
2014-05-10 19:50:37 +00:00
|
|
|
|
2015-01-30 10:42:22 +00:00
|
|
|
#include "gtkcssnodeprivate.h"
|
2012-09-10 10:35:46 +00:00
|
|
|
#include "gtkstyleproviderprivate.h"
|
2012-03-06 13:16:32 +00:00
|
|
|
#include "gtkcssvalueprivate.h"
|
2011-01-23 23:29:07 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2015-02-08 15:37:08 +00:00
|
|
|
GtkStyleContext *gtk_style_context_new_for_node (GtkCssNode *node);
|
|
|
|
|
2015-12-09 17:25:36 +00:00
|
|
|
GtkCssNode *gtk_style_context_get_node (GtkStyleContext *context);
|
2017-10-31 03:31:46 +00:00
|
|
|
GtkStyleProvider *
|
2015-01-31 15:30:05 +00:00
|
|
|
gtk_style_context_get_style_provider (GtkStyleContext *context);
|
2015-01-19 23:33:34 +00:00
|
|
|
|
2015-02-16 15:37:33 +00:00
|
|
|
void gtk_style_context_save_to_node (GtkStyleContext *context,
|
|
|
|
GtkCssNode *node);
|
2015-09-05 04:58:17 +00:00
|
|
|
|
2015-01-17 01:38:43 +00:00
|
|
|
GtkCssStyle * gtk_style_context_lookup_style (GtkStyleContext *context);
|
2012-03-18 22:02:33 +00:00
|
|
|
GtkCssValue * _gtk_style_context_peek_property (GtkStyleContext *context,
|
2012-03-31 03:42:28 +00:00
|
|
|
guint property_id);
|
2012-08-27 15:27:06 +00:00
|
|
|
void _gtk_style_context_get_cursor_color (GtkStyleContext *context,
|
|
|
|
GdkRGBA *primary_color,
|
|
|
|
GdkRGBA *secondary_color);
|
|
|
|
|
2011-01-23 23:29:07 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GTK_STYLE_CONTEXT_PRIVATE_H__ */
|