[gtk/wip/baedert/transforms6: 33/52] Add size_allocate_transformed to the docs



commit cf0d69d90ee94ea3972e47c94e4fd8a883b174dd
Author: Timm Bäder <mail baedert org>
Date:   Sun Aug 19 09:37:43 2018 +0200

    Add size_allocate_transformed to the docs

 docs/reference/gtk/gtk4-sections.txt |  1 +
 gtk/gtkwidget.c                      | 12 ++++++++++++
 2 files changed, 13 insertions(+)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index fd93df5a50..d624ee29e1 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -4409,6 +4409,7 @@ GtkTickCallback
 gtk_widget_add_tick_callback
 gtk_widget_remove_tick_callback
 gtk_widget_size_allocate
+gtk_widget_size_allocate_transformed
 gtk_widget_add_accelerator
 gtk_widget_remove_accelerator
 gtk_widget_set_accel_path
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 6ee4af4234..07ae137b05 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -4177,6 +4177,18 @@ adjust_for_align (GtkAlign           align,
     }
 }
 
+/**
+ * gtk_widget_size_allocate_transformed:
+ * @widget: a #GtkWidget
+ * @width: the new width to assign to @widget
+ * @height: the new height to assign to @widget
+ * @baseline: the new baseline to assign to @widget
+ * @transform: the new transformation to assign to @widget
+ *
+ * Allocates the given size, baseline and transformation
+ * to @widget. The positinon of @widget is given as part
+ * of the transformation matrix.
+ */
 void
 gtk_widget_size_allocate_transformed (GtkWidget               *widget,
                                       int                      width,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]