[gtk/wip/baedert/transforms6: 21/27] Add size_allocate_transformed to the docs
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/transforms6: 21/27] Add size_allocate_transformed to the docs
- Date: Wed, 12 Dec 2018 08:04:21 +0000 (UTC)
commit 57899a57ff7936bebb83726b31b86ee8c4a3d552
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 2e24ff6f3d..c9777786e0 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 8218717711..bc2bf41e07 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -4150,6 +4150,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]