Method

GtkTableattach_defaults

deprecated: 3.4 

Declaration [src]

void
gtk_table_attach_defaults (
  GtkTable* table,
  GtkWidget* widget,
  guint left_attach,
  guint right_attach,
  guint top_attach,
  guint bottom_attach
)

Description [src]

As there are many options associated with gtk_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.

Deprecated since: 3.4

Use gtk_grid_attach() with GtkGrid. Note that the attach arguments differ between those two functions.

Parameters

widget

Type: GtkWidget

The child widget to add.

The data is owned by the caller of the method.
left_attach

Type: guint

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

right_attach

Type: guint

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

top_attach

Type: guint

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

bottom_attach

Type: guint

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