summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-08-02 14:13:14 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-08-02 17:58:03 -0400
commited13e6a41e07d424de326111e3d181430fc39f1e (patch)
tree07517c4e040f37d1a15395bcf056164d56c524a4 /docs
parent7fe7d5ab4ffa2d531ce2caa9ad780ef419b4d440 (diff)
downloadgtk+-ed13e6a41e07d424de326111e3d181430fc39f1e.tar.gz
grid layout: Rename some properties
Rename GtkGridLayoutChild:left-attach/top-attach to GtkGridLayoutChild:column/row. Update all users. Fixes: #2967
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gtk/getting_started.md28
-rw-r--r--docs/reference/gtk/gtk4-sections.txt8
2 files changed, 18 insertions, 18 deletions
diff --git a/docs/reference/gtk/getting_started.md b/docs/reference/gtk/getting_started.md
index d12d35ff30..9e4803dcb2 100644
--- a/docs/reference/gtk/getting_started.md
+++ b/docs/reference/gtk/getting_started.md
@@ -649,8 +649,8 @@ Create a new file with the following content named `builder.ui`.
<object id="button1" class="GtkButton">
<property name="label">Button 1</property>
<layout>
- <property name="left-attach">0</property>
- <property name="top-attach">0</property>
+ <property name="column">0</property>
+ <property name="row">0</property>
</layout>
</object>
</child>
@@ -658,8 +658,8 @@ Create a new file with the following content named `builder.ui`.
<object id="button2" class="GtkButton">
<property name="label">Button 2</property>
<layout>
- <property name="left-attach">1</property>
- <property name="top-attach">0</property>
+ <property name="column">1</property>
+ <property name="row">0</property>
</layout>
</object>
</child>
@@ -667,8 +667,8 @@ Create a new file with the following content named `builder.ui`.
<object id="quit" class="GtkButton">
<property name="label">Quit</property>
<layout>
- <property name="left-attach">0</property>
- <property name="top-attach">1</property>
+ <property name="column">0</property>
+ <property name="row">1</property>
<property name="column-span">2</property>
</layout>
</object>
@@ -1266,16 +1266,16 @@ Lets start with the template.
<property name="mnemonic-widget">font</property>
<property name="xalign">1</property>
<layout>
- <property name="left-attach">0</property>
- <property name="top-attach">0</property>
+ <property name="column">0</property>
+ <property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkFontButton" id="font">
<layout>
- <property name="left-attach">1</property>
- <property name="top-attach">0</property>
+ <property name="column">1</property>
+ <property name="row">0</property>
</layout>
</object>
</child>
@@ -1286,8 +1286,8 @@ Lets start with the template.
<property name="mnemonic-widget">transition</property>
<property name="xalign">1</property>
<layout>
- <property name="left-attach">0</property>
- <property name="top-attach">1</property>
+ <property name="column">0</property>
+ <property name="row">1</property>
</layout>
</object>
</child>
@@ -1299,8 +1299,8 @@ Lets start with the template.
<item translatable="yes" id="slide-left-right">Slide</item>
</items>
<layout>
- <property name="left-attach">1</property>
- <property name="top-attach">1</property>
+ <property name="column">1</property>
+ <property name="row">1</property>
</layout>
</object>
</child>
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index cb4fced509..c6ef42f3e8 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -7247,10 +7247,10 @@ gtk_grid_layout_get_baseline_row
<SUBSECTION>
GtkGridLayoutChild
-gtk_grid_layout_child_set_top_attach
-gtk_grid_layout_child_get_top_attach
-gtk_grid_layout_child_set_left_attach
-gtk_grid_layout_child_get_left_attach
+gtk_grid_layout_child_set_column
+gtk_grid_layout_child_get_column
+gtk_grid_layout_child_set_row
+gtk_grid_layout_child_get_row
gtk_grid_layout_child_set_column_span
gtk_grid_layout_child_get_column_span
gtk_grid_layout_child_set_row_span