Documentation fixes

Make sure all types show up in the docs,
and misc other improvements.
This commit is contained in:
Matthias Clasen 2019-07-01 03:17:58 +00:00
parent 670fc5bb94
commit 658397fad0
4 changed files with 15 additions and 6 deletions

View File

@ -7296,12 +7296,15 @@ GtkConstraintTarget
gtk_constraint_new
gtk_constraint_new_constant
gtk_constraint_get_target
GtkConstraintAttribute
gtk_constraint_get_target_attribute
GtkConstraintRelation
gtk_constraint_get_relation
gtk_constraint_get_source
gtk_constraint_get_source_attribute
gtk_constraint_get_multiplier
gtk_constraint_get_constant
GtkConstraintStrength
gtk_constraint_get_strength
gtk_constraint_is_required
gtk_constraint_is_attached

View File

@ -49,6 +49,10 @@ gtk_color_chooser_dialog_get_type
gtk_color_chooser_widget_get_type
gtk_combo_box_get_type
gtk_combo_box_text_get_type
gtk_constraint_get_type
gtk_constraint_guide_get_type
gtk_constraint_layout_get_type
gtk_constraint_target_get_type
gtk_container_get_type
gtk_css_provider_get_type
gtk_dialog_get_type

View File

@ -22,9 +22,10 @@
* @Title: GtkConstraintGuide
* @Short_description: An invisible constraint target
*
* #GtkConstraintGuide is an invisible layout element that can be used by
* widgets inside a #GtkConstraintLayout as a source or a target of a
* #GtkConstraint.
* A #GtkConstraintGuide is an invisible layout element that can be
* used by widgets inside a #GtkConstraintLayout as a source or a target
* of a #GtkConstraint. Guides can be used like guidelines or as
* flexible space.
*
* Unlike a #GtkWidget, a #GtkConstraintGuide will not be drawn.
*/

View File

@ -1097,6 +1097,7 @@ gtk_constraint_layout_new (void)
* widget using @layout
* - set to the #GtkWidget using @layout
* - set to a child of the #GtkWidget using @layout
* - set to a guide that is part of @layout
*
* The @layout acquires the ownership of @constraint after calling
* this function.
@ -1252,12 +1253,12 @@ gtk_constraint_vfl_parser_error_quark (void)
* @n_lines: the number of lines
* @hspacing: default horizontal spacing value, or -1 for the fallback value
* @vspacing: default vertical spacing value, or -1 for the fallback value
* @views: (element-type utf8 Gtk.Widget): a dictionary of [ name, widget ]
* @views: (element-type utf8 Gtk.ConstraintTarget): a dictionary of [ name, target ]
* pairs; the `name` keys map to the view names in the VFL lines, while
* the `widget` values map to children of the widget using a #GtkConstraintLayout
* the `target` values map to children of the widget using a #GtkConstraintLayout, or guides
* @error: return location for a #GError
*
* Creates a list of constraints they formal description using a compact
* Creates a list of constraints from a formal description using a compact
* description syntax called VFL, or "Visual Format Language".
*
* The Visual Format Language is based on Apple's AutoLayout [VFL](https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/AutolayoutPG/VisualFormatLanguage.html).