summaryrefslogtreecommitdiff
path: root/gtk/gtkthemingengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkthemingengine.h')
-rw-r--r--gtk/gtkthemingengine.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/gtk/gtkthemingengine.h b/gtk/gtkthemingengine.h
index be458bbb76..a3c48f2e16 100644
--- a/gtk/gtkthemingengine.h
+++ b/gtk/gtkthemingengine.h
@@ -179,6 +179,7 @@ struct _GtkThemingEngineClass
gpointer padding[15];
};
+GDK_AVAILABLE_IN_ALL
GType gtk_theming_engine_get_type (void) G_GNUC_CONST;
/* function implemented in gtkcsscustomproperty.c */
@@ -187,37 +188,48 @@ void gtk_theming_engine_register_property (const gchar *name_space,
GtkStylePropertyParser parse_func,
GParamSpec *pspec);
+GDK_AVAILABLE_IN_ALL
void gtk_theming_engine_get_property (GtkThemingEngine *engine,
const gchar *property,
GtkStateFlags state,
GValue *value);
+GDK_AVAILABLE_IN_ALL
void gtk_theming_engine_get_valist (GtkThemingEngine *engine,
GtkStateFlags state,
va_list args);
+GDK_AVAILABLE_IN_ALL
void gtk_theming_engine_get (GtkThemingEngine *engine,
GtkStateFlags state,
...) G_GNUC_NULL_TERMINATED;
+GDK_AVAILABLE_IN_ALL
void gtk_theming_engine_get_style_property (GtkThemingEngine *engine,
const gchar *property_name,
GValue *value);
+GDK_AVAILABLE_IN_ALL
void gtk_theming_engine_get_style_valist (GtkThemingEngine *engine,
va_list args);
+GDK_AVAILABLE_IN_ALL
void gtk_theming_engine_get_style (GtkThemingEngine *engine,
...);
+GDK_AVAILABLE_IN_ALL
gboolean gtk_theming_engine_lookup_color (GtkThemingEngine *engine,
const gchar *color_name,
GdkRGBA *color);
+GDK_AVAILABLE_IN_ALL
const GtkWidgetPath * gtk_theming_engine_get_path (GtkThemingEngine *engine);
+GDK_AVAILABLE_IN_ALL
gboolean gtk_theming_engine_has_class (GtkThemingEngine *engine,
const gchar *style_class);
+GDK_AVAILABLE_IN_ALL
gboolean gtk_theming_engine_has_region (GtkThemingEngine *engine,
const gchar *style_region,
GtkRegionFlags *flags);
+GDK_AVAILABLE_IN_ALL
GtkStateFlags gtk_theming_engine_get_state (GtkThemingEngine *engine);
GDK_DEPRECATED_IN_3_6
gboolean gtk_theming_engine_state_is_running (GtkThemingEngine *engine,
@@ -227,25 +239,32 @@ gboolean gtk_theming_engine_state_is_running (GtkThemingEngine *engine,
GDK_DEPRECATED_IN_3_8_FOR(gtk_theming_engine_get_state)
GtkTextDirection gtk_theming_engine_get_direction (GtkThemingEngine *engine);
+GDK_AVAILABLE_IN_ALL
GtkJunctionSides gtk_theming_engine_get_junction_sides (GtkThemingEngine *engine);
/* Helper functions */
+GDK_AVAILABLE_IN_ALL
void gtk_theming_engine_get_color (GtkThemingEngine *engine,
GtkStateFlags state,
GdkRGBA *color);
+GDK_AVAILABLE_IN_ALL
void gtk_theming_engine_get_background_color (GtkThemingEngine *engine,
GtkStateFlags state,
GdkRGBA *color);
+GDK_AVAILABLE_IN_ALL
void gtk_theming_engine_get_border_color (GtkThemingEngine *engine,
GtkStateFlags state,
GdkRGBA *color);
+GDK_AVAILABLE_IN_ALL
void gtk_theming_engine_get_border (GtkThemingEngine *engine,
GtkStateFlags state,
GtkBorder *border);
+GDK_AVAILABLE_IN_ALL
void gtk_theming_engine_get_padding (GtkThemingEngine *engine,
GtkStateFlags state,
GtkBorder *padding);
+GDK_AVAILABLE_IN_ALL
void gtk_theming_engine_get_margin (GtkThemingEngine *engine,
GtkStateFlags state,
GtkBorder *margin);
@@ -254,8 +273,10 @@ GDK_DEPRECATED_IN_3_8_FOR(gtk_theming_engine_get)
const PangoFontDescription * gtk_theming_engine_get_font (GtkThemingEngine *engine,
GtkStateFlags state);
+GDK_AVAILABLE_IN_ALL
GtkThemingEngine * gtk_theming_engine_load (const gchar *name);
+GDK_AVAILABLE_IN_ALL
GdkScreen * gtk_theming_engine_get_screen (GtkThemingEngine *engine);
G_END_DECLS