arguments differ between those two functions.
Table.attachDefaults
void attachDefaults(gtk.widget.Widget widget, uint leftAttach, uint rightAttach, uint topAttach, uint bottomAttach)As there are many options associated with [gtk.table.Table.attach], this convenience function provides the programmer with a means to add children to a table with identical padding and expansion options. The values used for the #GtkAttachOptions are GTK_EXPAND | GTK_FILL, and the padding is set to 0.
Parameters
widget | The child widget to add. |
leftAttach | The column number to attach the left side of the child widget to. |
rightAttach | The column number to attach the right side of the child widget to. |
topAttach | The row number to attach the top of the child widget to. |
bottomAttach | The row number to attach the bottom of the child widget to. |
Deprecated
Use [gtk.grid.Grid.attach] with #GtkGrid. Note that the attach