forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
3bdc9d7b3a
commit
252b03c43e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user