Displaying 20 results from an estimated 900 matches similar to: "Patch for caret sample"
2006 Aug 21
2
Patch to Calendar sample
This patch cleans up the calendar sample to follow the Ruby coding
style. It also uses ID_ABOUT and ID_EXIT for the About and Quit menu
item ID''s these allow wxWidgets to put the About and Quit menu in the
correct location on Mac OS X. We should probably do this with all the
samples.
Sean
_______________________________________________
wxruby-users mailing list
2006 Jul 24
6
MiniFrame.i
Hi
Another little patch, adding MiniFrame (a frame with small title bar and
buttons which doesn''t appear in the desktop taskbar).
Also a sample - not very interesting, happy to roll this into something
else if that''s better.
cheers
alex
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note
the new %directorargout typemap I added to fix wxWindows calling into
SWIG. I don''t know if this can fix all such problems or not. Let me
know what you think.
I also rubified the sample a little bit more. Also, note that I fix the
<< operator so the function can be called. I hope I did this right.
Roy
2006 Jul 25
6
Wizards
Hi
Please find attached a set of patches and swig files to implement
Wizards for wxruby. Also a brief sample.
Quick q - the C declarations of evt_xxx_xxx methods and their attaching
to Ruby classes seems to be duplicated across Events.i and EvtHandler.i
- is one of these the right place to be adding them? or both?
Thanks
alex
_______________________________________________
2007 Nov 18
2
Issues adding sub-menu items
Hello All,
I''m new to the list and to Ruby.
I was trying to use one of the examples as a skeleton for something that
I''m working on.
I''m currently stuck when it comes to adding another item to the
sub-menus.
I have a menu item by the name of "Tools" and I would like to add a
sub-menu item called "Find Unique Fields" but it doesn''t show up
2006 Nov 13
0
[732] trunk/wxruby2/samples: Fixed a few crashes related to the about box menu.
<!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:
2006 Nov 13
0
[731] trunk/wxruby2/samples/etc/sash.rb: Changed menu events so they call the correct method.
<!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 Jan 08
3
pictorG
Hi!
Attached is the current version of my image organizing program.
If you dbl-click on a thumbnail, it will show the image (1:1 zoom) in a
dialog, and eat some memory....
Gergo
--
+-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+
| http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy |
| Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval
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 -
2008 Mar 13
2
Doc patch for keyevent.txtl
Here''s a doc patch for keyevent.txtl. I''m also attaching two new
files referenced from keyevent.txtl.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keycode.txtl
Type: application/octet-stream
Size: 2446 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/wxruby-development/attachments/20080313/89e9fa1a/attachment.obj
2007 Apr 13
2
who can give me an EvtHandler#connect example?
I read the api document online: http://wxruby.rubyforge.org/doc/evthandler.html
but still don''t know how to use it.
EvtHandler#connect
connect(Integer id, Integer lastId, EventType eventType,
ObjectEventFunction function,
Object userData = nil,
EvtHandler eventSink = nil)
the online doc''s example is write in C++:
frame->Connect( ID_EXIT,
2007 Sep 27
10
Adding more sugar to wxSugar
Hi all,
New wxRuby event handling offers the choice between using blocks or
methods seamlessly and easily. This is great respectively for simple
app and more complex app.
Nevertheless, currently the creation of an application, a frame, or a
dialog is very tedious for simple app :
- you need to create a subclass of Wx::App, Wx::Frame ...
- you need to put the initialization code in the initialize
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>,
2007 Apr 29
0
[987] branches/wxruby2/wxwidgets_282/samples/listbook/listbook.rb: Use default constructor before load_frame_subclass to avoid GTK crash
<!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 16
0
[1113] trunk/wxruby2/samples/caret/caret.rb: Ensure the canvas has focus so KeyEvents are directed to it, fixing bug 10663
<!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:
2006 Mar 24
8
Snom 360 problems
Anyone have a Snom they're happy with? How did you manage that? :)
I have a system of:
Asterisk 1.2.3
2 Wildcard TDM400P Rev I and E/F
1 Snom 360 + sidecar
~15 Sipura/Linsys SPA-841
~15 Grandstream 101
Everything (currently) is on the same network, not a router to be seen
between any two. Also everything, except the snom, is working sweetly.
The main problem is ECHO.. awful echo and
2005 Aug 09
3
file
hi
im saleh
please help me
I WANT SOURSE CODE SIMILAR THIS CODE
package asl;
import java.awt.*;
import java.awt.event.*
;
import java.applet.*;
public class animat1 extends Applet implements Runnable{
int c = 290, d = 300;
int x = 20, k = 20, o = 0, m = 10, n = 0, y = 0;
Thread t = new Thread(this);
Image img1, img2, img3;
// AudioClip a1;
public void init() {
2006 Sep 17
1
run.rb
This is a first stab at a run.rb file that will let you run a sample in
the bigdemo directory by itself.
You have to add the following to the bottom of every sample file:
if __FILE__ == $0
load "run.rb"
run(File.basename($0))
end
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2008 Jun 28
1
catch all key events in frame?
Hi.
How do I best capture *all* key events in a frame. Specifically: In Albuin I
want to delete selected songs in the playlist when the user presses ''del'' -
no matter what control in the frame happens to be in focused atm. What event
should I bind to and to which control?
(as a side note, the latest svn of albuin fixed the alexs'' problem with
sequel-2.x - never, ever,
2000 Jun 23
1
Re: undocumented behaviour of recordPlot (PR#578)
On Thu, Jun 22, 2000 at 05:01:32PM +0200, p.dalgaard@biostat.ku.dk wrote:
> I think this is pretty certainly a bug, so I'm cc'ing this to r-bugs.
>
> -p
>
> Kaspar Pflugshaupt <pflugshaupt@geobot.umnw.ethz.ch> writes:
> > As the documentation states, when I generate a plot and save it with
> > recordPlot, I can regenerate it by printing the variable: