forked from AuroraMiddleware/gtk
docs: GtkAspectFrame is not a GtkFrame any more
This commit is contained in:
parent
ff34124394
commit
58bb998ef0
@ -32,17 +32,16 @@
|
||||
* @Short_description: A frame that constrains its child to a particular aspect ratio
|
||||
* @Title: GtkAspectFrame
|
||||
*
|
||||
* The #GtkAspectFrame is useful when you want
|
||||
* pack a widget so that it can resize but always retains
|
||||
* the same aspect ratio. For instance, one might be
|
||||
* drawing a small preview of a larger image. #GtkAspectFrame
|
||||
* derives from #GtkFrame, so it can draw a label and
|
||||
* a frame around the child. The frame will be
|
||||
* “shrink-wrapped” to the size of the child.
|
||||
* GtkAspectFrame is useful when you want pack a widget so that it can resize
|
||||
* while retaining the same aspect ratio. For instance, one might be drawing a
|
||||
* small preview of a larger image.
|
||||
*
|
||||
* The frame can respect the aspect ratio of the child widget, or use its own
|
||||
* aspect ratio.
|
||||
*
|
||||
* # CSS nodes
|
||||
*
|
||||
* GtkAspectFrame uses a CSS node with name frame.
|
||||
* GtkAspectFrame uses a CSS node with name `frame`.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
Loading…
Reference in New Issue
Block a user