Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / ext / dataview / XS / DataViewEvent.xsp
1 #############################################################################
2 ## Name:        ext/dataview/XS/DataViewEvent.xsp
3 ## Purpose:     XS++ for Wx::DataViewEvent
4 ## Author:      Mattia Barbon
5 ## Modified by:
6 ## Created:     25/11/2007
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 #############################################################################
12
13 #if wxUSE_DATAVIEWCTRL
14
15 #include <wx/dataview.h>
16
17 %module{Wx};
18
19 %name{Wx::DataViewEvent} class wxDataViewEvent {
20     wxDataViewEvent( wxEventType type, wxWindowID id );
21
22     wxDataViewItem& GetItem() const;
23     void SetItem( const wxDataViewItem& item );
24
25     int GetColumn() const;
26     void SetColumn( int col );
27
28     wxDataViewModel* GetModel() const;
29     void SetModel( wxDataViewModel *model );
30
31     const wxVariant &GetValue() const;
32     void SetValue( const wxVariant &value );
33
34     void SetDataViewColumn( wxDataViewColumn* col );
35     wxDataViewColumnDisown* GetDataViewColumn() const;
36     
37     ## wxPoint GetPosition() const;
38     void SetPosition( int x, int y );
39 };
40
41 #endif