styleprovider: Convert docs

This commit is contained in:
Matthias Clasen 2021-02-28 13:12:59 -05:00 committed by Emmanuele Bassi
parent b66c74767f
commit 42aa2edf19
2 changed files with 12 additions and 8 deletions

View File

@ -23,13 +23,17 @@
#include "gtkprivate.h"
/**
* SECTION:gtkstyleprovider
* @Short_description: Interface to provide style information to GtkStyleContext
* @Title: GtkStyleProvider
* @See_also: #GtkStyleContext, #GtkCssProvider
* GtkStyleProvider:
*
* GtkStyleProvider is an interface used to provide style information to a #GtkStyleContext.
* See gtk_style_context_add_provider() and gtk_style_context_add_provider_for_display().
* `GtkStyleProvider` is an interface for style information used by
* `GtkStyleContext`.
*
* See [method@Gtk.StyleContext.add_provider] and
* [func@Gtk.StyleContext.add_provider_for_display] for
* adding `GtkStyleProviders`.
*
* GTK uses the `GtkStyleProvider` implementation for CSS in
* [iface@Gtk.CssProvider].
*/
enum {

View File

@ -57,7 +57,7 @@ G_BEGIN_DECLS
* GTK_STYLE_PROVIDER_PRIORITY_SETTINGS:
*
* The priority used for style information provided
* via #GtkSettings.
* via `GtkSettings`.
*
* This priority is higher than #GTK_STYLE_PROVIDER_PRIORITY_THEME
* to let settings override themes.
@ -67,7 +67,7 @@ G_BEGIN_DECLS
/**
* GTK_STYLE_PROVIDER_PRIORITY_APPLICATION:
*
* A priority that can be used when adding a #GtkStyleProvider
* A priority that can be used when adding a `GtkStyleProvider`
* for application-specific style information.
*/
#define GTK_STYLE_PROVIDER_PRIORITY_APPLICATION 600