# wxRuby

**URL:** https://www.ruby-forum.com/c/desktop/wxruby/29.md?page=14

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 15

---

## [Validation and ComboBox](https://www.ruby-forum.com/t/validation-and-combobox/160705)

<div class="topic-metadata">

**Author:** [@David\_Peoples](https://www.ruby-forum.com/u/David_Peoples)\
**Replies:** 3\
**Last updated:** [February 19, 2009, 7:38am UTC](https://www.ruby-forum.com/t/validation-and-combobox/160705 "2009-02-19T07:38:03Z")

</div>

I’m trying to make a ComboBox that can be typed into but only accepts entries that are already in the drop-down list. I hoped a combination of the CB\_DROPDOWN style and a TextValidator with the FILTER\_INCLUDE\_LIST wou…

---

## [Compatibility Issues?](https://www.ruby-forum.com/t/compatibility-issues/160351)

<div class="topic-metadata">

**Author:** [@woodzer](https://www.ruby-forum.com/u/woodzer)\
**Replies:** 4\
**Last updated:** [February 16, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/compatibility-issues/160351 "2009-02-16T21:45:18Z")

</div>

I’m running Ruby 1.9.1 (Win32) and I installed the wxruby-1.9.10-x86-mswin32-60 gem. But when I try to run a script with it, I get an error, “This application has failed to start because msvcrt-ruby18.dll was not fou…

---

## [Undefined method (XRC problem)](https://www.ruby-forum.com/t/undefined-method-xrc-problem/160328)

<div class="topic-metadata">

**Author:** [@rustee](https://www.ruby-forum.com/u/rustee)\
**Replies:** 6\
**Last updated:** [February 16, 2009, 7:57pm UTC](https://www.ruby-forum.com/t/undefined-method-xrc-problem/160328 "2009-02-16T19:57:01Z")

</div>

I’m trying to get my first small test wxRuby app up and running. I have created an XRC file using DialogBlocks and then used xrcise to produce the ruby code which loads it. I then did a bit of cutting and pasting to p…

---

## [Is there a good book?](https://www.ruby-forum.com/t/is-there-a-good-book/160296)

<div class="topic-metadata">

**Author:** [@rubina](https://www.ruby-forum.com/u/rubina)\
**Replies:** 4\
**Last updated:** [February 14, 2009, 11:11pm UTC](https://www.ruby-forum.com/t/is-there-a-good-book/160296 "2009-02-14T23:11:28Z")

</div>

Hi wxruby community, Can anyone recommend a good (beginner) book for wxruby? RDOC is fine once you it, but I find wx very complex and I can’t find any documentation. Even the “bigdemo” is kind when one do not know t…

---

## [tÃ©lÃ©chargement et affichage d 'image avec HtmlWindow](https://www.ruby-forum.com/t/ta-la-chargement-et-affichage-d-image-avec-htmlwindow/160229)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 2\
**Last updated:** [February 13, 2009, 6:28pm UTC](https://www.ruby-forum.com/t/ta-la-chargement-et-affichage-d-image-avec-htmlwindow/160229 "2009-02-13T18:28:49Z")

</div>

Bonjour Ã tous. Je ne trouve pas la mÃ©thode qui pourrait me permettre de tÃ©lÃ©charger des images sur le web sans avoir ce genre de message d’erreur quand je les affiches avec “HtmlWindow”: Corrupt JPEG data: 1 ext…

---

## [How to hide horizontal scrollbar in StyledTextCtrl?](https://www.ruby-forum.com/t/how-to-hide-horizontal-scrollbar-in-styledtextctrl/160131)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 2\
**Last updated:** [February 12, 2009, 11:37pm UTC](https://www.ruby-forum.com/t/how-to-hide-horizontal-scrollbar-in-styledtextctrl/160131 "2009-02-12T23:37:38Z")

</div>

Hi, The StyledTextCtrl sample (samples\\scintilla.rb) shows the horizontal scrollbar by default, even there is no text in the editor. How to turn off that option? PS. The doc for StyledTextEvent is missing, http://…

---

## [wxRuby and Test::Unit (or Rspec or whatever)](https://www.ruby-forum.com/t/wxruby-and-test-unit-or-rspec-or-whatever/159103)

<div class="topic-metadata">

**Author:** [@Clinton\_Forbes](https://www.ruby-forum.com/u/Clinton_Forbes)\
**Replies:** 7\
**Last updated:** [February 11, 2009, 6:34pm UTC](https://www.ruby-forum.com/t/wxruby-and-test-unit-or-rspec-or-whatever/159103 "2009-02-11T18:34:55Z")

</div>

This is my first post to the mailing list, so “Hello All”. I have a question about wxRuby and having automated tests of my GUI. Is anyone doing this? I have plenty of experience testing Rails apps with Test::Unit and…

---

## [How to make a Dialog as a function?](https://www.ruby-forum.com/t/how-to-make-a-dialog-as-a-function/159930)

<div class="topic-metadata">

**Author:** [@Carlos\_Troncoso\_Phi](https://www.ruby-forum.com/u/Carlos_Troncoso_Phi)\
**Replies:** 1\
**Last updated:** [February 11, 2009, 7:49am UTC](https://www.ruby-forum.com/t/how-to-make-a-dialog-as-a-function/159930 "2009-02-11T07:49:18Z")

</div>

Hi there! Let me state my dilema. I’m most sure that there must be working codes that does what I want. Usually, a function is just a “black box” that you feed “something”, then it “does something to it”, and it thro…

---

## [Problem running Samples](https://www.ruby-forum.com/t/problem-running-samples/158549)

<div class="topic-metadata">

**Author:** [@rustee](https://www.ruby-forum.com/u/rustee)\
**Replies:** 37\
**Last updated:** [February 8, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/problem-running-samples/158549 "2009-02-08T18:10:23Z")

</div>

Hi. I’m desperately trying to learn Ruby and wxWidgets, on my 64-bit Linux machine. However when I try to run any of the samples from the command line I get the following error message: ruby: symbol lookup error: /us…

---

## [Getting DC for a TxtCtrl](https://www.ruby-forum.com/t/getting-dc-for-a-txtctrl/159725)

<div class="topic-metadata">

**Author:** [@rossgoodell](https://www.ruby-forum.com/u/rossgoodell)\
**Replies:** 2\
**Last updated:** [February 8, 2009, 3:57am UTC](https://www.ruby-forum.com/t/getting-dc-for-a-txtctrl/159725 "2009-02-08T03:57:50Z")

</div>

I need to find where the mouse has been clicked in a TextCtrl. To do this I’ve been using “@lastPixelPt = evt.get\_position” in my evt\_left\_down method but have discovered that this gives me a physical position in the…

---

## [Copy/Paste problems in dragdrop.rb](https://www.ruby-forum.com/t/copy-paste-problems-in-dragdrop-rb/158322)

<div class="topic-metadata">

**Author:** [@rmcghee](https://www.ruby-forum.com/u/rmcghee)\
**Replies:** 5\
**Last updated:** [February 7, 2009, 7:14pm UTC](https://www.ruby-forum.com/t/copy-paste-problems-in-dragdrop-rb/158322 "2009-02-07T19:14:05Z")

</div>

Windows XP Professional + SP3 ruby 1.8.6 wxRuby 1.9.9 The drag and drop sample results in segmentation faults. Instructions to reproduce: Run dragdrop.rb (…/samples/dragdrop/dragdrop.rb) Click on Clipboard tab …

---

## [Form submission in WXRUBY](https://www.ruby-forum.com/t/form-submission-in-wxruby/159705)

<div class="topic-metadata">

**Author:** [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Replies:** 1\
**Last updated:** [February 7, 2009, 1:01pm UTC](https://www.ruby-forum.com/t/form-submission-in-wxruby/159705 "2009-02-07T13:01:17Z")

</div>

Hi All, My Question: I want to open a new Window That window must contain Text field and Button Enter “1” in that text field Click Button. That Given “1” must come to Ruby program(add VALUE+1) and return the outpu…

---

## [wxRuby - Segmentation fault](https://www.ruby-forum.com/t/wxruby-segmentation-fault/159489)

<div class="topic-metadata">

**Author:** [@rmcghee](https://www.ruby-forum.com/u/rmcghee)\
**Replies:** 4\
**Last updated:** [February 7, 2009, 10:36am UTC](https://www.ruby-forum.com/t/wxruby-segmentation-fault/159489 "2009-02-07T10:36:50Z")

</div>

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 postin…

---

## [wxRuby distribution for Windows available](https://www.ruby-forum.com/t/wxruby-distribution-for-windows-available/159664)

<div class="topic-metadata">

**Author:** [@chauk-mean](https://www.ruby-forum.com/u/chauk-mean)\
**Replies:** 0\
**Last updated:** [February 6, 2009, 7:56pm UTC](https://www.ruby-forum.com/t/wxruby-distribution-for-windows-available/159664 "2009-02-06T19:56:33Z")

</div>

Hi all, For those who don’t want to build ruby or cannot wait for the availability of the new One Click Installer, here it is … A wxRuby distribution for Windows bundling : ruby-1.9.1-p0 with its minimal dependency …

---

## [wxRuby Release Candidate 1 (or, wxRuby 1.9.10)](https://www.ruby-forum.com/t/wxruby-release-candidate-1-or-wxruby-1-9-10/159461)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 3\
**Last updated:** [February 5, 2009, 11:38pm UTC](https://www.ruby-forum.com/t/wxruby-release-candidate-1-or-wxruby-1-9-10/159461 "2009-02-05T23:38:32Z")

</div>

Hi I’m pleased to announce the release of wxRuby 2.0 Release Candidate 1 (officially, wxRuby 1.9.10, to play safe with RubyGems versioning). The major effort in this release has been fixing outstanding bugs. All of t…

---

## [Control Characters](https://www.ruby-forum.com/t/control-characters/158968)

<div class="topic-metadata">

**Author:** [@alexh](https://www.ruby-forum.com/u/alexh)\
**Replies:** 6\
**Last updated:** [February 4, 2009, 6:32pm UTC](https://www.ruby-forum.com/t/control-characters/158968 "2009-02-04T18:32:44Z")

</div>

I am attempting a text editor using wxRuby. I’m having character issues. Strings are not binary-safe. Some characters are not allowed. newline / line feed (\\n), tab (\\t) are displayed carraige return (\\r) is stripped …

---

## [Proper way to use SplashScreen?](https://www.ruby-forum.com/t/proper-way-to-use-splashscreen/159266)

<div class="topic-metadata">

**Author:** [@mahlon](https://www.ruby-forum.com/u/mahlon)\
**Replies:** 3\
**Last updated:** [February 3, 2009, 7:09pm UTC](https://www.ruby-forum.com/t/proper-way-to-use-splashscreen/159266 "2009-02-03T19:09:48Z")

</div>

Hey all. I’m using Wx 1.9.9 on ruby 1.8.6. I can’t seem to instantiate a SplashScreen without causing a SystemStackError – am I doing something wrong? This code is in my App’s on\_init() method: splash\_img = Wx::Bit…

---

## [Ruby 1.9.1, WxRuby, and Windows](https://www.ruby-forum.com/t/ruby-1-9-1-wxruby-and-windows/159115)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 2\
**Last updated:** [February 2, 2009, 4:32pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-wxruby-and-windows/159115 "2009-02-02T16:32:22Z")

</div>

I’m not on the general ruby-talk list at present, and have some questions that, somewhat surprisingly, I could not find answers to, despite much web searching. Is the official version of Ruby 1.9.1 delayed? I thoug…

---

## [Colour bug?](https://www.ruby-forum.com/t/colour-bug/159133)

<div class="topic-metadata">

**Author:** [@rmcghee](https://www.ruby-forum.com/u/rmcghee)\
**Replies:** 1\
**Last updated:** [February 1, 2009, 4:35am UTC](https://www.ruby-forum.com/t/colour-bug/159133 "2009-02-01T04:35:28Z")

</div>

Here is some code to demonstrate that “==” doesn’t seem to work completely for colour. The only problem I’ve noticed is when testing against nil. #--------------------------------------------------- require ‘wx’ in…

---

## [Help understanding EVERYTHING](https://www.ruby-forum.com/t/help-understanding-everything/158956)

<div class="topic-metadata">

**Author:** [@rubina](https://www.ruby-forum.com/u/rubina)\
**Replies:** 4\
**Last updated:** [January 31, 2009, 5:58pm UTC](https://www.ruby-forum.com/t/help-understanding-everything/158956 "2009-01-31T17:58:52Z")

</div>

Team, I am trying to learn a GUI for Ruby and I picked wxRuby. The problem is that I am kind of slow learning this and I now feel frustrated after trying for about at least 7 hours. I am trying to design a simple Sud…

---

## [Menu.delete returned "wrong # of argument" on Mac](https://www.ruby-forum.com/t/menu-delete-returned-wrong-of-argument-on-mac/158197)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 1\
**Last updated:** [January 23, 2009, 1:30pm UTC](https://www.ruby-forum.com/t/menu-delete-returned-wrong-of-argument-on-mac/158197 "2009-01-23T13:30:37Z")

</div>

Hi, I was trying to delete menu items in a submenu, the code worked fine on Windows, but failed on Mac. I modified the sample bigdemo/wxMenu.rbw, def menu\_101(event) @log.write\_text(“Welcome to Mercury”) # New here…

---

## [Wxruby et ubuntu](https://www.ruby-forum.com/t/wxruby-et-ubuntu/158151)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 3\
**Last updated:** [January 20, 2009, 7:24pm UTC](https://www.ruby-forum.com/t/wxruby-et-ubuntu/158151 "2009-01-20T19:24:57Z")

</div>

Bonjour. Je voudrais savoir ce qu’il faut installer sur ubuntu pour pouvoir crÃ©er des applications avec wxruby? Pouvez-vous m’indiquer des liens qui pourraient me renseigner sur l’installation? Est-il possible d’in…

---

## [wxRuby dialog separate from main Ruby script execution](https://www.ruby-forum.com/t/wxruby-dialog-separate-from-main-ruby-script-execution/157789)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 6\
**Last updated:** [January 17, 2009, 12:50pm UTC](https://www.ruby-forum.com/t/wxruby-dialog-separate-from-main-ruby-script-execution/157789 "2009-01-17T12:50:10Z")

</div>

Hi, We have quite a large codebase in Ruby which uses Log4r to log errors, warnings etc. I have been trying to create a log window dialog using wxRuby that can be popped up if a piece of code generates an error or w…

---

## [Help with project viewer](https://www.ruby-forum.com/t/help-with-project-viewer/157912)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 3\
**Last updated:** [January 17, 2009, 9:47am UTC](https://www.ruby-forum.com/t/help-with-project-viewer/157912 "2009-01-17T09:47:07Z")

</div>

I’ve just begun using wxRuby and I’ve been finding my feet with things quite easily, however there’s one thing I’m uncertain of at the moment which I’d like to do and that’s a project viewer. I know that it would have…

---

## [Creating a Progress Bar](https://www.ruby-forum.com/t/creating-a-progress-bar/156964)

<div class="topic-metadata">

**Author:** [@sweatje](https://www.ruby-forum.com/u/sweatje)\
**Replies:** 2\
**Last updated:** [January 15, 2009, 2:50pm UTC](https://www.ruby-forum.com/t/creating-a-progress-bar/156964 "2009-01-15T14:50:25Z")

</div>

All, I am attempting to add a progress bar to my application. What is prompting the progress bar to be displayed is the pressing of a button. This button performs an action, and for the sake of an example, lets say …

---

## [wxRuby 1.9.9 apps don't work (gNewSense 2.1)](https://www.ruby-forum.com/t/wxruby-1-9-9-apps-dont-work-gnewsense-2-1/155733)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 17\
**Last updated:** [January 15, 2009, 2:48pm UTC](https://www.ruby-forum.com/t/wxruby-1-9-9-apps-dont-work-gnewsense-2-1/155733 "2009-01-15T14:48:07Z")

</div>

Hello, I installed wxRuby through rubygems but I can’t use it. When I try the sample apps I get the following error: fla@nutabe:~/biblioteca/programaciÃ³n/ruby/wxruby\_doc/samples/minimal$ ruby minimal.rb /var/lib/g…

---

## [Displaying a progress dialog](https://www.ruby-forum.com/t/displaying-a-progress-dialog/157612)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 7\
**Last updated:** [January 15, 2009, 2:33pm UTC](https://www.ruby-forum.com/t/displaying-a-progress-dialog/157612 "2009-01-15T14:33:35Z")

</div>

Hi, trying to display a progress dialog tied to a Frame using via… dlg = Wx::ProgressDialog.new("title", "task", max, self, Wx::PD\_CAN\_ABORT | Wx::PD\_APP\_MODAL) max and self both have valid values but everytime i try …

---

## [Initializing a Frame seems to fail](https://www.ruby-forum.com/t/initializing-a-frame-seems-to-fail/157749)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 6\
**Last updated:** [January 15, 2009, 12:51am UTC](https://www.ruby-forum.com/t/initializing-a-frame-seems-to-fail/157749 "2009-01-15T00:51:22Z")

</div>

/usr/bin/ruby -w /Users/Tim/wxrmc.rb /Users/Tim/wxrmc.rb:9:in \`new’: Error initializing #Wx::Frame:0x74ecf8 (ArgumentError) : Wrong arguments for overloaded method ‘wxFrame.new’. Possible C/C++ prototypes are: wxFra…

---

## [wxruby2::DefaultValidator not defined](https://www.ruby-forum.com/t/wxruby2-defaultvalidator-not-defined/157689)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 2\
**Last updated:** [January 14, 2009, 2:17pm UTC](https://www.ruby-forum.com/t/wxruby2-defaultvalidator-not-defined/157689 "2009-01-14T14:17:15Z")

</div>

Hi, trying to display a bitmap button, don’t have a validator at the moment so using wxruby’s defaultvalidator method, b = Wx::BitmapButton.new(self, 10, 'assets/images\_only\_btn.jpg', Wx::Point.new(170,210), Wx::Size.…

---

## [Segmentation Fault : \[i386-mswin32\] in wxruby](https://www.ruby-forum.com/t/segmentation-fault-i386-mswin32-in-wxruby/157568)

<div class="topic-metadata">

**Author:** [@lcyeap](https://www.ruby-forum.com/u/lcyeap)\
**Replies:** 9\
**Last updated:** [January 14, 2009, 1:44am UTC](https://www.ruby-forum.com/t/segmentation-fault-i386-mswin32-in-wxruby/157568 "2009-01-14T01:44:37Z")

</div>

Greetings, I have created a GUI to generate a output text file using wxruby. my program codes are about ~1400 lines. ruby : 1.8.6 wxruby : 1.9.7 rails : 2.1.0 FYI, I am using the TextCtrl & combobox in the main GUI…

[Previous page](https://www.ruby-forum.com/c/desktop/wxruby/29.md?page=13)

[Next page](https://www.ruby-forum.com/c/desktop/wxruby/29.md?page=15)
