search for: mouseevent

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

2007 Jan 03
0
[819] trunk/wxruby2/swig/classes/MouseEvent.i: Added the MOUSE_BTN_XXX constants to test which button is changing state
...} #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>[819] trunk/wxruby2/swig/classes/MouseEvent.i: Added the MOUSE_BTN_XXX constants to test which button is changing state</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>819</dd> <dt>Author</dt> <dd>brokentoy</dd> &...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...EVT_COMMAND_FIND_REPLACE => Wx::FindDialogEvent, - Wx::EVT_COMMAND_FIND_REPLACE_ALL => Wx::FindDialogEvent, - Wx::EVT_COMMAND_FIND_CLOSE => Wx::FindDialogEvent, - Wx::EVT_SET_FOCUS => Wx::FocusEvent, - Wx::EVT_KILL_FOCUS => Wx::FocusEvent, - Wx::EVT_LEFT_DOWN => Wx::MouseEvent, - Wx::EVT_LEFT_UP => Wx::MouseEvent, - Wx::EVT_LEFT_DCLICK => Wx::MouseEvent, - Wx::EVT_MIDDLE_DOWN => Wx::MouseEvent, - Wx::EVT_MIDDLE_UP => Wx::MouseEvent, - Wx::EVT_MIDDLE_DCLICK => Wx::MouseEvent, - Wx::EVT_RIGHT_DOWN => Wx::MouseEvent, - Wx::EVT_RIGHT_UP...
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...EVT_COMMAND_FIND_REPLACE => Wx::FindDialogEvent, + Wx::EVT_COMMAND_FIND_REPLACE_ALL => Wx::FindDialogEvent, + Wx::EVT_COMMAND_FIND_CLOSE => Wx::FindDialogEvent, + Wx::EVT_SET_FOCUS => Wx::FocusEvent, + Wx::EVT_KILL_FOCUS => Wx::FocusEvent, + Wx::EVT_LEFT_DOWN => Wx::MouseEvent, + Wx::EVT_LEFT_UP => Wx::MouseEvent, + Wx::EVT_LEFT_DCLICK => Wx::MouseEvent, + Wx::EVT_MIDDLE_DOWN => Wx::MouseEvent, + Wx::EVT_MIDDLE_UP => Wx::MouseEvent, + Wx::EVT_MIDDLE_DCLICK => Wx::MouseEvent, + Wx::EVT_RIGHT_DOWN => Wx::MouseEvent, + Wx::EVT_RIGHT_UP...
2007 Jan 03
0
[821] trunk/wxruby2/doc/textile/texturlevent.txtl: Added info on undocumented TextUrlEVent class
...licks, +but mouse motion into, within and out of the URL area will trigger the +handler. While this adds flexibility, it also means that you will probably +need to determine what mouse action was taken to decide how to respond +to the event. + +This can be done by calling the +"TextUrlEvent#getmouseevent":get_mouse_event method and using the +methods defined for "MouseEvent":mouseevent.html to determine whether +the event was a mouse click, which button was clicked, and so on: + + mouse_event = event.get_mouse_event + if mouse_event.left_down + # ... + end + + +<div id="met...
2006 Oct 27
16
Returning coordinates of a draggable?
How difficult would it be to get the x and y coordinates returned of a draggable? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email
2003 Nov 18
0
New code checked in
I just checked in some nifty changes from Nick, including: Added NULL_PEN and NULL_BRUSH Added alt_down, control_down, shift_down, meta_down methods to MouseEvent Added support for returning subclasses of wxWindow''s that are not yet wxruby objects. To do this, I added a wxpp type (DYNAMIC) that calls wxRbTypeTable, which invokes the proper ruby wrapper. This can probably be expanded for dynamic conversions of most wxObject based...
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
...bj/Locale.o obj/Log.o obj/LogTextCtrl.o obj/MDIChildFrame.o obj/MDIParentFrame.o obj/Mask.o obj/MediaCtrl.o obj/MediaEvent.o obj/MemoryDC.o obj/Menu.o obj/MenuBar.o obj/MenuEvent.o obj/MenuItem.o obj/MessageDialog.o obj/MiniFrame.o obj/MouseEvent.o obj/MoveEvent.o obj/MultiChoiceDialog.o obj/Notebook.o obj/NotebookEvent.o obj/NotifyEvent.o obj/NumberEntryDialog.o obj/Object.o obj/PageSetupDialog.o obj/PageSetupDialogData.o obj/PaintDC.o obj/PaintEvent.o obj/Panel.o obj/PasswordEntryDialog....
2010 Jan 24
13
Where can I find a list of events for each widget?
I''ve searched the documentation like crazy but I can''t seem to find the events for each of the widgets. Any info on this would be greatly appreciated. -- Posted via http://www.ruby-forum.com/.
2010 Jan 28
5
Compiling problem on Ubuntu 9.10 64 bit
...bj/Locale.o obj/Log.o obj/LogTextCtrl.o obj/MDIChildFrame.o obj/MDIParentFrame.o obj/Mask.o obj/MediaCtrl.o obj/MediaEvent.o obj/MemoryDC.o obj/Menu.o obj/MenuBar.o obj/MenuEvent.o obj/MenuItem.o obj/MessageDialog.o obj/MiniFrame.o obj/MouseEvent.o obj/MouseState.o obj/MoveEvent.o obj/MultiChoiceDialog.o obj/NavigationKeyEvent.o obj/Notebook.o obj/NotebookEvent.o obj/NotifyEvent.o obj/NumberEntryDialog.o obj/Object.o obj/PageSetupDialog.o obj/PageSetupDialogData.o obj/PaintDC.o obj/PaintEv...
2004 Feb 08
5
wxruby 0.2 for osx panther release
A first draft of the wxruby binary release for the macintosh is now available at: http://www.nicreations.net/wxruby-0.2-osx-panther.dmg Install the metapackage (mpkg). You will need to choose a folder for the sample apps. wxruby.bundle is installed in /usr/lib/ruby/1.6/powerpc-darwin7.0 A few questions: 1) Should I just leave the samples in a folder instead
2005 Jul 31
5
SWIG compilation
The result of the compilation after installing swig results in lots of errors of the sort: WindowDisabler.obj : error LNK2001: unresolved external symbol _SWIG_Ruby_ConvertPtr I can see this is defined in rubydef.swg but I''m not sure why this isn''t just included in the files that need it. Can any swig experts tell me what I need to do to progress? I''m using
2007 Jan 03
0
[823] trunk/wxruby2/doc/textile: Remove docs for some deprecated classes
...ew#layout_tabs - - *layout_tabs*() - -Recalculates the positions of the tabs, and adjusts the layer of the selected tab if necessary. - -You may want to call this function if the view width has changed (for example, from an OnSize handler). - -h3. TabView#on_event - - Boolean *on_event*(%(arg-type)MouseEvent% event) - -Processes mouse events sent from the panel or dialog. Returns true if the event was processed, -false otherwise. - -h3. TabView#on_tab_activate - - *on_tab_activate*(%(arg-type)Integer% activateId, %(arg-type)Integer% deactivateId) - -Called when a tab is activated, with the new active...
2007 Feb 09
20
Hello Everyone
I have a bit of a problem with installation. I installed wxX11 in my linux box. I compiled the demos and all the demos, save dbbrowse, work. I think I have a functional wx. Now I''m trying to install wxRuby from source, since I have a 64 bit machine. I only have permission to my home directory so my installation is : /usr/people/stevenq/Applications/wxX11/