Table.attachDefaults

Warning gtk_table_attach_defaults has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_grid_attach() with GtkGrid. Note that the attach arguments differ between those two functions. 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.

class Table
void
attachDefaults

Parameters

widget Widget

The child widget to add.

leftAttach uint

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

rightAttach uint

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

topAttach uint

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

bottomAttach uint

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

Meta