GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 1d80453e authored by Daniel Boles's avatar Daniel Boles

Frame: Enhance CSS docs

Note optional .flat class and that the old shadow types are replaced by
CSS border-style et al.; quote names of nodes & classes for readability.
parent 364559b7
......@@ -74,17 +74,18 @@
*
* |[<!-- language="plain" -->
* frame
* ├── border
* ├── border[.flat]
* ├── <label widget>
* ╰── <child>
* ]|
*
* GtkFrame has a main CSS node with name frame and a subnode with
* name border. The border node is used to render the visible border.
* GtkFrame has a main CSS node named “frame” and a subnode named “border”. The
* “border” node is used to draw the visible border. You can set the appearance
* of the border using CSS properties like “border-style” on the “border” node.
*
* The border node can be given the style class .flat, which is used by themes
* The border 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
* gtk_frame_set_shadow_type() with %GTK_SHADOW_NONE to add the “.flat” class or
* any other shadow type to remove it.
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment