the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Removes all children and resizes the table to 1,1
Attach a new widget creating a new row if necessary
Warning gtk_table_resize has been deprecated since version 3.4 and should not be used in newly-written code. GtkGrid resizes automatically. If you need to change a table's size after it has been created, this function allows you to do so.
Warning gtk_table_get_size has been deprecated since version 3.4 and should not be used in newly-written code. GtkGrid does not expose the number of columns and rows. Gets the number of rows and columns in the table. Since 2.22
Warning gtk_table_attach 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. Adds a widget to a table. The number of 'cells' that a widget will occupy is specified by left_attach, right_attach, top_attach and bottom_attach. These each represent the leftmost, rightmost, uppermost and lowest column and row numbers of the table. (Columns and rows are indexed from zero). To make a button occupy the lower right cell of a 2x2 table, use If you want to make the button span the entire bottom row, use left_attach == 0 and right_attach = 2 instead.
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.
Warning gtk_table_set_row_spacing has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_widget_set_margin_top() and gtk_widget_set_margin_bottom() on the widgets contained in the row if you need this functionality. GtkGrid does not support per-row spacing. Changes the space between a given table row and the subsequent row.
Warning gtk_table_set_col_spacing has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_widget_set_margin_left() and gtk_widget_set_margin_right() on the widgets contained in the row if you need this functionality. GtkGrid does not support per-row spacing. Alters the amount of space between a given table column and the following column.
Warning gtk_table_set_row_spacings has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_grid_set_row_spacing() with GtkGrid. Sets the space between every row in table equal to spacing.
Warning gtk_table_set_col_spacings has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_grid_set_column_spacing() with GtkGrid. Sets the space between every column in table equal to spacing.
Warning gtk_table_set_homogeneous has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_grid_set_row_homogeneous() and gtk_grid_set_column_homogeneous() with GtkGrid. Changes the homogenous property of table cells, ie. whether all cells are an equal size or not.
Warning gtk_table_get_default_row_spacing has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_grid_get_row_spacing() with GtkGrid. Gets the default row spacing for the table. This is the spacing that will be used for newly added rows. (See gtk_table_set_row_spacings())
Warning gtk_table_get_homogeneous has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_grid_get_row_homogeneous() and gtk_grid_get_column_homogeneous() with GtkGrid. Returns whether the table cells are all constrained to the same width and height. (See gtk_table_set_homogenous())
Warning gtk_table_get_row_spacing has been deprecated since version 3.4 and should not be used in newly-written code. GtkGrid does not offer a replacement for this functionality. Gets the amount of space between row row, and row row + 1. See gtk_table_set_row_spacing().
Warning gtk_table_get_col_spacing has been deprecated since version 3.4 and should not be used in newly-written code. GtkGrid does not offer a replacement for this functionality. Gets the amount of space between column col, and column col + 1. See gtk_table_set_col_spacing().
Warning gtk_table_get_default_col_spacing has been deprecated since version 3.4 and should not be used in newly-written code. Use gtk_grid_get_column_spacing() with GtkGrid. Gets the default column spacing for the table. This is the spacing that will be used for newly added columns. (See gtk_table_set_col_spacings())
This tests the gtkD scales and scrollbar widgets