nobody at rubyforge.org
2007-Apr-13 19:15 UTC
[Wxruby-development] [953] branches/wxruby2/wxwidgets_282: Additions to HelpController API 2.6 -> 2.8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } #msg dt { float: left; width: 6em; font-weight: bold; } #msg dt:after { content:'':'';} #msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } #msg dl a { font-weight: bold} #msg dl a:link { color:#fc3; } #msg dl a:active { color:#ff0; } #msg dl a:visited { color:#cc6; } h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } #msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; } #msg ul, pre { overflow: auto; } #header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } #patch { width: 100%; } #patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;} #patch .propset h4, #patch .binary h4 {margin:0;} #patch pre {padding:0;line-height:1.2em;margin:0;} #patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;} #patch .propset .diff, #patch .binary .diff {padding:10px 0;} #patch span {display:block;padding:0 10px;} #patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[953] branches/wxruby2/wxwidgets_282: Additions to HelpController API 2.6 -> 2.8</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>953</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-04-13 15:15:04 -0400 (Fri, 13 Apr 2007)</dd> </dl> <h3>Log Message</h3> <pre>Additions to HelpController API 2.6 -> 2.8</pre> <h3>Modified Paths</h3> <ul> <li><a href="#brancheswxruby2wxwidgets_282doctextilehelpcontrollertxtl">branches/wxruby2/wxwidgets_282/doc/textile/helpcontroller.txtl</a></li> <li><a href="#brancheswxruby2wxwidgets_282swigclassesincludewxHelpControllerh">branches/wxruby2/wxwidgets_282/swig/classes/include/wxHelpController.h</a></li> </ul> </div> <div id="patch"> <h3>Diff</h3> <a id="brancheswxruby2wxwidgets_282doctextilehelpcontrollertxtl"></a> <div class="modfile"><h4>Modified: branches/wxruby2/wxwidgets_282/doc/textile/helpcontroller.txtl (952 => 953)</h4> <pre class="diff"><span> <span class="info">--- branches/wxruby2/wxwidgets_282/doc/textile/helpcontroller.txtl        2007-04-13 19:14:26 UTC (rev 952) +++ branches/wxruby2/wxwidgets_282/doc/textile/helpcontroller.txtl        2007-04-13 19:15:04 UTC (rev 953) </span><span class="lines">@@ -57,10 +57,12 @@ </span><span class="cx"> * "HelpController#display_section":#HelpController_displaysection </span><span class="cx"> * "HelpController#display_text_popup":#HelpController_displaytextpopup </span><span class="cx"> * "HelpController#get_frame_parameters":#HelpController_getframeparameters </span><ins>+* "HelpController#get_parent_window":#HelpController_getparentwindow </ins><span class="cx"> * "HelpController#keyword_search":#HelpController_keywordsearch </span><span class="cx"> * "HelpController#load_file":#HelpController_loadfile </span><span class="cx"> * "HelpController#on_quit":#HelpController_onquit </span><span class="cx"> * "HelpController#set_frame_parameters":#HelpController_setframeparameters </span><ins>+* "HelpController#set_parent_window":#HelpController_setparentwindow </ins><span class="cx"> * "HelpController#set_viewer":#HelpController_setviewer </span><span class="cx"> * "HelpController#quit":#HelpController_quit </span><span class="cx"> </span><span class="lines">@@ -188,6 +190,13 @@ </span><span class="cx"> * _flags_ This defaults to HELP_NETSCAPE for ExtHelpController, indicating </span><span class="cx"> that the viewer is a variant of Netscape Navigator. </span><span class="cx"> </span><ins>+h3(#HelpController_getparentwindow). HelpController#get_parent_window + + Boolean *get_parent_window*() + +Returns the window to be used as the parent for the help window. This window is used +by CHMHelpController, WinHelpController and HtmlHelpController. + </ins><span class="cx"> h3(#HelpController_keywordsearch). HelpController#keyword_search </span><span class="cx"> </span><span class="cx"> Boolean *keyword_search*(%(arg-type)String% keyWord, </span><span class="lines">@@ -240,6 +249,13 @@ </span><span class="cx"> </span><span class="cx"> For all other help controllers this function has no effect. </span><span class="cx"> </span><ins>+h3(#HelpController_setparentwindow). HelpController#set_parent_window + + *set_parent_window*(%(arg-type)Window% parentWindow) + +Sets the window to be used as the parent for the help window. This is used +by CHMHelpController, WinHelpController and HtmlHelpController. + </ins><span class="cx"> h3(#HelpController_setviewer). HelpController#set_viewer </span><span class="cx"> </span><span class="cx"> *set_viewer*(%(arg-type)String% viewer, %(arg-type)Integer% flags) </span></span></pre></div> <a id="brancheswxruby2wxwidgets_282swigclassesincludewxHelpControllerh"></a> <div class="modfile"><h4>Modified: branches/wxruby2/wxwidgets_282/swig/classes/include/wxHelpController.h (952 => 953)</h4> <pre class="diff"><span> <span class="info">--- branches/wxruby2/wxwidgets_282/swig/classes/include/wxHelpController.h        2007-04-13 19:14:26 UTC (rev 952) +++ branches/wxruby2/wxwidgets_282/swig/classes/include/wxHelpController.h        2007-04-13 19:15:04 UTC (rev 953) </span><span class="lines">@@ -19,10 +19,12 @@ </span><span class="cx"> virtual bool DisplaySection(int sectionNo ) ; </span><span class="cx"> virtual bool DisplayTextPopup(const wxString& text , const wxPoint& pos ) ; </span><span class="cx"> virtual wxFrame * GetFrameParameters(wxSize * size = NULL, wxPoint * pos = NULL, bool * newFrameEachTime = NULL) ; </span><ins>+ virtual wxWindow* GetParentWindow(); </ins><span class="cx"> virtual bool KeywordSearch(const wxString& keyWord ) ; </span><span class="cx"> virtual bool LoadFile(const wxString& file = wxT("")) ; </span><span class="cx"> virtual void OnQuit() ; </span><span class="cx"> virtual void SetFrameParameters(const wxString & title , const wxSize & size , const wxPoint & pos = wxDefaultPosition, bool newFrameEachTime = false) ; </span><ins>+ virtual void SetParentWindow(wxWindow* win); </ins><span class="cx"> virtual void SetViewer(const wxString& viewer , long flags ) ; </span><span class="cx"> virtual bool Quit() ; </span><span class="cx"> }; </span></span></pre> </div> </div> </body> </html>
Reasonably Related Threads
- [761] trunk/wxruby2: Initial commit of HtmlHelpController & HelpController support + doc,
- [760] trunk/wxruby2/swig/classes/include/wxHelpController.h: Correct method signatures for Initialize, OnQuit, GetFrameParameters;
- [781] trunk/wxruby2: Added instance class method to avoid proliferation of help windows
- error occurred while evaluating nil.accepts
- [784] trunk/wxruby2/Changelog: Pre 0.0.38 changes