summaryrefslogtreecommitdiff
path: root/gtk/gtkframe.c
diff options
context:
space:
mode:
authorDaniel Boles <dboles.src@gmail.com>2017-10-02 19:27:16 +0100
committerDaniel Boles <dboles.src@gmail.com>2017-10-02 19:50:02 +0100
commit252b03c43eb984df6df399e140ecd75195fb1fb4 (patch)
treef7a4a71084b1b546a7d8e94db7c12c9cf550ded9 /gtk/gtkframe.c
parent3bdc9d7b3a9cec491e30668b25061ff9d2d084e7 (diff)
downloadgtk+-252b03c43eb984df6df399e140ecd75195fb1fb4.tar.gz
Frame: Enhance CSS docs
Indicate how the old shadow types are replaced by CSS border-style et al., and quote the names of nodes and classes for easier readability.
Diffstat (limited to 'gtk/gtkframe.c')
-rw-r--r--gtk/gtkframe.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index 6f109ec479..cb8225d8ba 100644
--- a/gtk/gtkframe.c
+++ b/gtk/gtkframe.c
@@ -77,10 +77,14 @@
* ╰── <child>
* ]|
*
- * GtkFrame has a main CSS node with name frame. This node can be given the
- * style class .flat, which is used by themes to disable drawing of the border.
- * To do this from code, call gtk_frame_set_shadow_type() with %GTK_SHADOW_NONE
- * to add the .flat class or any other shadow type to remove it.
+ * GtkFrame has a main CSS node with name “frame”, which is used to draw the
+ * visible border. You can set the appearance of the border using CSS properties
+ * like “border-style” on this node.
+ *
+ * The node can be given the style class “.flat”, which is used by themes to
+ * disable drawing of the border. To do this from code, call
+ * gtk_frame_set_shadow_type() with %GTK_SHADOW_NONE to add the “.flat” class or
+ * any other shadow type to remove it.
*/
struct _GtkFramePrivate