attach_defaults


Description:

public void attach_defaults (Widget widget, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach)

As there are many options associated with attach, this convenience function provides the programmer with a means to add children to a table with identical padding and expansion options.

Note:

Use attach with Grid. Note that the attach arguments differ between those two functions.

The values used for the AttachOptions are `GTK_EXPAND | GTK_FILL`, and the padding is set to 0.

Parameters:

this

The table to add a new child widget to.

widget

The child widget to add.

left_attach

The column number to attach the left side of the child widget to.

right_attach

The column number to attach the right side of the child widget to.

top_attach

The row number to attach the top of the child widget to.

bottom_attach

The row number to attach the bottom of the child widget to.