Displaying 20 results from an estimated 110 matches similar to: "Mouse motion example - help"
2006 Apr 07
3
Pointer position on keypress event?
Hi.
Is there any straightforward way to tell pointer position (x, y)
upon keypress? In original wxWidgets, wxKeyEvent supports GetX()
and GetY() methods, but wxRuby''s KeyEvent object does not have
one. I also checked with event.methods and event.instance_variables.
Do I need to keep track of pointer position by evt_motion?
--
Taisuke Yamada <tyamadajp@spam.rakugaki.org>,
2005 Jan 22
9
Dragging images across the canvas
Hi wxRuby Gurus,
I''m trying to write a sample program which allows me to drag an image
(by left_mouse_button down) across the canvas.
I got it to work ... well, sort of. The problem is I can drag it only by
clicking on the left top corner of the image and nowhere else.
Besides, the dragging is not very smooth. How can I make it better?
I am using wxRuby 0.6.0 on Win XP (Home) and
2012 Apr 05
3
IPSEC How To?
Hello,
now I have spent many hours to configure openswan for VPN connections
without any success.
My goal:
VPN Server CentOS 6 with public IPv4
VPN Client (= road warrier) from private site with NAT router or from
mobile cell with Linux, Windows 7, Mac, iPhone or Android
Is there any how to in the net?
When I read
file:///usr/share/doc/openswan-doc-2.6.32/config.html
then I belive, there is
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
2005 Oct 25
1
Writing point pattern to a file
Hi,
I am trying to use the R package 'spatstat' for generating spatial
poisson point process graphs. I can create a point pattern using the
following commands:
pp <- rpoispp(.01, win=owin(c(0,100),c(0,100)))
and also view the resulting graph by:
plot(pp)
But how can I export the generated point pattern to an external file so
that I could use it as input for some network
2010 Sep 09
1
Wx::Grid and motion events, bug?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
Doesn''t a Wx::Grid get motion events sent? This code demonstrates the
problem:
- --------------------------------------------------------------
#!/usr/bin/env ruby
#Encoding: UTF-8
require "wx"
class MyFrame < Wx::Frame
include Wx
def initialize(parent = nil)
super(parent, title: "Test", size:
2010 Feb 24
3
Mouse wheel events in a grid cell editor?
I''m trying to do some advanced editing using Grids. I''ve created my own
editors and updating view and model both works fine so far. Thanks to
whoever made this possible. I like wxRuby more each day!
Now I''d like to catch mousewheel events in order to increment/decrement
a grid cell editor.
I''ve tried installing a handler in begin_edit of my editor and removing
2006 Aug 03
6
evt_scrollwin_thumbtrack/GetPosition?
I am attempting to create a scrollable panel. This works fine for using the
scroll arrows, as I am capturing the event and then incrementing the scroll
pos by the desired amount. However, it is not working on thumbtracking. I
capture the event successfully, but I am unable to capture the position of
the thumb tracker. I have looked at the poor man''s doc and have been unable
to figure
2006 Aug 16
10
all I wanted was a class reference...
And I got this lousy LatexParser. Ah well...
A new cut of the automatic WxRuby documentation is now viewable online at
http://www.pressure.to/wxruby/.
There''s also a pdf version
http://www.pressure.to/wxruby/wxruby.pdf [3MB, 751 pages!]
and a tarball
http://www.pressure.to/wxruby/wxruby2.tar.gz [1.3MB]
In terms of output, it''s no advance on what Sean has already done.
2007 Jul 04
0
[1104] trunk/wxruby2: Added 2.8 methods to TextCtrl & document them; tidy up header file
<!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:
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 of making the
user
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
<!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:
2008 May 14
0
[ wxruby-Patches-20130 ] Event handling performance issues
Patches item #20130, was opened at 2008-05-14 01:26
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=220&aid=20130&group_id=35
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Cezar Espinola (cezarsa)
Assigned to: Nobody (None)
Summary: Event handling performance issues
Initial Comment:
Hi folks.
This little patch intend
2007 Jun 26
0
[1086] trunk/wxruby2/lib/wx/classes/evthandler.rb: Restore evt_mouse_events convenience handler, fixing bug in printing sample
<!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:
2007 Mar 17
0
[886] branches/wxruby2/wxwidgets_282/swig/fixevents.rb: Mouse events fix for Win32 (Artur Kuptel)
<!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:
2007 Apr 29
0
[993] branches/wxruby2/wxwidgets_282/samples/bigdemo/wxScrolledWindow.rbw: Use ClientDC via Window#paint object
<!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:
2007 Oct 02
0
[ wxruby-Patches-14375 ] bigdemo/wxScrolledWindow - paint bug with scrolled window
Patches item #14375, was opened at 2007-10-02 13:12
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=220&aid=14375&group_id=35
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Christopher Bludau (count_cb)
Assigned to: Nobody (None)
Summary: bigdemo/wxScrolledWindow - paint bug with scrolled window
Initial Comment:
I found
2007 Apr 30
0
[997] branches/wxruby2/wxwidgets_282: Window - 2.6 -> 2.8 API, new methods and deprecations; update doc
<!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:
2007 Apr 29
0
[990] branches/wxruby2/wxwidgets_282/samples/bigdemo/wxCursor.rbw: Use paint block instead of ClientDC; load icon file safely
<!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:
2007 Jul 04
0
[1107] trunk/wxruby2: Add the 2.8 get_modifiers method to KeyEvent; remove some deprecated
<!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: