This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
OpenSQLManager/sys/widgets/data_grid.php
Timothy Warren 0f02d9a423 Some tab tests
Renamed Constants to have a consistent prefix
2012-11-27 13:31:55 -05:00

47 lines
865 B
PHP

<?php
/**
* OpenSQLManager
*
* Free Database manager for Open Source Databases
*
* @package OpenSQLManager
* @author Timothy J. Warren
* @copyright Copyright (c) 2012
* @link https://github.com/aviat4ion/OpenSQLManager
* @license https://timshomepage.net/dbaj.txt
*/
// --------------------------------------------------------------------------
namespace OpenSQLManager;
/**
* Class to simplify dealing with GtkTreeView
*
* @package OpenSQLManager
* @subpackage Widgets
*/
class Data_Grid extends \wxGrid {
/**
* Create the object
*
* @param object
*/
public function __construct($parent = NULL)
{
if ( ! is_null($parent))
{
parent::__construct($parent, wxID_ANY);
$this->CreateGrid(10,10);
$this->HideColLabels();
$this->HideRowLabels();
}
else
{
parent::__construct();
}
}
}
// End of data_grid.php