if (screen)
gtk_style_context_set_screen (context, screen);
+
gtk_style_context_set_path (context, path);
style = g_object_new (GTK_TYPE_STYLE,
return style;
}
+/**
+ * gtk_style_has_context:
+ * @style: a #GtkStyle
+ *
+ * Returns whether @style has an associated #GtkStyleContext.
+ *
+ * Returns: %TRUE if @style has a #GtkStyleContext
+ *
+ * Since: 3.0
+ */
gboolean
gtk_style_has_context (GtkStyle *style)
{