64ffb88849
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
65 lines
1.8 KiB
C++
65 lines
1.8 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/gtk/dataview.h
|
|
// Purpose: wxDataViewCtrl GTK+2 implementation header
|
|
// Author: Robert Roebling
|
|
// Id: $Id$
|
|
// Copyright: (c) 1998 Robert Roebling
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __GTKDATAVIEWCTRLH__
|
|
#define __GTKDATAVIEWCTRLH__
|
|
|
|
#include "wx/defs.h"
|
|
#include "wx/object.h"
|
|
#include "wx/list.h"
|
|
#include "wx/control.h"
|
|
|
|
// ---------------------------------------------------------
|
|
// classes
|
|
// ---------------------------------------------------------
|
|
|
|
class WXDLLIMPEXP_CORE wxDataViewCtrl;
|
|
|
|
// ---------------------------------------------------------
|
|
// wxDataViewCtrl
|
|
// ---------------------------------------------------------
|
|
|
|
class WXDLLIMPEXP_CORE wxDataViewCtrl: public wxDataViewCtrlBase
|
|
{
|
|
public:
|
|
wxDataViewCtrl()
|
|
{
|
|
Init();
|
|
}
|
|
|
|
wxDataViewCtrl( wxWindow *parent, wxWindowID id,
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
const wxSize& size = wxDefaultSize, long style = 0,
|
|
const wxValidator& validator = wxDefaultValidator )
|
|
{
|
|
Create(parent, id, pos, size, style, validator );
|
|
}
|
|
|
|
virtual ~wxDataViewCtrl();
|
|
|
|
void Init();
|
|
|
|
bool Create(wxWindow *parent, wxWindowID id,
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
const wxSize& size = wxDefaultSize, long style = 0,
|
|
const wxValidator& validator = wxDefaultValidator );
|
|
|
|
virtual bool AppendStringColumn( const wxString &label );
|
|
|
|
virtual bool AssociateModel( wxDataViewModel *model );
|
|
|
|
|
|
private:
|
|
DECLARE_DYNAMIC_CLASS(wxDataViewCtrl)
|
|
DECLARE_NO_COPY_CLASS(wxDataViewCtrl)
|
|
};
|
|
|
|
|
|
#endif // __GTKDATAVIEWCTRLH__
|