Displaying 20 results from an estimated 200 matches similar to: "RE: wxGrid example"
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
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 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
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
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
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
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 added a type check
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
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
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
2007 Apr 13
0
[951] branches/wxruby2/wxwidgets_282: Additions to Grid API 2.6->2.8
<!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:
2005 Feb 28
3
test/unit error report for win32-service
Dan,
I am assuming that the version in CVS is the most current one.
Report follows.
-- shanko
------------------------------------------------------
C:\win32utils\win32-service\test>ruby tc_service.rb
This test will stop and start your Clipboard service, as well as
pause and
resume your Schedule service. This is harmless unless you are actually
using these services at the moment you
2004 May 24
9
Combo Box
>> You really want to call get_value. Unfortunately, that''s not
implemented
>> in wxRuby 0.3.0.
>I found to my surprise that this method is actually working, but only
in the
>example code that comes with wxRuby one-click install for Windows.
@combo.get_label seems to work for me.
See sample code below.
HTH,
Assaph
----- CODE -----
require ''wxruby''
2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid 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:
2008 Sep 10
1
radeon and FreeBSD freeze
Boris Samorodov wrote:
> The most convenient way to freeze the OS is to finish gnome session.
> When gdm is reloading the whole mashine freezes at gnome greeter.
> The mouse cursor freezes while being a clock-buzzer. Ctrl-alt-del
> doesn't help, only reset does.
>
> > Does disabling DRI in xorg.conf fixes the problem ?
>
> Didn't try, but may do if it may help.
2004 Jun 19
4
FlexGridSizer question
=begin
I am trying to understand how FlexGridSizer works and I have written a small
test application using the latest wxRuby 0.4.0 on Win XP (Home).
I cannot get static text ''Week'', ''Day'' and ''Date'' line up above the OK button.
I have tried all combinations of ALIGN flags, but I either got the text sticking
far too close to the left edge of
2004 Apr 24
5
win32-taskscheduler alpha
Well, I''m going to release the first version of win32-taskscheduler today.
For now, I''ve kept the API about the same as it originally was because I was
spending way too much time futzing around and I wanted to get something out
the door.
For now, I''m calling this a BETA release, with the API subject to change.
See the ''Future Plans'' section of
2007 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid 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:
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