nobody at rubyforge.org
2007-Jan-03 01:37 UTC
[Wxruby-development] [822] trunk/wxruby2/doc/textile: Links to the documentation on TextUrlEvent
<!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>[822] trunk/wxruby2/doc/textile: Links to the documentation on TextUrlEvent</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>822</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-01-02 20:37:00 -0500 (Tue, 02 Jan 2007)</dd> </dl> <h3>Log Message</h3> <pre>Links to the documentation on TextUrlEvent</pre> <h3>Modified Paths</h3> <ul> <li><a href="#trunkwxruby2doctextileindextxtl">trunk/wxruby2/doc/textile/index.txtl</a></li> <li><a href="#trunkwxruby2doctextiletextctrltxtl">trunk/wxruby2/doc/textile/textctrl.txtl</a></li> </ul> </div> <div id="patch"> <h3>Diff</h3> <a id="trunkwxruby2doctextileindextxtl"></a> <div class="modfile"><h4>Modified: trunk/wxruby2/doc/textile/index.txtl (821 => 822)</h4> <pre class="diff"><span> <span class="info">--- trunk/wxruby2/doc/textile/index.txtl        2007-01-03 01:25:30 UTC (rev 821) +++ trunk/wxruby2/doc/textile/index.txtl        2007-01-03 01:37:00 UTC (rev 822) </span><span class="lines">@@ -199,6 +199,7 @@ </span><span class="cx"> |SpinEvent|An event from wxSpinButton| </span><span class="cx"> |SplitterEvent|An event from wxSplitterWindow| </span><span class="cx"> |SysColourChangedEvent|A system colour change event| </span><ins>+|TextUrlEvent|Mouse interaction with a URL in a TextCtrl| </ins><span class="cx"> |TimerEvent|A timer expiration event| </span><span class="cx"> |TreeEvent|A tree control event| </span><span class="cx"> |UpdateUIEvent|A user interface update event| </span></span></pre></div> <a id="trunkwxruby2doctextiletextctrltxtl"></a> <div class="modfile"><h4>Modified: trunk/wxruby2/doc/textile/textctrl.txtl (821 => 822)</h4> <pre class="diff"><span> <span class="info">--- trunk/wxruby2/doc/textile/textctrl.txtl        2007-01-03 01:25:30 UTC (rev 821) +++ trunk/wxruby2/doc/textile/textctrl.txtl        2007-01-03 01:37:00 UTC (rev 822) </span><span class="lines">@@ -99,16 +99,22 @@ </span><span class="cx"> update events are also processed automatically, when the control has the </span><span class="cx"> focus. </span><span class="cx"> </span><del>-To process input from a text control, use these event handler macros to -direct input to member functions that take a -"CommandEvent":commandevent.html argument. </del><ins>+To process input from a text control, use these event handler methods to +direct the events to a block that takes a "CommandEvent":commandevent.html +argument. </ins><span class="cx"> </span><span class="cx"> </span><span class="cx"> |*evt_text(id) { | event | ... }*|Respond to a EVT_COMMAND_TEXT_UPDATED event,generated when the text changes. Notice that this event will always be sentwhen the text controls contents changes - whether this is due to user input orcomes from the program itself (for example, if SetValue() is called)| </span><span class="cx"> |*evt_text_enter(id) { | event | ... }*|Respond to a EVT_COMMAND_TEXT_ENTER event,generated when enter is pressed in a text control (which must haveTE_PROCESS_ENTER style for this event to be generated).| </span><del>-|*evt_text_url(id) { | event | ... }*|A mouse event occurred over an URLin the text control (MSW and GTK2 only)| -|*evt_text_maxlen(id) { | event | ... }*|User tried to enter more textinto the control than the limit set by"set_max_length":#TextCtrl_setmaxlength.| </del><ins>+|*evt_text_maxlen(id) { | event | ... }*|User tried to enter more textinto the control than the limit set by "set_max_length":#TextCtrl_setmaxlength.| </ins><span class="cx"> </span><ins>+The following event handler works similarly for textctrls created with the +@TE_AUTO_URL@ style, but the block will instead receive a +"TextUrlEvent":TextUrlEvent.html with additional information about the +URL. + +|*evt_text_url(id) { | event | ... }*|A mouse event occurred over an URL in the text control (MSW and GTK2 only)| + </ins><span class="cx"> <div id="methods"> </span><span class="cx"> </span><span class="cx"> h2. Methods </span></span></pre> </div> </div> </body> </html>
Apparently Analagous Threads
- [821] trunk/wxruby2/doc/textile/texturlevent.txtl: Added info on undocumented TextUrlEVent class
- [1104] trunk/wxruby2: Added 2.8 methods to TextCtrl & document them; tidy up header file
- [678] trunk/wxruby2/doc/textile/commandevent.txtl: Fixed a few event macros that did not get fixed by the parser.
- [ wxruby-Feature Requests-7343 ] Add TextUrlEvent
- [1083] trunk/wxruby2/doc/textile/hyperlinkevent.txtl: Added HyperlinkCtrl and HyperlinkEvent documentation