1 #############################################################################
2 ## Name: ext/dataview/XS/DataViewEvent.xsp
3 ## Purpose: XS++ for Wx::DataViewEvent
4 ## Author: Mattia Barbon
7 ## RCS-ID: $Id: DataViewEvent.xsp 2314 2008-01-18 21:44:32Z mbarbon $
8 ## Copyright: (c) 2007-2008 Mattia Barbon
9 ## Licence: This program is free software; you can redistribute it and/or
10 ## modify it under the same terms as Perl itself
11 #############################################################################
13 #if wxUSE_DATAVIEWCTRL
15 #include <wx/dataview.h>
19 %name{Wx::DataViewEvent} class wxDataViewEvent {
20 wxDataViewEvent( wxEventType type, wxWindowID id );
22 wxDataViewItem& GetItem() const;
23 void SetItem( const wxDataViewItem& item );
25 int GetColumn() const;
26 void SetColumn( int col );
28 wxDataViewModel* GetModel() const;
29 void SetModel( wxDataViewModel *model );
31 const wxVariant &GetValue() const;
32 void SetValue( const wxVariant &value );
34 void SetDataViewColumn( wxDataViewColumn* col );
35 wxDataViewColumnDisown* GetDataViewColumn() const;
37 ## wxPoint GetPosition() const;
38 void SetPosition( int x, int y );