[gtk/wip/baedert/transforms6: 30/31] Add size_allocate_transformed to the docs



commit 8b553e1c86e09c830a6c551b6aef6d0bed609877
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 a8a26eb926..a2adc19ad9 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -4414,6 +4414,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 4a57ca7ff1..609b549fd0 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -4136,6 +4136,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]