Displaying 3 results from an estimated 3 matches for "wxhtml_redirect".
2006 Dec 02
0
[769] trunk/wxruby2/swig/classes/HtmlWindow.i: Added missing style flags
...06-12-01 17:42:56 UTC (rev 768)
+++ trunk/wxruby2/swig/classes/HtmlWindow.i        2006-12-02 11:22:09 UTC (rev 769)
</span><span class="lines">@@ -17,6 +17,13 @@
</span><span class="cx"> wxHTML_REDIRECT
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+// wxHtmlWindow flags:
+#define wxHW_SCROLLBAR_NEVER 0x0002
+#define wxHW_SCROLLBAR_AUTO 0x0004
+#define wxHW_NO_SELECTION 0x0008
+#define wxHW_DEFAULT_STYLE...
2006 Nov 06
3
HtmlWindow and friends
Hi
Attached is a patch to add HtmlWindow and some of its friends, including
HtmlEasyPrinting. Also a sample.
I haven''t tried exposing the parsing and rendering API yet to allow
custom tags etc - I just wanted to get basic HTML and the 0.6.0
compatibility classes first. There may well be some quite easy classes left.
There''s one ugly kludge to get OnOpeningURL to compile -
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...Smith
+# released under the MIT-style wxruby2 license
+
+%include "../common.i"
+
+%module(directors="1") wxHtmlWindow
+
+%{
+#include <wx/html/htmlwin.h>
+%}
+
+// enums for wxHtmlWindow::OnOpeningURL
+enum wxHtmlOpeningStatus
+{
+ wxHTML_OPEN,
+ wxHTML_BLOCK,
+ wxHTML_REDIRECT
+};
+
+// implement in ruby
+%ignore wxHtmlWindow::LoadFile;
+
+// OnOpeningURL: for some reason this ignore doesn''t actually ignore
+// %ignore wxHtmlWindow::OnOpeningURL(wxHtmlURLType type , const wxString& url , wxString * redirect ) const;
+
+// TODO: fix typemaps so that on_open...