search for: wxmouseev

Displaying 13 results from an estimated 13 matches for "wxmouseev".

2006 Sep 12
1
Patch to wxMouseEvent.h
This patch just applies some const tags that were missing (does this affect anything at all?) and removes a definition that was causing a conflict. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Jan 03
0
[819] trunk/wxruby2/swig/classes/MouseEvent.i: Added the MOUSE_BTN_XXX constants to test which button is changing state
...&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-01-03 00:33:35 UTC (rev 819) </span><span class="lines">@@ -5,6 +5,16 @@ </span><span class="cx"> </span><span class="cx"> %module(directors="1") wxMouseEvent </span><span class="cx"> </span><ins>+// the symbolic names for the mouse buttons +enum +{ + wxMOUSE_BTN_ANY = -1, + wxMOUSE_BTN_NONE = 0, + wxMOUSE_BTN_LEFT = 1, + wxMOUSE_BTN_MIDDLE = 2, + wxMOUSE_BTN_RIGHT = 3 +}; + </ins>&l...
2005 Sep 03
1
Whole lotta stuff
1) Please ignore the patch for wxMouseEvent.h. Including this causes the build to fail. 2) Attached are several files to patch some things to get the bigdemo working (better): Added a generic typemap for converting ruby arrays into point arrays. Added a typedef for wxDash Corrected/expanded the typemap for GetTextExtent Added GetMul...
2006 Dec 20
0
[790] trunk/wxruby2/swig/classes: Added TextUrlEvent class and EvtHandler mapping
...t;>@@ -0,0 +1,26 @@ </span><ins>+// Copyright 2004-2006 by Kevin Smith +// released under the MIT-style wxruby2 license + +#if !defined(_wxTextUrlEvent_h_) +#define _wxTextUrlEvent_h_ + +class wxTextUrlEvent : public wxCommandEvent +{ +public: + wxTextUrlEvent(int winid, const wxMouseEvent& evtMouse, + long start, long end) + : wxCommandEvent(wxEVT_COMMAND_TEXT_URL, winid) + , m_evtMouse(evtMouse), m_start(start), m_end(end) + { } + + const wxMouseEvent& GetMouseEvent() const { return m_evtMouse; } + long GetURLStart() const { r...
2007 Mar 19
0
[900] branches/wxruby2/wxwidgets_282/swig/classes: Initial commit of AUI core classes
...); + void OnFloatingPaneResized(wxWindow* window, const wxSize& size); + void Render(wxDC* dc); + void Repaint(wxDC* dc = NULL); + void ProcessMgrEvent(wxAuiManagerEvent& event); + void UpdateButtonOnScreen(wxAuiDockUIPart* button_ui_part, + const wxMouseEvent& event); + void GetPanePositionsAndSizes(wxAuiDockInfo& dock, + wxArrayInt& positions, + wxArrayInt& sizes); + + +public: + + // public events (which can be invoked externally) + void OnRender(wxAuiManagerEvent&am...
2006 Sep 11
8
next steps - public alpha?
Seems the gems and tarball have been downloaded a bit with no reported problems. I suggest we do an alpha release incorporating Roy''s useful recent fixes and announce it more publicly e.g. on the mailing list. It''s not perfect, but again we have made a lot of progress since late July and we should build on it; it was our dev goal. I now personally have to put some effort
2006 Nov 06
3
HtmlWindow and friends
Hi Attached is a patch to add HtmlWindow and some of its friends, including 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 -
2007 Jan 23
0
[852] trunk/wxruby2/swig/classes/include/parents.rb: Fix MultiChoiceDialog name
...bsp2007-01-23 21:21:41 UTC (rev 852) </span><span class="lines">@@ -198,7 +198,7 @@ </span><span class="cx"> ''wxMouseCaptureChangedEvent'' => ''wxEvent'', </span><span class="cx"> ''wxMouseEvent'' => ''wxEvent'', </span><span class="cx"> ''wxMoveEvent'' => ''wxEvent'', </span><del>- ''wxMultipleChoiceDialog'' => ''wxDialog'', </del><ins>+...
2008 Feb 06
0
[ wxruby-Bugs-17827 ] Crash when closing Dialog in bigdemo.rb
..._select=false) at ../src/generic/treectlg.cpp:1895 #50 0x015a1e87 in wxGenericTreeCtrl::OnMouse (this=0x871a00, event=@0xbfffe43c) at ../src/generic/treectlg.cpp:3351 #51 0x0139fbc3 in wxAppConsole::HandleEvent (this=0x3ad2d0, handler=0x871a00, func={__pfn = 0x15a0e2a <wxGenericTreeCtrl::OnMouse(wxMouseEvent&)>, __delta = 0}, event=@0xbfffe43c) at ../src/common/appbase.cpp:320 #52 0x0143ba6e in wxEvtHandler::ProcessEventIfMatches (entry=@0x1b63270, handler=0x871a00, event=@0xbfffe43c) at ../src/common/event.cpp:1225 #53 0x0143be5a in wxEventHashTable::HandleEvent (this=0x1b63420, event=@0xbff...
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...&nbsp * \param wxWindow* -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param int -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param int -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param const wxMouseEvent& -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - </del><span class="cx"> virtual void OnMouseClick(wxWindow* parent , int x , int y , const wxMouseEvent& event ) ; </span><del>-&nbsp&nbsp&nbsp&nbsp&am...
2004 Jun 22
8
Tracking Mouse motion
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: tst_wxPaint.rbw Type: application/octet-stream Size: 4446 bytes Desc: not available Url : http://rubyforge.org/pipermail/wxruby-users/attachments/20040622/abc8ba85/tst_wxPaint-0001.obj
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...pan class="cx"> virtual bool LoadFile(const wxFileName& filename ) ; </span><span class="cx"> virtual bool LoadPage(const wxString& location ) ; </span><del>- virtual void OnCellClicked(wxHtmlCell *cell , wxCoord x , wxCoord y , const wxMouseEvent& event ) ; - virtual void OnCellMouseHover(wxHtmlCell *cell , wxCoord x , wxCoord y ) ; </del><ins>+ // virtual bool OnCellClicked(wxHtmlCell *cell , wxCoord x , wxCoord y , const wxMouseEvent& event ) ; + // virtual void OnCellMouseHover(wxHtmlCell *cell , wxCoord...
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...-extern swig_class cWxTextUrlEvent; -extern swig_class cWxIdleEvent; -extern swig_class cWxPaintEvent; -extern swig_class cWxUpdateUIEvent; -extern swig_class cWxSizeEvent; -extern swig_class cWxTimerEvent; -extern swig_class cWxKeyEvent; -extern swig_class cWxFindDialogEvent; -extern swig_class cWxMouseEvent; -extern swig_class cWxFocusEvent; -extern swig_class cWxSpinEvent; -extern swig_class cWxChoicebookEvent; -extern swig_class cWxNotebookEvent; -extern swig_class cWxListbookEvent; -extern swig_class cWxGridEvent; -extern swig_class cWxGridRangeSelectEvent; -extern swig_class cWxGridSizeEvent; -...