[Wxruby-development] [957] branches/wxruby2/wxwidgets_282: Additions to TreeEvent API 2.6->2.8

nobody at rubyforge.org
2007-04-13T19:18:19Z

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<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;}
-->
[957] branches/wxruby2/wxwidgets_282: Additions to TreeEvent API
2.6->2.8





Revision 957
Author brokentoy
Date 2007-04-13 15:18:18 -0400 (Fri, 13 Apr
2007)


Log Message
Additions to TreeEvent API 2.6->2.8

Modified Paths

<a
href="#brancheswxruby2wxwidgets_282doctextiletreeeventtxtl">branches/wxruby2/wxwidgets_282/doc/textile/treeevent.txtl
<a
href="#brancheswxruby2wxwidgets_282swigclassesincludewxTreeEventh">branches/wxruby2/wxwidgets_282/swig/classes/include/wxTreeEvent.h




Diff
<a
id="brancheswxruby2wxwidgets_282doctextiletreeeventtxtl">
Modified:
branches/wxruby2/wxwidgets_282/doc/textile/treeevent.txtl (956 =>
957)

---
branches/wxruby2/wxwidgets_282/doc/textile/treeevent.txtl&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-04-13
19:18:00 UTC (rev 956)
+++
branches/wxruby2/wxwidgets_282/doc/textile/treeevent.txtl&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-04-13
19:18:18 UTC (rev 957)
@@ -97,19 +97,24 @@

Returns the old item index (valid
for EVT_TREE_ITEM_CHANGING and CHANGED events)

-h3(#TreeEvent_getpoint). TreeEvent::GetPoint()

+h3(#TreeEvent_getpoint). TreeEvent#get_point
+
"Point":point.html
*get_point*()

-Returns the position of the mouse pointer if the event
is a drag event.
+Returns the position of the mouse pointer if the event
is a drag or menu-context event.
+In both cases the position is in client coordinates - i.e. relative to the
TreeCtrl
+window (so that you can pass it directly to e.g.
"Window#popup_menu":window.html#Window_popupmenu).

-h3(#TreeEvent_iseditcancelled).
TreeEvent::IsEditCancelled()

+h3(#TreeEvent_iseditcancelled).
TreeEvent#is_edit_cancelled
+
Boolean *is_edit_cancelled*()

Returns true if the label edit
was cancelled. This should be
called from within an
EVT_TREE_END_LABEL_EDIT handler.

+
h3(#TreeEvent_settooltip).
TreeEvent#set_tool_tip


*set_tool_tip*(%(arg-type)String% tooltip)

<a
id="brancheswxruby2wxwidgets_282swigclassesincludewxTreeEventh">
Modified:
branches/wxruby2/wxwidgets_282/swig/classes/include/wxTreeEvent.h (956 =>
957)

---
branches/wxruby2/wxwidgets_282/swig/classes/include/wxTreeEvent.h&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-04-13
19:18:00 UTC (rev 956)
+++
branches/wxruby2/wxwidgets_282/swig/classes/include/wxTreeEvent.h&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-04-13
19:18:18 UTC (rev 957)
@@ -1,4 +1,4 @@
-// Copyright 2004-2005 by Kevin Smith
+// Copyright 2004-2007 by Kevin Smith
// released under the MIT-style
wxruby2 license

#if !defined(_wxTreeEvent_h_)