I have a piece of code that creates few widgets and places them in a grid (for example 3x2). When a particular event occurs, I want the grid to be redrawn, but this time the switching positions (thus creating a grid 2x3). For the sake of simplicity, I've created a sample code, where a button click does the swapping.I have a piece of code that creates few widgets