similar to: Newbie can''t get sample/etc/wizard.rb to work

Displaying 20 results from an estimated 4000 matches similar to: "Newbie can''t get sample/etc/wizard.rb to work"

2007 Nov 09
6
Wx::Notebook tabs, bug reports on...
Thank you Alex for the answer to my previous question -- it was exactly what I was looking for! Moving on, I have some bugs to report: I''m using the Wx::Notebook class and it looks to me like Wx::NB_LEFT, Wx::NB_RIGHT, and Wx::NB_BOTTOM are defined incorrectly. To get my tabs to appear on the bottom, for example, I find I have to use Wx::NB_LEFT. Same symptom in
2006 Oct 05
2
0.36 release problem?
I tried sending this a day or two ago but I didn''t see it appear. I''ve just tried the wxRuby 0.36 release but appear to get the following error (I got it from bigdemo.rb too). C:\opt\ruby\lib\ruby\gems\1.8\gems\wxruby2-preview-0.0.36-i386-mswin32\samples\minimal>minimal Our Initialize was called Their Initialize returned 1
2007 Jul 10
5
Seg Fault caused by StatusBar. Am I doing something wrong?
Some odd bug cropped up when I made a bunch of code changes to my app recently. I started getting the following everytime I closed the app: ---------------------------------- [BUG] Segmentation fault ruby 1.8.6 (2007-03-13) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application''s support team for more information.
2007 Oct 24
3
API doc update coming?
I''ve upgraded from 1.9.0 to 1.9.2 and am finding that the errors I''m getting don''t match the docs. For example, in Wx::ListCtrl: - The doc makes no mention of on_get_item_column_image(), but without this method I get NoMethodError. - The doc says on_get_item_attr() *may* be overloaded, but if I don''t define it, I get NoMethodError. The API doc appears to
2007 Sep 28
1
WxWizard Error
Hey All, Looks like there''s a few bugs with the controls dealing with Wx::Wizard. I''ve gone through it a bit, and seems like there''s some errors beyond what I could fix. An example is: # wxWizard A wizard dialog Wx::define_keyword_ctors(''Wizard'') do wx_ctor_params :title => '''' wx_ctor_params :bitmap =>
2007 Nov 12
4
XRCise says "Cannot create wrapper for subclass of wxWizard"
I have created a very simple DialogBlocks project that consists of a very simple wxWizard. I have exported the project to XRC and am trying to get XRCise to process it. XRCise produces the message "Cannot create wrapper for subclass of wxWizard". Is this a symptom of the XPath parsing in Ruby 1.8.6 bug? Or am I doing something wrong? My env: ruby 1.8.6 (2007-03-13 patchlevel 0)
2009 Feb 05
4
wxRuby - Segmentation fault
# Windows XP Professional + SP3 # ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] # wxruby (1.9.9) If you can tell me how to update to 1.9.10, I''d be happy to run this and a few other tests. Also, if I should be posting bugs somewhere else, please let me know. Here''s a bit of code to reproduce a seg fault: -----------------------------------------------------------
2005 Aug 17
7
Volunteer requested: Implement SplitterWindow
About a year ago (ouch!), Robert Carlin submitted a ported version of the wxPython demo/sample. I hoped to include it in wxruby2, but it relies on SplitterWindow, which isn''t in wxruby2 yet. I tried to implement SplitterWindow myself, but got such strange results that I''m thinking I did something wrong. Even though the generated C++ code specified a variable number of
2005 Aug 09
5
wxruby2 release goals
Greetings all, The recent ruby-talk posting about wx (cross-posted here by Curt) made it clear that we need to release some code soon, to present a public image of moving forward. Thus, my first goal is to release a "preview" version of wxruby2 as soon as we have a version that builds and can run the minimal sample on all three major platforms (Linux, MS Win, Mac OSX). This would
2006 Aug 24
5
TreeCtrl background?
On my windows build, I just noticed that the background of my TextCtrl''s is grey by default, and when I try to set the default style I get the error: TestTextCtrl.rb:15:in `set_default_style'': undefined method `'' for #<Wxruby2::TextCtrl:0x360a0c4> (NoMethodError) from TestTextCtrl.rb:15:in `initialize'' from TestTextCtrl.rb:24:in
2006 Aug 15
1
Segmentation Fault
I was finally able to build wxruby2 yesterday. Today I tried switching an existing app over to wxruby2, but on running it I received a segmentation fault error. I then created a quick minimal script to see if the error still occurred. Here is the minimal script. # *** BEGIN SCRIPT *** require ''wx'' include Wx class PPGui < App def on_init Frame.new(nil, -1, "The
2008 Feb 17
15
A bug in wxRuby. Segmentation fault in random situations.
Hello, I wrote an application in wxRuby: ruby 1.8.6 wxruby 1.9.4 installed from gem windows xp sp2 After several minutes of running it crashes with the following error: "c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27: [BUG] Segmentation fault ruby 1.8.6 (2007-03-13) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please contact
2008 Jan 19
5
No joy from Wx::App.dispatch, Wx::App.yield...
OK, back with another iteration of the same problem... I updated my game demo, but the Close button failed to respond when (and only when) there were too many objects onscreen. The drawing loop is probably lasting longer than my drawing timer interval. I was able to reproduce the problem in my (probably familiar by now) test script just by boosting the number of lines drawn per frame. After
2005 Sep 27
5
WxRuby + Ruby/SDL
Hi, I am making a game with Ruby/SDL and have run into trouble finding a GUI to cooperate. I have seen numerous examples of wxWindows in combination with SDL (wxPython and PyGame), but have yet to be able to do it in ruby (PyGame example: http://wiki.wxpython.org/index.cgi/IntegratingPyGame). I am not very good with wxRuby as this is my first time using it and thought some more knowledgable users
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 _______________________________________________
2007 Oct 04
1
wxRuby: MemoryDC problems...
I''m trying to put together a quick test of buffered animation with WxRuby, but I''m encountering a fair amount of trouble... I''m drawing to a Wx::Bitmap first, then using Wx::DC#draw_bitmap to copy it to a Wx::Window. But I get the following error: C:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.1-i386-mswin32/lib/wx/classes/bitmap.rb:18:in `draw'': uninitialized
2007 Nov 08
1
Why don''t my tabs look as nice as theirs?
Hello again, I''m running my WxRuby scripts on Windows XP. I am new at GUI coding. Here''s what I don''t understand: why my WxRuby notebook tabs don''t look like notebook tabs in other apps running on the same machine. I''ve attached two little examples. The first (mine.gif) shows what I get with WxRuby. The second (theirs.gif) is from a typical app
2006 Dec 02
7
Gauge Problem with XRC?
Hi I''ve just started using wxruby2-preview-0.0.36-i386-mswin32 outsourcing layout part to the external XRC file. Almost everything seems to be fine. Only that I can never retrieve Gauge objects in the main script. What I''ve been trying is something like this: class MainFrame < Wx::Frame include Wx def initialize(parent) super(nil,-1, "")
2008 Nov 01
13
wxRuby 1.9.9 released
Hello I''m happy to announce that wxRuby version 1.9.9 is now available for download and gem installation: http://rubyforge.org/frs/?group_id=35&release_id=27842 gem install wxruby On Linux, the default binary gem is now dynamically linked to wxWidgets. This means you''ll need to install wxWidgets from your package manager. See below for more info. == CHANGES == This
2009 Oct 25
2
wxruby2.so: [BUG] Segmentation fault on require 'wx'
Hi -- I am trying to get ruby 1.9 to run on my Windows Vista Ultimate computer with and Intel 32 bit processor and all OS updates applied. I installed ruby 1.9 on October 23, 2009 using the zip file (ruby-1.9.1-p129-i386-mswin32.zip) and the instructions located at: http://blog.orangecabin.com/2009/05/install-ruby-1-9-on-windows-using-zip-binary/. I was able to run several simple scripts. So far