[gtk/wip/baedert/transforms6: 47/61] Add size_allocate_transformed to the docs



commit 6fb4a3e276ee974da6b3a340a2cce459b67822c8
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 a7db2717a5..41c1e58f9e 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -4410,6 +4410,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 e67bd6685c..8895a90511 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -4154,6 +4154,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]