[gtk/wip/baedert/transforms6: 146/155] Add size_allocate_transformed to the docs



commit 9ec42aa2e7bf75284f29b475de13e409de4af5b5
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 ae7361936a..f5bc596702 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -4413,6 +4413,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 c060d40a02..553c92f6c8 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -4147,6 +4147,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]