Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / ext / docview / XS / View.xs
1 #############################################################################
2 ## Name:        ext/docview/XS/View.xs
3 ## Purpose:     XS for wxView (Document/View Framework)
4 ## Author:      Simon Flack
5 ## Modified by:
6 ## Created:     11/09/2002
7 ## RCS-ID:      $Id: View.xs 2285 2007-11-11 21:31:54Z mbarbon $
8 ## Copyright:   (c) 2002-2004, 2007 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 MODULE=Wx PACKAGE=Wx::View
14
15 wxView*
16 wxView::new()
17   CODE:
18     RETVAL=new wxPliView( CLASS );
19   OUTPUT:
20     RETVAL
21
22 void
23 wxView::Activate( activate )
24     bool activate
25
26 bool
27 wxView::Close( deleteWindow = 1 )
28     bool deleteWindow
29
30 wxDocument *
31 wxView::GetDocument()
32
33 wxDocManager *
34 wxView::GetDocumentManager()
35
36 wxWindow * 
37 wxView::GetFrame()
38
39 void
40 wxView::SetFrame( frame )
41     wxWindow* frame
42
43 wxString
44 wxView::GetViewName()
45
46 void
47 wxView::OnActivateView( activate = 0, activeView, deactiveView )
48     bool activate
49     wxView* activeView
50     wxView* deactiveView
51
52 void
53 wxView::OnChangeFilename()
54
55 bool
56 wxView::OnClose( deleteWindow = 0 )
57     bool deleteWindow
58
59 bool
60 wxView::OnCreate( doc, flags = 0 )
61     wxDocument* doc
62     long flags
63
64 #if wxPERL_USE_PRINTING_ARCHITECTURE
65
66 wxPrintout*
67 wxView::OnCreatePrintout()
68
69 #endif
70
71 void
72 wxView::OnUpdate( sender, hint = NULL )
73     wxView* sender
74     wxObject* hint
75
76 void
77 wxView::SetDocument( doc )
78     wxDocument* doc
79
80 void
81 wxView::SetViewName( name )
82     wxString name
83
84 #!sub OnDraw
85 #!sub OnClosingDocument