Displaying 4 results from an estimated 4 matches for "onopeningurl".
2006 Oct 17
0
[682] trunk/wxruby2/doc/textile/htmlwindow.txtl: Fix some little formatting errors that were causing the page to be unreadable
...ot;> |*HTML_OPEN*|Open the URL.|
</span><span class="cx"> |*HTML_BLOCK*|Deny access to the URL, "HtmlParser#open_url":htmlparser.html#HtmlParser_openurl will return NULL.|
</span><del>-|*HTML_REDIRECT*|Don''t open _url_, redirect to anotherURL. OnOpeningURL must fill _*redirect_ with the new URL. OnOpeningURL willbe called again on returned URL.|
</del><ins>+|*HTML_REDIRECT*|Don''t open _url_, redirect to anotherURL. OnOpeningURL must fill _redirect_ with the new URL. OnOpeningURL willbe called again on returned URL.|
</ins>&...
2006 Nov 06
3
HtmlWindow and friends
...ing 
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 - it just means 
that this method can''t for now be overridden in ruby subclasses. Apart 
from that, all seems to work well.
I''d like to check in some stuff from last week: client_data and 
DestroyEvent. If someone has a few minutes in the next few days perhaps 
they co...
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...es">@@ -0,0 +1,41 @@
</span><ins>+# Copyright 2004-2006 by Kevin 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 wxS...
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...wxMouseEvent&  event ) ;
+ // virtual void OnCellMouseHover(wxHtmlCell  *cell , wxCoord  x , wxCoord  y ) ;
</ins><span class="cx">   virtual void OnLinkClicked(const wxHtmlLinkInfo&  link ) ;
</span><span class="cx">   virtual wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType  type , const wxString&  url , wxString * redirect ) const;
</span><span class="cx">   virtual void OnSetTitle(const wxString&  title ) ;
</span></span></pre></div>
<a id="brancheswxruby2wxwidgets_282swigclassesincludewxLis...