Displaying 20 results from an estimated 2000 matches similar to: "Re: event handlers for wxGrid"
2004 May 16
1
RE: wxGrid example
Kevin, should we check this in to CVS as one of the our distributed samples?
Curt
-----Original Message-----
From: Shashank Date [mailto:sdate@everestkc.net]
Sent: Sunday, May 16, 2004 4:30 PM
To: wxruby-users@rubyforge.org
Cc: curt@hibbs.com
Subject: wxGrid example
I am using the binary install of wxRuby 0.3.0 on WinXP(Home)
I could not find an example of using wxGrid, so I
2004 Jul 07
2
wxGrid Event handling work around?
Hi wxRuby gurus,
I remember a while back, Zach Dennis was working on a mini Spreadsheet app using wxGrid when the issue of lack of wxGrid event handling was discussed. I think Kevin (or Assaph?) had suggested some workarounds until the Swig based version is out. Could not figure out from the archives exactly what the final resolution was, but I am stuck at the same spot and am desperately in need
2006 Oct 15
4
TaskBarIcon
Attached are some patches to implement the TaskBarIcon. Let me know how
this works on Linux and OS X. You may want to ''svn update'' first and
get the new version of ruby.png since I fixed the transparent background.
Roy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bigdemo.rb.patch
Url:
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
_______________________________________________
2009 Mar 19
6
xrc file and WxGrid
Has anyone any experience with using a XRC file that setsup a Wx::Grid?
I''m using wxFormBuilder, in which I setup a grid in a boxsizer, with
column names and all. But when I render it via Ruby the grid is just a
small empty gray box, and I can''t seem to manipulate it at all. I
tried adding columns, resizing columns, populating it with data, etc.
but still nothing.
I look at the
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,
2004 Jun 10
2
Building wxruby-swig on WinXP
Sorry for the lameness, but I need things explained to me very slowly...
-----Original Message-----
Subject: RE: [Wxruby-users] wxGrid Question
>
> Yes, grab the latest tarball from the above location. Then, you should
> install rubygems if you haven''t already:
> http://rubyforge.org/projects/rubygems/
>
> That should allow you to easily install rake:
>
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 Aug 02
3
wxSocket..... or wxRubySocket....
Hey Alex,
I was looking into figuring out a way to create a truely Asynchronis
Socket type for Ruby, and thought I''d go down to the bare minimal
implementation of it, to start creating a socket, and then I got to
thinking. Looking at the wxWidgets C/C++ Code, it doesn''t do much
different then what I''m doing, only in Ruby, so I thought maybe, as a way
to avoid
2007 Jul 29
5
wxruby2 beta 1.9.0 released
Hi
I''m pleased to announce the release of wxruby2 version 1.9.0. This is a
significant milestone for wxruby as this is the first release that we
consider near to production quality. We hope that this 1.9.x series of
releases will soon lead to a stable wxruby 2.0.
= INSTALLATION
The easiest way to install is using a ready-to-use binary gem for your
platform:
gem install wxruby
Or
2007 Sep 17
7
Re : syntax II
Alex Fenton wrote :
>1) Setting up event handlers
>
>In most real apps, I think the most normal way to set up event handlers
>is for the event to be dealt with by a corresponding method. At the
>moment this has to be done using a block:
>
>evt_button(AN_ID) { on_button_click }
>evt_button(my_button.get_id) do | event |
> on_button_click(event)
>end
>evt_size { |
2004 Apr 23
11
Building wxruby-swig for Mac
0.0.5 sure gets the Mac build a lot further.
There''s a bug in the wxMac-2.4.2 distribution that I''m running into:
wx-config wants to invoke a program in the source directory at link
time. That''s ugly in itself, but it tries to use a variable
${top_srcdir} to accomplish this, and it''s apparently empty. It tries
to invoke
2004 Aug 26
18
wxRuby 0.5.0 has been released!
wxRuby 0.5.0 has been released and is now available for
download from RubyForge at http://wxruby.rubyforge.org/
This release includes binary builds for Max OS X and
MS Windows.
Please report any bugs or feature requests here:
http://rubyforge.org/tracker/?group_id=35
Changes in this release include:
* Added XRC (Xml Resource File) support.
* Added totally awesome HTML widget from Tobi
2010 Mar 23
2
wxGrid merge cell
It''s possible merge two or more cell ???
ex:
--------------------------------------
| LABEL 1 | LABEL 2 | LABEL 3 |
--------------------------------------
| VALUE CELL MERGE | ANOTHER |
--------------------------------------
| | | |
--------------------------------------
Many Thanks
Carlo Bertini
www.waydotnet.com
--
Posted via
2010 Jan 28
5
Compiling problem on Ubuntu 9.10 64 bit
Hello,
I''m trying to compile wxruby for Ruby 1.9 on Ubuntu Karmic 64 bit, but I
can''t get it to work. I''ve already done this for the 32 bit version (on
another machine, of course), so I don''t see where''s the problem with
that. I thought, I had all neccessary libraries installed, but maybe you
know better... After compiling for a long time, rake fails
2004 Apr 27
15
Building wxruby on Solaris 9
Hi all,
Ruby 1.8.1
Solaris 9
wxwindows 2.4.2 (package from blastwave.org)
wxruby 0.3.0
I''m having trouble getting this sucker to build on my Solaris box.
Here''s how I''m building:
ruby extconf.rb --with-xrc-dir=/opt/csw
--with-xrc-include=/opt/csw/lib/wx
The include directive I added because the setup.h file is there (for
whatever reason). And yes, /opt/csw/bin and
2008 Feb 27
2
Missing evt_tree_item_menu method for TreeCtrl ?
Hi,
The documentation mentions the evt_tree_item_menu method for TreeCtrl
but it seems that this method is not defined (wxRuby 1.9.4 on
Windows).
As a workaround, I''m currently using evt_tree_item_right_click.
Cheers.
Chauk-Mean.
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
Bugs item #20211, was opened at 2008-05-18 13:46
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=20211&group_id=35
Category: Compile/build
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Tobias Peters (t-peters)
Assigned to: Nobody (None)
Summary: Unresolved symbol due to linkage error
Initial Comment:
While compiling wxruby
2004 Nov 21
7
wxRuby 0.6.0 is released!
wxRuby 0.6.0 has been released and is now available for
download from RubyForge at http://wxruby.rubyforge.org/
This release includes binary builds for Max OS X and
MS Windows.
Changes in this release include:
* Additional widget support in XRC (thanks to Marshall Elfstrand)
* Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle
Technologies Inc)
* Addition of wxGrid event handlers (thanks
2004 Nov 18
17
Wx::Grid Questions ...
I am trying to use a grid widget in my application, but run into a
number of issues:
-- Can they be placed in a panel? Or better yet, placed in sizer with
other controls? I have only been able to place a grid inside a frame.
-- Can you designate multiple rows (or columns) as being used for labels?
-- Can you create cells that span cols (or rows)?
-- What events are available to trigger on? How