search for: evt_text_url

Displaying 8 results from an estimated 8 matches for "evt_text_url".

2006 Dec 18
3
getting url from evt_text_url event
paul.allton at uk.bnpparibas.com wrote: > TextCtrl on windows supports the TE_RICH and TE_AUTO_URL styles, but I cannot seem > to extract the url from the generated evt_text_url event. Is this not supported or am > I just not asking the right question of it? It seems there is a class specifically for this in WxWidgets, called TextUrlEvent, which includes methods for retrieving the URL. Unfortunately, it seems completely undocumented in the 2.6.3 docs for either T...
2007 Jan 03
0
[821] trunk/wxruby2/doc/textile/texturlevent.txtl: Added info on undocumented TextUrlEVent class
...about an interaction with a highlighted +URL in a "TextCtrl":textctrl.html that has been initialised with the +style @TE_AUTO_URL@. + +h2. Derived from + +"Event":event.html, "CommandEvent":commandevent.html + +h2. Event handlers + +To process a TextUrlEvent, use the @evt_text_url@ event handler to +direct the event to a block that takes a CommandEvent argument. Pass the +id of the TextCtrl to the event handler. + +|*evt_text_url(id) { | event | ... }*|Process a text url interaction| + +h2. Different mou...
2007 Jan 03
0
[822] trunk/wxruby2/doc/textile: Links to the documentation on TextUrlEvent
...t_text_enter(id)&nbsp;{&nbsp;&#124;&nbsp;event&nbsp;&#124;&nbsp;...&nbsp;}*|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)&nbsp;{&nbsp;&#124;&nbsp;event&nbsp;&#124;&nbsp;...&nbsp;}*|A mouse event occurred over an URLin the text control (MSW and GTK2 only)| -|*evt_text_maxlen(id)&nbsp;{&nbsp;&#124;&nbsp;event&nbsp;&#124;&nbsp;...&nbsp;}*|User tried to e...
2007 May 29
0
[1035] trunk/wxruby2/swig/classes/EvtHandler.i: Removed a heap of redundant stuff that''s been #if 0''d for a while
..., VALUE *argv, VALUE self) -{ - return internal_evt_with_id(argc, argv, self, wxEVT_COMMAND_TEXT_ENTER); -} - -static VALUE evt_text_maxlen(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_with_id(argc, argv, self, wxEVT_COMMAND_TEXT_MAXLEN); -} - -#ifndef __WXMAC__ -static VALUE evt_text_url(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_with_id(argc, argv, self, wxEVT_COMMAND_TEXT_URL); -} -#endif - -static VALUE evt_radiobox(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_with_id(argc, argv, self, wxEVT_COMMAND_RADIOBOX_SELECTED); -} - -static VALUE e...
2004 Aug 19
28
Documents, Views and DocManagers
Hi, Are there any effort in making wxDocument, wxView, etc types of classes avaiable under wxRuby? For supporting SDI/MDI architecture. Cheers, Phuah Yee Keat
2006 Dec 20
0
[790] trunk/wxruby2/swig/classes: Added TextUrlEvent class and EvtHandler mapping
...l_evt_with_id(argc, argv, self, wxEVT_COMMAND_TEXT_MAXLEN); </span><span class="cx"> } </span><span class="cx"> </span><del>-#ifdef __WXMSW__ </del><ins>+#ifndef __WXMAC__ </ins><span class="cx"> static VALUE evt_text_url(int argc, VALUE *argv, VALUE self) </span><span class="cx"> { </span><span class="cx"> return internal_evt_with_id(argc, argv, self, wxEVT_COMMAND_TEXT_URL); </span></span></pre></div> <a id="trunkwxruby2swigclassesTex...
2006 Dec 14
5
wxruby2-preview Gauge and wx-sugar with SplitterWindow
First of all, just wanted to say big thanks for all the great work on wxruby2 .. I''ve been a user of 0.6 for a long time and its proved very useful over the years. It''s great to finally have a multi-platform, gem installable ui toolkit that doesn''t suck! Secondly, thanks also for wx-sugar. I was drowning in sizers and started to write my own layout library ... but
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...dEvent], + EventType[''evt_text_enter'', 1, + Wx::EVT_COMMAND_TEXT_ENTER, + Wx::CommandEvent], + EventType[''evt_text_maxlen'', 1, + Wx::EVT_COMMAND_TEXT_MAXLEN, + Wx::CommandEvent], + EventType[''evt_text_url'', 1, + Wx::EVT_COMMAND_TEXT_URL, + Wx::TextUrlEvent], + EventType[''evt_timer'', 1, + Wx::EVT_TIMER, + Wx::TimerEvent], + EventType[''evt_togglebutton'', 1, + Wx::EVT_COMMAND_TOGGLEBUTT...