class My_Module_Block_Adminhtml_Order extends Mage_Adminhtml_Block_Widget_Grid_Container { public function _construct() { $this->_blockGroup = 'my_module'; $this->_controller = 'adminhtml_order'; $this->_headerText = $this->__('Manage Orders'); parent::_construct(); // Call parent constructor $this->_removeButton('add'); // Remove the default "Add" button } // Define grid class protected function _prepareLayout() { $this->setChild('grid', $this->getLayout()->createBlock('my_module/adminhtml_order_grid', 'order.grid')); } // Add custom buttons protected function _addCustomButton() { $this->_addButton('export_orders', array( 'label' => $this->__('Export Orders'), 'onclick' => 'setLocation(\'' . $this->getUrl('*/*/export') . '\')', 'class' => 'export', )); } }In this example, we are creating a custom grid container for managing orders in the module "My_Module". We are using the _construct method to set up the block group, controller, and header text. We are also removing the default "add" button using the _removeButton method. In the _prepareLayout method, we are defining the grid class that the container will use. In the _addCustomButton method, we are adding a custom button for exporting orders. Overall, this method belongs to the Mage_Adminhtml_Block_Widget_Grid_Container class, which is part of the Magento core library for creating grids in the admin panel.