# wxRuby

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

[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:** 11

---

## [Rb++ vs. swig](https://www.ruby-forum.com/t/rb-vs-swig/177852)

<div class="topic-metadata">

**Author:** [@Mister\_Gibson](https://www.ruby-forum.com/u/Mister_Gibson)\
**Replies:** 1\
**Last updated:** [October 25, 2009, 4:09pm UTC](https://www.ruby-forum.com/t/rb-vs-swig/177852 "2009-10-25T16:09:38Z")

</div>

Dear wxruby, Have you looked into RB++ as an alternative to swig? http://rbplusplus.rubyforge.org/ I’d love to hear your thoughts on this. Cheers.

---

## [Wxruby2.so: \[BUG\] Segmentation fault on require 'wx'](https://www.ruby-forum.com/t/wxruby2-so-bug-segmentation-fault-on-require-wx/177836)

<div class="topic-metadata">

**Author:** [@gawk007](https://www.ruby-forum.com/u/gawk007)\
**Replies:** 2\
**Last updated:** [October 25, 2009, 1:29pm UTC](https://www.ruby-forum.com/t/wxruby2-so-bug-segmentation-fault-on-require-wx/177836 "2009-10-25T13:29:15Z")

</div>

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

---

## [Change title of first menu in Mac OS](https://www.ruby-forum.com/t/change-title-of-first-menu-in-mac-os/177786)

<div class="topic-metadata">

**Author:** [@pixellover](https://www.ruby-forum.com/u/pixellover)\
**Replies:** 4\
**Last updated:** [October 24, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/change-title-of-first-menu-in-mac-os/177786 "2009-10-24T18:10:03Z")

</div>

Hi List, currently I’m experimenting with wxRuby. I’m want to create a multi- platform application which feels native on all three systems (OS X, Linux, Windows). Currently one small thing is bohering me on Mac OS. M…

---

## [WXRuby crashes on Debian SID](https://www.ruby-forum.com/t/wxruby-crashes-on-debian-sid/177734)

<div class="topic-metadata">

**Author:** [@esox\_ch](https://www.ruby-forum.com/u/esox_ch)\
**Replies:** 1\
**Last updated:** [October 23, 2009, 3:02pm UTC](https://www.ruby-forum.com/t/wxruby-crashes-on-debian-sid/177734 "2009-10-23T15:02:46Z")

</div>

Hello, When I install wxruby using the gem on my Debian Sid, I cannot make it work : $ ruby /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/samples/minimal/minimal.rb /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-…

---

## [wxRuby on Snow Leopard 10.6](https://www.ruby-forum.com/t/wxruby-on-snow-leopard-10-6/175803)

<div class="topic-metadata">

**Author:** [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Replies:** 12\
**Last updated:** [October 21, 2009, 2:42pm UTC](https://www.ruby-forum.com/t/wxruby-on-snow-leopard-10-6/175803 "2009-10-21T14:42:19Z")

</div>

I upgraded from Leopard to Snow Leopard and noticed my wxRuby project would no longer run. I put more information here, but was told my post “seems” to contain spam. More information if requested. /Library/Ruby/Gems…

---

## [AcceleratorTable to "tab" the formular & trapping signals from frame border buttons](https://www.ruby-forum.com/t/acceleratortable-to-tab-the-formular-trapping-signals-from-frame-border-buttons/177141)

<div class="topic-metadata">

**Author:** [@Maximilian\_BrSSS\_ut](https://www.ruby-forum.com/u/Maximilian_BrSSS_ut)\
**Replies:** 1\
**Last updated:** [October 13, 2009, 2:27am UTC](https://www.ruby-forum.com/t/acceleratortable-to-tab-the-formular-trapping-signals-from-frame-border-buttons/177141 "2009-10-13T02:27:19Z")

</div>

Hi all, I have two problems and I would be very happy if we could solve them. Thanks in advance. my first problem: I want to realise a formular for user input that is able to switch the activated TextCtrl (there are…

---

## [How to use menuitems](https://www.ruby-forum.com/t/how-to-use-menuitems/226052)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 1\
**Last updated:** [October 13, 2009, 2:27am UTC](https://www.ruby-forum.com/t/how-to-use-menuitems/226052 "2009-10-13T02:27:19Z")

</div>

When I try to work with menus I get the following error message after selecting “Red” from the colour menu. The following code produces the following error message. What am I doing wrong and how do I fix it. Thank y…

---

## [Print problem with Mac OS X cutting pages](https://www.ruby-forum.com/t/print-problem-with-mac-os-x-cutting-pages/176374)

<div class="topic-metadata">

**Author:** [@Arno\_Dirlam](https://www.ruby-forum.com/u/Arno_Dirlam)\
**Replies:** 3\
**Last updated:** [October 7, 2009, 12:10am UTC](https://www.ruby-forum.com/t/print-problem-with-mac-os-x-cutting-pages/176374 "2009-10-07T00:10:27Z")

</div>

Hi, I am using the wxruby printing framework to print cash receipts with a small thermo-printer, which can naturally produce very long pages if a lot of articles are printed on them. Under Windows XP there are no pr…

---

## [Printing plain text directly without dialogues](https://www.ruby-forum.com/t/printing-plain-text-directly-without-dialogues/170992)

<div class="topic-metadata">

**Author:** [@Arno\_Dirlam](https://www.ruby-forum.com/u/Arno_Dirlam)\
**Replies:** 1\
**Last updated:** [October 6, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/printing-plain-text-directly-without-dialogues/170992 "2009-10-06T16:25:07Z")

</div>

Hi, I recently searched for ways printing plain (but formatted) text directly and without major requirements using ruby and stumbled upon wxruby, which seems to be a nice framework that would meet my requirements qu…

---

## [Segmentation fault on BitmapComboBox.get\_string](https://www.ruby-forum.com/t/segmentation-fault-on-bitmapcombobox-get-string/176776)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 0\
**Last updated:** [October 6, 2009, 5:11am UTC](https://www.ruby-forum.com/t/segmentation-fault-on-bitmapcombobox-get-string/176776 "2009-10-06T05:11:09Z")

</div>

Hi, BitmapComboBox displays and sends events fine, but failed to return string value. Error: wxToolBar.rbw:67: \[BUG\] Segmentation fault ruby 1.8.6 (2008-03-03) \[i386-mswin32\] Also failed on Ruby mingw 1.8.6 ruby 1…

---

## [Rupyscript2exe for Mac / Linux and good tutorial](https://www.ruby-forum.com/t/rupyscript2exe-for-mac-linux-and-good-tutorial/176473)

<div class="topic-metadata">

**Author:** [@paerez](https://www.ruby-forum.com/u/paerez)\
**Replies:** 1\
**Last updated:** [October 1, 2009, 9:22am UTC](https://www.ruby-forum.com/t/rupyscript2exe-for-mac-linux-and-good-tutorial/176473 "2009-10-01T09:22:38Z")

</div>

Hi, all I was wondering if somebody can recommend 2 things: An alternative for rubyscript2exe for Mac / Linux. It would be really nice if there was a unified way to “compile” quote on quote a wxruby app into an e…

---

## [Button Event problem within Wizard](https://www.ruby-forum.com/t/button-event-problem-within-wizard/176384)

<div class="topic-metadata">

**Author:** [@el-gato](https://www.ruby-forum.com/u/el-gato)\
**Replies:** 5\
**Last updated:** [September 30, 2009, 4:30pm UTC](https://www.ruby-forum.com/t/button-event-problem-within-wizard/176384 "2009-09-30T16:30:48Z")

</div>

In the code below my panel1\_impt button and panel1\_dnld buttons don’t trigger the button event. I’m banging my head against the table wondering what’s going on. Can anyone advise? wizard = Wx::Wizard.new(self, :titl…

---

## [Get\_value problems and more, beginner](https://www.ruby-forum.com/t/get-value-problems-and-more-beginner/176379)

<div class="topic-metadata">

**Author:** [@alexanderl](https://www.ruby-forum.com/u/alexanderl)\
**Replies:** 1\
**Last updated:** [September 29, 2009, 11:48pm UTC](https://www.ruby-forum.com/t/get-value-problems-and-more-beginner/176379 "2009-09-29T23:48:33Z")

</div>

Hello! I have just got in to WxRuby and i already enjoy it alot. But i have some problem. I am doing a very simple port-scanner, very basic socket. “TCPSocket.open(ipaddress.chop, port)” - Like that. But now i want t…

---

## [How to make Window run cli, disable until command finish, then 	re-enable?](https://www.ruby-forum.com/t/how-to-make-window-run-cli-disable-until-command-finish-then-re-enable/176204)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 2\
**Last updated:** [September 29, 2009, 5:53am UTC](https://www.ruby-forum.com/t/how-to-make-window-run-cli-disable-until-command-finish-then-re-enable/176204 "2009-09-29T05:53:40Z")

</div>

Dear all, confused with the subject? me too I plan to create my own gui for avg for Linux (on ver 8.5, they only provide cli) my plan is, when I press button, it will run command line (plan to use puts some comman…

---

## [Running code after a modal dialog is shown](https://www.ruby-forum.com/t/running-code-after-a-modal-dialog-is-shown/176054)

<div class="topic-metadata">

**Author:** [@Ben\_Van\_Hof](https://www.ruby-forum.com/u/Ben_Van_Hof)\
**Replies:** 2\
**Last updated:** [September 24, 2009, 6:27pm UTC](https://www.ruby-forum.com/t/running-code-after-a-modal-dialog-is-shown/176054 "2009-09-24T18:27:32Z")

</div>

Hi all, I’m looking for a way to get a block of code to execute once a modal dialog has been displayed (via a call to show\_modal.) I was hoping to find some event that would fire when the window was shown, but the on…

---

## [wxHTML redering bug](https://www.ruby-forum.com/t/wxhtml-redering-bug/175774)

<div class="topic-metadata">

**Author:** [@biospank](https://www.ruby-forum.com/u/biospank)\
**Replies:** 1\
**Last updated:** [September 19, 2009, 10:30pm UTC](https://www.ruby-forum.com/t/wxhtml-redering-bug/175774 "2009-09-19T22:30:31Z")

</div>

Hi all, probably the new wxruby distribution is built on the wxwidgets \<= 2.8.10. FYI latest stable wxwidgets distribution (2.8.10) introduced a new bug wxTrac has been migrated to GitHub Issues - wxWidgets fixed on …

---

## [How to make my application executable in Mac OS X?](https://www.ruby-forum.com/t/how-to-make-my-application-executable-in-mac-os-x/175231)

<div class="topic-metadata">

**Author:** [@simonvetterli](https://www.ruby-forum.com/u/simonvetterli)\
**Replies:** 2\
**Last updated:** [September 11, 2009, 11:20am UTC](https://www.ruby-forum.com/t/how-to-make-my-application-executable-in-mac-os-x/175231 "2009-09-11T11:20:47Z")

</div>

Hi all, I am trying to make my new wxRuby app look as professional as possible on Mac OS X and I’ve encountered two annoying problems I could use some help with. How do I make my app into an executable? So far I’ve…

---

## [App freezes on wxruby-19-2.0.1 on Windows, fine on Mac](https://www.ruby-forum.com/t/app-freezes-on-wxruby-19-2-0-1-on-windows-fine-on-mac/175271)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 1\
**Last updated:** [September 10, 2009, 7:13pm UTC](https://www.ruby-forum.com/t/app-freezes-on-wxruby-19-2-0-1-on-windows-fine-on-mac/175271 "2009-09-10T19:13:26Z")

</div>

With wxRuby-ruby19- v2.0.1, my app works well on Mac. But on Windows, it freezes after typing up to a dozen of characters in a StyledTextControl, mouse operations are fine. Once freezing, Ctrl+C couldn’t end the proc…

---

## [GridTableBase](https://www.ruby-forum.com/t/gridtablebase/175180)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 2\
**Last updated:** [September 10, 2009, 4:57am UTC](https://www.ruby-forum.com/t/gridtablebase/175180 "2009-09-10T04:57:30Z")

</div>

Dear all, I do pretty well with grid, create\_grid and set\_grid\_value but then I figure GridTableBase I plan to use it with sqlite3 I read the doc and cannot understand how to use it can anyone post here (or point a …

---

## [wxRuby 2.0.1](https://www.ruby-forum.com/t/wxruby-2-0-1/175196)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 4\
**Last updated:** [September 10, 2009, 1:36am UTC](https://www.ruby-forum.com/t/wxruby-2-0-1/175196 "2009-09-10T01:36:01Z")

</div>

Hi I’m pleased to let you know that wxRuby 2.0.1 is now on Rubyforge: http://rubyforge.org/frs/?group\_id=35&release\_id=38847 Binary gems for Ruby 1.8 and Ruby 1.9 on all the major platforms are available; an update t…

---

## [wxRuby install problem](https://www.ruby-forum.com/t/wxruby-install-problem/173901)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 1\
**Last updated:** [September 7, 2009, 1:38am UTC](https://www.ruby-forum.com/t/wxruby-install-problem/173901 "2009-09-07T01:38:12Z")

</div>

I was in a weird state. This post is long just because I give point by point evidence to help you quickly spot where my brain drove off the rails. The problem is that I have wxRuby installed (apparently) but ruby does…

---

## [Filling Wx::ListCtrl with contents](https://www.ruby-forum.com/t/filling-wx-listctrl-with-contents/196995)

<div class="topic-metadata">

**Author:** [@Maximilian\_BrSSS\_ut](https://www.ruby-forum.com/u/Maximilian_BrSSS_ut)\
**Replies:** 5\
**Last updated:** [September 7, 2009, 1:29am UTC](https://www.ruby-forum.com/t/filling-wx-listctrl-with-contents/196995 "2009-09-07T01:29:19Z")

</div>

Hi all, I’ve got a question concerning ListCtrl\_virtual of wxRuby since I see no way filling the list with dynamic contents. I’m new to Ruby so I maybe have to apologise for my request. The problem is, that I have to…

---

## [Build troubles on fedora 11](https://www.ruby-forum.com/t/build-troubles-on-fedora-11/174517)

<div class="topic-metadata">

**Author:** [@Dmitry\_aSU](https://www.ruby-forum.com/u/Dmitry_aSU)\
**Replies:** 2\
**Last updated:** [August 30, 2009, 8:48pm UTC](https://www.ruby-forum.com/t/build-troubles-on-fedora-11/174517 "2009-08-30T20:48:13Z")

</div>

Because of “official” wxruby gem won’t work on Fedora 11 distro eveel@notazik{/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86-linux/samples /minimal}% ./minimal.rb /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86-linux/lib/w…

---

## [TreeCtrl Scrolling](https://www.ruby-forum.com/t/treectrl-scrolling/174525)

<div class="topic-metadata">

**Author:** [@lrosenman](https://www.ruby-forum.com/u/lrosenman)\
**Replies:** 2\
**Last updated:** [August 29, 2009, 5:04am UTC](https://www.ruby-forum.com/t/treectrl-scrolling/174525 "2009-08-29T05:04:21Z")

</div>

I have been playing around with the wxRuby TreeCtrl for a couple of weeks now and I can’t figure out how to get the scrolling to work. I believe it has scrolling built in but I can’t get the to show up. I can place …

---

## [Debugging sizer usage and gui layout](https://www.ruby-forum.com/t/debugging-sizer-usage-and-gui-layout/174106)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 2\
**Last updated:** [August 28, 2009, 3:41pm UTC](https://www.ruby-forum.com/t/debugging-sizer-usage-and-gui-layout/174106 "2009-08-28T15:41:11Z")

</div>

In other gui packages I have seen special ‘debug modes’ on panels or frames which highlighted the specific placement and size of each window and subwindow (as determined by sizers) to help you visualize why things are…

---

## [Scrollbar](https://www.ruby-forum.com/t/scrollbar/174352)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 2\
**Last updated:** [August 27, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/scrollbar/174352 "2009-08-27T23:56:23Z")

</div>

Bonjour. Quand j’exÃ©cute mon application et que l’arbre (TreeCtrl) est dÃ©ployÃ©, la scrollbar se place vers le bas. Est-il possible de la maintenir vers le haut? Et si oui, comment faire? merci SÃ©bastien http:/…

---

## [Libwx\_gtk2u\_media not found](https://www.ruby-forum.com/t/libwx-gtk2u-media-not-found/174477)

<div class="topic-metadata">

**Author:** [@letroll](https://www.ruby-forum.com/u/letroll)\
**Replies:** 1\
**Last updated:** [August 27, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/libwx-gtk2u-media-not-found/174477 "2009-08-27T23:44:40Z")

</div>

bonjour, Je viens d’installer le dernier netbeans, et en passant par sont gestionnaire de gem, d’installer wxruby. ProblÃ¨me j’essai de l’utiliser avec le simple hello world fournis sur le site et netbeans me retourne…

---

## [Paste event](https://www.ruby-forum.com/t/paste-event/174320)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 1\
**Last updated:** [August 25, 2009, 9:19am UTC](https://www.ruby-forum.com/t/paste-event/174320 "2009-08-25T09:19:27Z")

</div>

Here’s my code for: evt\_menu(@m\_menu\_paste) { pastetext } using wxruby2.0 def pastetext # this function is used to paste text from the clipboard and # does a simple test to see if the pasted text is a number # or a …

---

## [Xrcise -o test.rb ui.xrc](https://www.ruby-forum.com/t/xrcise-o-test-rb-ui-xrc/173515)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 1\
**Last updated:** [August 25, 2009, 1:48am UTC](https://www.ruby-forum.com/t/xrcise-o-test-rb-ui-xrc/173515 "2009-08-25T01:48:11Z")

</div>

I built a small form in wxFormBuilder. In cmd i wrote xrcise -o test.rb ui.xrc output was C:/ruby/lib/ruby/gems/1.9.1/gems/wx\_sugar-0.1.22/lib/wx\_sugar/xrc/outputter.rb:4 6:in clean\_id\_attr\_readers': undefined methode…

---

## [TextCtrl performance for large files](https://www.ruby-forum.com/t/textctrl-performance-for-large-files/173765)

<div class="topic-metadata">

**Author:** [@rossgoodell](https://www.ruby-forum.com/u/rossgoodell)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 11:38am UTC](https://www.ruby-forum.com/t/textctrl-performance-for-large-files/173765 "2009-08-14T11:38:04Z")

</div>

I’ve been trying to speed up my program, which uses a TextCtrl, for large files by getting rid of code using line numbers. However, it seems that just using the get\_range method is slowing down my program for large f…

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

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