using Gtk; Table table = new Table(2, 2, true); // 2 rows, 2 columns, homogeneous spacing // Add some widgets to the table Button button1 = new Button("Button 1"); table.Attach(button1, 0, 1, 0, 1, AttachOptions.Fill, AttachOptions.Fill, 0, 0); Button button2 = new Button("Button 2"); table.Attach(button2, 1, 2, 0, 1, AttachOptions.Fill, AttachOptions.Fill, 0, 0); Button button3 = new Button("Button 3"); table.Attach(button3, 0, 1, 1, 2, AttachOptions.Fill, AttachOptions.Fill, 0, 0); Button button4 = new Button("Button 4"); table.Attach(button4, 1, 2, 1, 2, AttachOptions.Fill, AttachOptions.Fill, 0, 0); // Add the table to a parent container Window window = new Window("Table Example"); window.Add(table); window.ShowAll();In this example, we create a Table with two rows and two columns, and then attach four Button widgets to the table in specific positions using the `Attach()` method. Finally, we add the Table to a Window and show it. The Gtk# library is used in this example to create the Table and other widgets.