similar to: wxGrid Event handling work around?

Displaying 20 results from an estimated 400 matches similar to: "wxGrid Event handling work around?"

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 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 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
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 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''
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
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 11
5
Re: FW: problems installing wxruby
Jeremy Stell-Smith wrote: > Thanks a lot for the help, guys. I''m up and running with 2.4.2, but I > did have a few questions. Excellent. > So first, a friend and I basically have this month to dedicate to trying > to get a ruby ide pilot built on top of wxRuby. So, no, I really can''t > wait a few weeks to start. Any chance you could commit changes into cvs
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 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 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: >
2004 Jul 12
28
Windows compilation problems
Last week I was struggling to get xrc built into wxRuby and finally got it to compile. The problem I am now having is that the normal samples are not working at all (have not even tried any xrc stuff yet). So to test if it is a problem with xrc or my build process I tried compiling wxRuby without XRC, this caused the same error to be printed out as the failed XRC build. The output (in both
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
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
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
2006 Feb 07
3
ActiveRecord for kirbybase?
I''ve found vague mentions of various attempts at creating an ActiveRecord adapter for the KirbyBase pure Ruby DBMS, but nothing which looks like it''s actually working. Anyone know of such an adapter that is functional and available? b
2006 Mar 24
9
Escaping characters
Hi, I am writing some help about post formatting. I am using redcloth to format the text, and in a FAQ, also formatted with redcloth, I explain what to type to what to obtain. So, how could I escape ''*'', ''#'' & Co, to have an output like <redcloth> Type *word* to obtain <strong>word</strong> </redcloth> I tried "Type
2004 Apr 26
7
TRW: getters and setters
Hi all, I mentioned this on the forum but wasn''t sure if anyone was paying attention. I was just wondering if it would be possible to replace the get_something/set_something style methods with the more Rubyish something/something= style (i.e. uniform access). For example, the Button class currently has button.get_label and button.set_label("foo"). It would give me warm,
2004 Aug 25
7
problem subclassing Wx::Menu
Hi folks I''m trying to make a class to make Wx::Menu easier for me to use and hide the constants and event-binding complexity. I''ve created a subclass of Wx::Menu, but whether I create my own append() method and call super(), or create a differently-named method and called append() from it, it seems to segfault. Sample attached, see line 20. Am I doing something stupid?