1
#############################################################################
2
## Name: ext/html/XS/HtmlWindow.xs
3
## Purpose: XS for Wx::HtmlWindow
4
## Author: Mattia Barbon
7
## RCS-ID: $Id: HtmlWindow.xs 2057 2007-06-18 23:03:00Z mbarbon $
8
## Copyright: (c) 2001-2006 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
#############################################################################
15
%typemap{wxMouseEvent&}{reference};
18
#include <wx/html/htmlwin.h>
20
#include "cpp/htmlwindow.h"
23
#if WXPERL_W_VERSION_GE( 2, 7, 2 )
25
%name{Wx::HtmlCellEvent} class wxHtmlCellEvent
27
wxHtmlCell* GetCell() const;
28
wxPoint GetPoint() const;
29
wxMouseEvent& GetMouseEvent() const;
31
void SetLinkClicked( bool linkclicked );
32
bool GetLinkClicked() const;
35
%name{Wx::HtmlLinkEvent} class wxHtmlLinkEvent
37
const wxHtmlLinkInfo& GetLinkInfo() const;
44
MODULE=Wx PACKAGE=Wx::HtmlLinkInfo
47
wxHtmlLinkInfo::GetEvent()
49
RETVAL = (wxMouseEvent*) THIS->GetEvent();
54
wxHtmlLinkInfo::GetHtmlCell()
56
RETVAL = (wxHtmlCell*) THIS->GetHtmlCell();
61
wxHtmlLinkInfo::GetHref()
64
wxHtmlLinkInfo::GetTarget()
66
MODULE=Wx PACKAGE=Wx::HtmlWindow
69
wxHtmlWindow::new( parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxHW_SCROLLBAR_AUTO, name = wxT("htmlWindow") )
77
RETVAL = new wxPliHtmlWindow( CLASS, parent, id, pos, size, style, name );
82
wxHtmlWindow::AppendToPage( source )
86
wxHtmlWindow::GetOpenedAnchor()
89
wxHtmlWindow::GetOpenedPage()
92
wxHtmlWindow::GetOpenedPageTitle()
95
wxHtmlWindow::GetParser()
98
wxHtmlWindow::GetRelatedFrame()
101
wxHtmlWindow::HistoryBack()
104
wxHtmlWindow::HistoryCanForward()
107
wxHtmlWindow::HistoryCanBack()
110
wxHtmlWindow::HistoryClear()
113
wxHtmlWindow::HistoryForward()
116
wxHtmlWindow::LoadFile( filename )
120
wxHtmlWindow::LoadPage( location )
124
wxHtmlWindow::OnLinkClicked( info )
127
THIS->wxHtmlWindow::OnLinkClicked( *info );
130
wxHtmlWindow::OnSetTitle( title )
133
THIS->wxHtmlWindow::OnSetTitle( title );
136
wxHtmlWindow::ReadCustomization( cfg, path = wxEmptyString )
141
wxHtmlWindow::SetBorders( b )
145
wxHtmlWindow::SetFonts( normal_face, fixed_face, sizes )
151
int n = wxPli_av_2_intarray( aTHX_ sizes, &array );
156
croak( "Specified %d sizes, 7 wanted", n );
158
THIS->SetFonts( normal_face, fixed_face, array );
162
wxHtmlWindow::SetPage( source )
166
wxHtmlWindow::SetRelatedFrame( frame, format )
171
wxHtmlWindow::SetRelatedStatusBar( bar )
174
#if WXPERL_W_VERSION_GE( 2, 5, 3 )
177
wxHtmlWindow::SelectWord( pos )
181
wxHtmlWindow::SelectLine( pos )
185
wxHtmlWindow::SelectAll()
188
wxHtmlWindow::SelectionToText()
191
wxHtmlWindow::ToText()
196
wxHtmlWindow::WriteCustomization( cfg, path = wxEmptyString )