Displaying 20 results from an estimated 23 matches for "wxgrid".
Did you mean:
xgrid
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 of s...
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 translated the simple
one from wxWidgets.org:
http://www.lpthe.jussieu.fr/~zeitlin/wxWindows/docs/wxwin516.htm#topic974
I have attached my example for experts to rev...
2005 Aug 31
5
Re: event handlers for wxGrid
I got a warning from the list about the attachments being too big so I
am not sure if the original went through. So here is a zip of the
files.
Sean
On 8/30/05, Sean Long <sean.m.long@gmail.com> wrote:
> I added all the event handlers for wxGrid. These patches also have
> changes from my previous patches that have not been commited yet
> (choicebook). wxGrid is actually getting useful now!
>
> Sean
>
>
>
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rub...
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 &q...
2004 Nov 22
1
Layout Issue ...
The following program represents the basic layout of my application. The
problem I have is that the panel, and thus, the grid does not resize
when the window width is expanded.
Also, I would like the entire grid to be displayed without the
horizontal scroll bar. How can I force this behavior?
Please tell me if I am going about this incorrectly. I am just getting
familar with wxRuby and any
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
2009 Mar 19
6
xrc file and WxGrid
...olumns, resizing columns, populating it with data, etc.
but still nothing.
I look at the XRC file and see that this is all it is:
<object class="sizeritem">
<option>1</option>
<flag>wxALL</flag>
<border>5</border>
<object class="wxGrid" name="grid_videos" />
</object>
Does XRC not handle Wx::Grid properties?
~Trans.
2004 Dec 09
6
Scrolling to the bottom of a Grid
Hi,
Thanks to the newly added event handlers for Wx::Grid in the 0.6.0
release, I can now provide a much slicker intreface to my "data widgets"
which heavily rely on that control.
However, I haven''t quite figured out how to programmatically scroll to
the last row of a populated grid (actually, the first empty row). So
say that I have a grid with 200 rows only 20 of which
2005 Aug 20
1
patches for wxGridCell*Renderer and wxGridCell*Editor
I added a bunch of *.i files to get the cell renderers and editors
working for wxGrid. I still have a problem when switching cells in the
grid but I think that is a problem with wxGrid, will look into it.
In the process I found a bug in a typemap for wxArrayString & that I
am surprised we did not find earlier. ($input = Qnil) should be
($input == Qnil), big difference. Also add...
2005 Sep 10
8
Tagged wxruby2 v0.0.29, plus added more directors
Since things seemed to be somewhat stable (that is, wxruby2 compiles and
runs on all three platforms), I tagged what has been there for a couple
days as v0_0_29. Nothing magic about it, but it had been a while since I
had tagged.
Then I worked on adding directors to the classes that don''t have them,
in the hopes of avoiding more segfault crashes during garbage
collection. I was able
2004 Jun 11
9
Handling Events that don''t take an ID
Hey Kevin,
Am I correct in assuming that if I want a particular widget to respond to an
event which doesn''t take an ID as an argument (like evt_size or
evt_left_down), that I have to inherit a new widget and define the event
handler within the inherited class? Here''s a little contrived code example
to illustrate what I mean:
class MyCtrl < Wx::TextCtrl
def
2004 Nov 21
7
wxRuby 0.6.0 is released!
...ubyForge 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 to Zach Dennis)
* wxBusyCursor and wxWindowDisabler interfaces changed to match the
wxruby-swig interface.
----------
What is wxRuby?
wxRuby is an open source GUI toolkit for the Ruby programming
language. It provides a Ruby interface to the cross-platform
wxWidgets C++ G...
2007 Apr 13
0
[951] branches/wxruby2/wxwidgets_282: Additions to Grid API 2.6->2.8
...>2.8</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#brancheswxruby2wxwidgets_282doctextilegridtxtl">branches/wxruby2/wxwidgets_282/doc/textile/grid.txtl</a></li>
<li><a href="#brancheswxruby2wxwidgets_282swigclassesincludewxGridh">branches/wxruby2/wxwidgets_282/swig/classes/include/wxGrid.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="brancheswxruby2wxwidgets_282doctextilegridtxtl"></a>
<div class="modfile"><...
2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid sample.
...end
-
- evt_grid_editor_created do |evt|
- set_status_text("Control #{evt.get_control} created")
- evt.skip
- end
-
- evt_grid_cell_change() do |evt|
- set_status_text("Cell #{evt.get_row} x #{evt.get_col} has changed")
- end
- end
-
- # Create a wxGrid object
- def make_grid(panel)
- @grid = Wx::Grid.new(panel, -1)
-
- # Then we call CreateGrid to set the dimensions of the grid
- # (11 rows and 12 columns in this example)
- @grid.create_grid( 20, 12 )
- @grid.set_default_cell_background_colour(Wx::WHITE)
- # We can set the size...
2007 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid sample
...end
+
+ evt_grid_editor_created do |evt|
+ set_status_text("Control #{evt.get_control} created")
+ evt.skip
+ end
+
+ evt_grid_cell_change() do |evt|
+ set_status_text("Cell #{evt.get_row} x #{evt.get_col} has changed")
+ end
+ end
+
+ # Create a wxGrid object
+ def make_grid(panel)
+ @grid = Wx::Grid.new(panel, -1)
+
+ # Then we call CreateGrid to set the dimensions of the grid
+ # (11 rows and 12 columns in this example)
+ @grid.create_grid( 20, 12 )
+ @grid.set_default_cell_background_colour(Wx::WHITE)
+ # We can set the size...
2007 Apr 09
2
GridTableBase problem
Trying to setup a GridTableBase to hold some floating point numbers for
a Grid. Getting an error with the following:
table = Wx::GridTableBase.new
Error:
C:/ruby/work/wxtest/test.rb:151:in `on_find'': uninitialized constant
Wxruby2::Gr
idTableBase (NameError)
from
c:/ruby/lib/ruby/gems/1.8/gems/wx_sugar-0.1.14/lib/wx_sugar/event_c
onnector.rb:123:in `call''
2006 Apr 30
0
latest cvs head makes api more strongly typed
In previous versions the following would work as you expect with a
dynamic language like Ruby.
Method signature of wxGrid::SetRowLabelSize
void SetRowLabelSize(int width)
ex.
gird = Wx::Grid.new(....)
grid.set_row_label_size(some_value*0.5)
which Ruby translates to
gird = Wx::Grid.new(....)
grid.set_row_label_size((some_value*0.5).to_i)
In the latest cvs head you get this error:
`set_row_label_size'': in m...
2004 Jul 13
0
Adding to the wiki
...d/or
> not self contained, then I would at least stick a warning at the top
of the
> page telling readers that the page is under construction and not yet
> complete.
>
> Curt
>
> > Zach Dennis wrote:
> > >
> > > I would like to add information/tutorial to wxGrid and the
> > like. How can I
> > > add a tutorials to the wiki?
> >
> > Great! We really need more documentation like this.
> >
> > I assume, you know how to use and edit wiki pages, so I won''t cover that
> > (unless you tell me I''m wron...
2007 Jan 25
0
[855] trunk/wxruby2/swig/classes/include/parents.rb: Parenting for GridBagSizer
...t;span class="cx"> ''wxGenericDirCtrl'' => ''wxControl'',
</span><span class="cx"> ''wxGenericValidator'' => ''wxValidator'',
</span><span class="cx"> ''wxGrid'' => ''wxScrolledWindow'',
</span><ins>+ ''wxGridBagSizer'' => ''wxFlexGridSizer'',
</ins><span class="cx"> ''wxGridCellBoolEditor'' => ''wxGridCellEditor'',
<...
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:
> http://rubyforge.org/projects/rake
>...