similar to: Segfault with GridCellChoiceEditor

Displaying 20 results from an estimated 300 matches similar to: "Segfault with GridCellChoiceEditor"

2007 Dec 18
1
Dynamic Task Bar Menu Items
Am looking for a way to dynamically add menu items to a task bar icon menu. And then once selected - I would like to get the title of the menu item. The general idea is to read a text file: Project1 Project2 Project3 ===== Add those to the task bar menu, and when i select (for example) Project2, I want to pass the string "Project2" to the code. Also - Am wondering about how to get
2010 Feb 24
3
Mouse wheel events in a grid cell editor?
I''m trying to do some advanced editing using Grids. I''ve created my own editors and updating view and model both works fine so far. Thanks to whoever made this possible. I like wxRuby more each day! Now I''d like to catch mousewheel events in order to increment/decrement a grid cell editor. I''ve tried installing a handler in begin_edit of my editor and removing
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''
2007 Jul 25
11
taskbaricon
Salut alex, j''ai un petit souci. quand j''utilise "demotaskbaricon" avec traducteur-wxruby, que j''ouvre mon application(donc l''icone apparaƮt dans la barre de lancement rapide) et que je ferme mon application, l''icone disparaƮt tout de suite. Mais quand je l''utilise avec l''exemple Wizard et que je ferme mon application
2008 Jan 28
4
GridTableBase
Hello all, i''m using wxruby 1.9.4 with Grid and the model class: "GridTableBase" like in the code below. But the method set_table of the grid does''nt work. Can anyone help me? require ''wx'' include Wx class MyGridTableBase < GridTableBase def get_attr row, col, attr_kind ## end def get_number_rows 0
2008 Jan 14
3
Adding menu items to a TaskBar
Hello I''m looking for a way to add menu items to a task bar icon menu. I have created a popup menu. And I want to add to a task bar icon menu items for example projects but it must be after user log in. 1. User log in 2. getting list of projects 3. adding menu items into task bar menu with project I attch a file with source code which I already written Thenks for reply''s
2008 Mar 06
2
How to set exit on close??
I want to set close window when press ''X'' in top-right I make wxruby GUI from Farpy guie but I can''t close it (when I close I must press close in cmd and the return -1) how can I set it?? Attachments: http://www.ruby-forum.com/attachment/1521/untitled.JPG -- Posted via http://www.ruby-forum.com/.
2008 Jan 29
1
wxruby and ActiveRecord
Hello, i''m running wxruby 1.9.4, and i show my ActiveRecord data in a grid (with GridTableBase) (a grid with 30 columns) >From my base Window, i open and close the GridWindow. After several openings and closes, this message appears: c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_ record/base.rb:1860: [BUG] Segmentation fault ruby 1.8.6 (2007-03-13)
2001 Nov 10
2
Drive use in wine
I'm running Wine release 20011004 and have created the floppy and CDs drives for my floppy, CD and CDRW. I am automounting the devices. 1. I've noticed that if I don't have a floppy or CD in the drive wine ignores it and even if I insert a disk later the app (notepad) never sees it. 2. I have two CDs, one a Creative DVD and the other a Plextor CDRW, and I've created the
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
2006 Jul 24
6
MiniFrame.i
Hi Another little patch, adding MiniFrame (a frame with small title bar and buttons which doesn''t appear in the desktop taskbar). Also a sample - not very interesting, happy to roll this into something else if that''s better. cheers alex _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2007 Nov 18
2
Issues adding sub-menu items
Hello All, I''m new to the list and to Ruby. I was trying to use one of the examples as a skeleton for something that I''m working on. I''m currently stuck when it comes to adding another item to the sub-menus. I have a menu item by the name of "Tools" and I would like to add a sub-menu item called "Find Unique Fields" but it doesn''t show up
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note the new %directorargout typemap I added to fix wxWindows calling into SWIG. I don''t know if this can fix all such problems or not. Let me know what you think. I also rubified the sample a little bit more. Also, note that I fix the << operator so the function can be called. I hope I did this right. Roy
2006 Sep 07
2
A little bit of sugar
Hi Do a search on ''wxruby'' and you''ll see that people''s main gripes are 1) stability 2) development progress 3) documentation and 4) syntax. We''re making great progress on 1-3 so thought it seemed like a good time to start looking at 4). So here''s announcing a first release of WxSugar. It can be downloaded via gems (gem install wx_sugar)
2007 Feb 07
2
Problems Generating Scaffolding
I am having trouble generating some of my scaffolding. I''m trying to use PostgreSQL as my back-end. Some of my scaffolding generates with no problem but for other parts I get this: Before updating scaffolding from new DB schema, try creating a table for your model The tables do exist. At least I can see them from psql. Here is the SQL I''m using to create my tables: CREATE
2004 May 22
4
couple of questions
Hi folks A couple of questions: 1) I seem to get funny artifacts in the display of TreeCtrl, ComboBox and ListBox when the MDI child frame containing it is first painted (see attached - it should be two-root treeview, unopened). I''m not sure if it''s related to being in a MDI, but the controls sample looks OK. The artifacts are cleared up when it''s repainted or
2008 Mar 05
2
simulating the anova
I have been trying to figure out how to run a simple simulation of the ANOVA and I'm coming up just a bit short. The code I've got is: cohen.f = .25 groups = 4 between.var = 19 within.var = between.var / cohen.f ^ 2 n = 500 sim.means = rnorm(n = groups, mean = 0, sd = sqrt(between.var)) sim.data = lapply(sim.means, function(mean) rnorm(n = n, mean = mean, sd = sqrt(within.var)))
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,
2008 May 11
2
instabilities in wxRuby 1.9.6
I have recently started to use wxRuby, because I have used the wxWidgets library from C++ for a few years and found it an excellent toolkit. I am using Ubuntu 8.04 and version 1.9.6 of wxRuby. A problem though is a number of instabilities. This may be due to my own ignorance, but I have usually found C++/wxWidgets, once the program compiles it will at least stay working, if at times
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: