Displaying 20 results from an estimated 8000 matches similar to: "Different (tree) event behaviors across platforms"
2004 Oct 06
11
find_window_by_xxx doesn''t find Gauge or BitmapButton
I''m fairly new to the Ruby world, particularly WxRuby, so please
forgive me if this is ground that''s been covered in the past. I''m
trying to load a frame from an XRC file (created using DialogBlocks),
and I''m having trouble getting an instance of the Gauge object using
the Wx::Window.find_window_by_xxx methods. I''m trying this on Windows
XP,
2009 Sep 03
24
wxRuby-2.0.1 release ?
Hi,
What about releasing a new version shortly ?
This is a long-awaited request from several users especially for
recent ruby-1.9.1 versions on MinGW.
Cheers.
Chauk-Mean.
2007 Oct 09
17
Crash when using item data with a CheckListBox
Hi,
The following code works as expected with a list box.
require "wx"
class HelloWorld < Wx::App
def on_init
helloframe = Wx::Frame.new(nil, "Hello World")
choices = ["one", "two", "three", "four", "five"]
data = ["data1", "data2", "data3", "data4", "data5"]
2007 Oct 09
17
Crash when using item data with a CheckListBox
Hi,
The following code works as expected with a list box.
require "wx"
class HelloWorld < Wx::App
def on_init
helloframe = Wx::Frame.new(nil, "Hello World")
choices = ["one", "two", "three", "four", "five"]
data = ["data1", "data2", "data3", "data4", "data5"]
2007 Sep 20
7
Troubles with ListBox and CheckListBox events
Hi all,
Here is an excerpt of code (with the new syntax from upcoming wxRuby 1.9.2) :
evt_checklistbox(my_checklist, :on_checklistbox)
evt_listbox(my_checklist, :on_listbox)
evt_listbox(my_list, :on_listbox)
def on_checklistbox(event)
checklist = event.event_object
# puts "listbox - event : item[#{event.int}] checked : #{event.checked?}"
puts "listbox -
2010 May 18
8
gem for snow leopard?
Does anybody plan to post binary rem for SL? Id''love to rely on its availability in the installation script... As wx included in installation package makes it huge...
Sergey Chernov
real.sergeych@gmail.com
2005 Jul 16
28
wxruby (was: Some questions)
Roy Sutton wrote (on the FreeRIDE list):
> Really? That''s interesting. I haven''t checked out WxRuby but I would
> be much happier using something that interfaces to the underlying
> operating system''s widgets.
As a member (and former leader) of the wxruby team, I thought I would
share the state of the wxruby world.
The current release is 0.6, and it has
2007 Oct 09
3
Trouble with dialog based application
Hi,
A long time ago, I made some MFC GUI programming ...
There was basically 2 kinds of application :
- dialog based application : a simple app based on a dialog (without
menu, toolbar, status bar ...)
- frame based app (Single Document or Multiple Document) with menu,
toolbar, status bar ...
I tried to make a dialog based app with wxRuby but the application
never exits !!
The following code
2006 Aug 10
3
update on samples
Hi all
Have been taking a look at the samples to see what''s broken. Not looking
TOO bad overall, but a few problems we should try and tackle before alpha:
Firstly, I have a few commits (minimal, dialogs, unicode) - anyone else
been working on these or can I go ahead?
One general issue is that many of the samples rely on being run from
their own directory, but don''t enforce
2007 Apr 18
5
Turning off spell checker in TextCtrl
Hi,
I''m running WxRuby2 on Mac OS X. Something is spell checking the text
that I put into it; words it doesn''t recognize get an annoying red
line under them. How can I turn the spell checker off?
Thanks,
Paul
2009 Jan 29
6
Control Characters
I am attempting a text editor using wxRuby. I''m having character issues.
Strings are not binary-safe.
Some characters are not allowed.
- newline / line feed (\n), tab (\t) are displayed
- carraige return (\r) is stripped
- Other control characters and high-ascii cause control values to become
empty.
Affected controls include: Wx::TextCtrl, Wx::StaticText, Wx::Clipboard,
et al.
Most
2009 Nov 05
17
installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi,
i tried too install wxruby-2.0.1 on opensuse 11.2 from the rake command
I get the following error:
...
usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld:
cannot find -lwx_gtk2u_media-2.8
collect2: ld returned 1 exit status
rake aborted!
Command failed with status (1): [g++ -shared -fPIC -o -L. -rdynamic
-Wl,-...]
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:995:in
2010 Nov 29
17
wxruby is dead?
I wanted to know whether the development of the project is still active
or not.
many bugs in the bug tracker are open from 25/03/2009 ....
thank you very much
Carlo Bertini
--
Posted via http://www.ruby-forum.com/.
2004 Sep 01
2
wxruby swig progress
I''ve checked a number of new .i files into the wxruby-swig tree. Not all
of them are fully tested, but I thought it would be better for them to
be there than to have somebody start duplicating the work. I''ve also
added the ''caret'' and ''image'' samples, as well as the generic etc/test.rb.
These need the unreleased SWIG-1.3.22. The current
2006 Apr 18
12
Update on SWIG
SWIG 1.3.29 isn''t going to cut it for us. We''ll have to wait until
1.3.30, unless I can hack together a nasty workaround for a problem with
the object tracking. It seem that each SWIG module gets its own hash
for tracking objects. This means that, for example, you create a find
dialog (in FindReplaceDialog.cpp) events you get from it (from
FindDialogEvent.cpp)
2008 Mar 01
11
wxRIDE Finally Available
Hello fellow wxRuby users,
Well, after a long period in which I originally announced that I was
creating an IDE, I have finally become satisfied enough to release a SVN
Version of wxRIDE. I started the project out, and in cases where I couldn''t
launch the application again, I utilized SciTE (Which uses Scintilla, same
as wxRIDE), outside of that initial part, and subsequent failures to
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
Hi,
I''m trying to create a very simple RichTextCtrl sample based on the C++ version.
This works pretty well now with the fixes for missing
RichTextCtrl.selection_bold? ... methods.
See the attached script.
Given the formatting buttons (bold, italics, underlined), I can type
text with the proper formatting, select some text and apply a
formatting later ...
The problem I have is I
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
Hi,
I''m trying to create a very simple RichTextCtrl sample based on the C++ version.
This works pretty well now with the fixes for missing
RichTextCtrl.selection_bold? ... methods.
See the attached script.
Given the formatting buttons (bold, italics, underlined), I can type
text with the proper formatting, select some text and apply a
formatting later ...
The problem I have is I
2007 Oct 18
6
Bug in minimal.rb
Hi!
I discovered WxRuby2 and WxSugar a short while ago (1.9.1) and I really
like its professional look and the platform independance. But
especially the simplification and ''rubyfication'' that you already
achieved and are planning for 1.9.2 (event handlers) is funstuff!
Thanks a lot!
And with Ruby 1.9/2 the keyword constructors will be even nicer with
the new hash syntax:
2004 Jun 02
13
wxGrid Question
When operating with a wxGrid is there a way to get a reference to the
TextCtrl field that is created when you start typing in a cell.
Also is there a way to get mouse events to work with a wxGrid, so far I
can''t get any of them to work. I had tried various combo''s of:
@grid.evt_left_down(){ |event|
puts "Left mouse is down"; }
using evt_left_down, evt_left_up,