# wxRuby

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

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

---

## [Not stretching vertically](https://www.ruby-forum.com/t/not-stretching-vertically/193694)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 5\
**Last updated:** [August 24, 2010, 7:17am UTC](https://www.ruby-forum.com/t/not-stretching-vertically/193694 "2010-08-24T07:17:10Z")

</div>

I’m using wxRuby 2.0.1 on a PCLinuxOS system I have a form with a horizontal sizer. The form was built by wsFormBuilder if that matters. The sizer’s proportion is set to 1. There are two controls in the sizer. On the …

---

## [Cannot require 'wx'](https://www.ruby-forum.com/t/cannot-require-wx/193550)

<div class="topic-metadata">

**Author:** [@tutiplain](https://www.ruby-forum.com/u/tutiplain)\
**Replies:** 6\
**Last updated:** [August 19, 2010, 10:31pm UTC](https://www.ruby-forum.com/t/cannot-require-wx/193550 "2010-08-19T22:31:34Z")

</div>

Hi everyone, I’m new to wxRuby. I installed using “gem install wxruby” and it installed version 2.0.1, along with ri and rdoc documentation. I try to test it in irb, but I get this message: irb(main):001:0\> requir…

---

## [MediaCtrl audio not playing](https://www.ruby-forum.com/t/mediactrl-audio-not-playing/192853)

<div class="topic-metadata">

**Author:** [@remosewa](https://www.ruby-forum.com/u/remosewa)\
**Replies:** 0\
**Last updated:** [August 7, 2010, 12:32am UTC](https://www.ruby-forum.com/t/mediactrl-audio-not-playing/192853 "2010-08-07T00:32:04Z")

</div>

Ok, so I have this weird problem, where I load an audio file into a mediacontrol with an unspecified backend.(i call it like this: @mediacontrol = Wx::MediaControl.new(self)) I wanted the audio to play after the audio…

---

## [Unable to run the code using RubyMine editor](https://www.ruby-forum.com/t/unable-to-run-the-code-using-rubymine-editor/192825)

<div class="topic-metadata">

**Author:** [@kavitha](https://www.ruby-forum.com/u/kavitha)\
**Replies:** 3\
**Last updated:** [August 6, 2010, 7:03pm UTC](https://www.ruby-forum.com/t/unable-to-run-the-code-using-rubymine-editor/192825 "2010-08-06T19:03:00Z")

</div>

I am new to Ruby and in the process of learning wxruby. Installed wxruby then I have created a simple ruby code I first went to wxruby\\ruby\\bin and typed ruby wxruby.rb The UI got displayed and everything worked fine. …

---

## [Making a Text Control selected once user hits a button](https://www.ruby-forum.com/t/making-a-text-control-selected-once-user-hits-a-button/192656)

<div class="topic-metadata">

**Author:** [@remosewa](https://www.ruby-forum.com/u/remosewa)\
**Replies:** 1\
**Last updated:** [August 4, 2010, 2:02am UTC](https://www.ruby-forum.com/t/making-a-text-control-selected-once-user-hits-a-button/192656 "2010-08-04T02:02:12Z")

</div>

I want it so that when a user hits a button, that a text control is selected and they can just start typing away and update the text control. Is there anyway to do this?

---

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

<div class="topic-metadata">

**Author:** [@Phillip\_S\_Kerrie\_Sh](https://www.ruby-forum.com/u/Phillip_S_Kerrie_Sh)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 1:25pm UTC](https://www.ruby-forum.com/t/segmentation-fault/192632 "2010-08-03T13:25:04Z")

</div>

Hi, Thank you for publishing WxRuby. I am enjoying the time spent learning how to use it. I now have a 2000 line program that has found a bug in the sample printing.rb code and one in the WxRuby printing subsystem. …

---

## [Dynamicaly loading panels](https://www.ruby-forum.com/t/dynamicaly-loading-panels/192296)

<div class="topic-metadata">

**Author:** [@plugawy](https://www.ruby-forum.com/u/plugawy)\
**Replies:** 4\
**Last updated:** [July 29, 2010, 10:39pm UTC](https://www.ruby-forum.com/t/dynamicaly-loading-panels/192296 "2010-07-29T22:39:56Z")

</div>

Hi I have created my GUI using wxFormBuilder. One of elements I’ve created is a panel which contains two labels and a button - this whole “widget” can be loaded through XRC into a standalone class (generated using Xr…

---

## [Wxruby messagedialog box](https://www.ruby-forum.com/t/wxruby-messagedialog-box/192249)

<div class="topic-metadata">

**Author:** [@Bruce\_Loving](https://www.ruby-forum.com/u/Bruce_Loving)\
**Replies:** 3\
**Last updated:** [July 27, 2010, 4:11pm UTC](https://www.ruby-forum.com/t/wxruby-messagedialog-box/192249 "2010-07-27T16:11:47Z")

</div>

any way to keep a dialog box inside its parent, instead of centered on the screen? require ‘rubygems’ require ‘wx’ include Wx class MyFrame \< Frame def initialize() super(nil,-1,‘Wristband Manager’,:size =\> \[400,…

---

## [Listcontrol problem](https://www.ruby-forum.com/t/listcontrol-problem/192166)

<div class="topic-metadata">

**Author:** [@Bruce\_Loving](https://www.ruby-forum.com/u/Bruce_Loving)\
**Replies:** 3\
**Last updated:** [July 26, 2010, 7:28am UTC](https://www.ruby-forum.com/t/listcontrol-problem/192166 "2010-07-26T07:28:58Z")

</div>

trying to create a list control, filling with data, but it wont scroll vertically or respond to mouse click. require ‘rubygems’ require ‘wx’ include Wx class MyFrame \< Wx::Frame def initialize() super(nil,-1,‘Wrist…

---

## [Latest Windows setup](https://www.ruby-forum.com/t/latest-windows-setup/191973)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 4\
**Last updated:** [July 24, 2010, 1:13am UTC](https://www.ruby-forum.com/t/latest-windows-setup/191973 "2010-07-24T01:13:30Z")

</div>

I’m trying to use the latest Ruby for Windows but get the following error when I require wx. ruby.exe - Unable To Locate Component This application has failed to start because msvcrt-ruby18.dll was not found. Re-inst…

---

## [Using listcontrol](https://www.ruby-forum.com/t/using-listcontrol/192107)

<div class="topic-metadata">

**Author:** [@Bruce\_Loving](https://www.ruby-forum.com/u/Bruce_Loving)\
**Replies:** 1\
**Last updated:** [July 23, 2010, 11:20pm UTC](https://www.ruby-forum.com/t/using-listcontrol/192107 "2010-07-23T23:20:32Z")

</div>

hi, i a new to wxRuby, but have been able to create a frame/listcontrol and fill the list with items. What I do not understand is why the vertical scroll bar on the list does not respond? I have 15 items showing an…

---

## [Error when loading wxruby](https://www.ruby-forum.com/t/error-when-loading-wxruby/191990)

<div class="topic-metadata">

**Author:** [@hamstap85](https://www.ruby-forum.com/u/hamstap85)\
**Replies:** 0\
**Last updated:** [July 22, 2010, 12:34am UTC](https://www.ruby-forum.com/t/error-when-loading-wxruby/191990 "2010-07-22T00:34:31Z")

</div>

I’ve had plenty of wonderful experience with WxRuby on a PC, but whenever I try it on my Ubuntu Linux, I get the same error. I’ve tried two different computers, and they do the same thing, so I’m wondering if it’s an …

---

## [Join me on Facebook](https://www.ruby-forum.com/t/join-me-on-facebook/191878)

<div class="topic-metadata">

**Author:** [@Timothy\_McDowell](https://www.ruby-forum.com/u/Timothy_McDowell)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 6:03am UTC](https://www.ruby-forum.com/t/join-me-on-facebook/191878 "2010-07-20T06:03:35Z")

</div>

Hi General, I have started using Desktop Defender, an application on Facebook, and I think you would like it too. Facebook is a website that lets you connect with your friends, share photos, use applications and more…

---

## [Grid, press enter move cursor right](https://www.ruby-forum.com/t/grid-press-enter-move-cursor-right/191408)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 1\
**Last updated:** [July 13, 2010, 7:57am UTC](https://www.ruby-forum.com/t/grid-press-enter-move-cursor-right/191408 "2010-07-13T07:57:54Z")

</div>

Dear all I want wxgrid to move cursor right instead of down when I press enter how do I do that?

---

## [Distributing and application](https://www.ruby-forum.com/t/distributing-and-application/189753)

<div class="topic-metadata">

**Author:** [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Replies:** 10\
**Last updated:** [July 10, 2010, 8:21am UTC](https://www.ruby-forum.com/t/distributing-and-application/189753 "2010-07-10T08:21:41Z")

</div>

i am currently looking into GUI libraries for cross platform ruby development. the question i have is… if i use wxRuby to develop my application, how do i distribute it? is there a way that i can package it up for SIM…

---

## [Cannot load wxruby in IRB](https://www.ruby-forum.com/t/cannot-load-wxruby-in-irb/191184)

<div class="topic-metadata">

**Author:** [@zengr](https://www.ruby-forum.com/u/zengr)\
**Replies:** 9\
**Last updated:** [July 9, 2010, 4:31am UTC](https://www.ruby-forum.com/t/cannot-load-wxruby-in-irb/191184 "2010-07-09T04:31:27Z")

</div>

Hi, I am new to ruby and trying to make a simple desktop app using wxruby. When I do: require ‘wx’ I get this error: irb(main):001:0\> require ‘wx’ LoadError: dlopen(/usr/local/lib/ruby/gems/1.9.1/gems/wxruby-1.9.3-u…

---

## [Second thread working at slow speed](https://www.ruby-forum.com/t/second-thread-working-at-slow-speed/191241)

<div class="topic-metadata">

**Author:** [@remosewa](https://www.ruby-forum.com/u/remosewa)\
**Replies:** 3\
**Last updated:** [July 8, 2010, 10:24am UTC](https://www.ruby-forum.com/t/second-thread-working-at-slow-speed/191241 "2010-07-08T10:24:12Z")

</div>

I have program that does a bunch of file processing and the GUI froze up every time I ran it. I decided to do the trick of running my main code in a second thread and using the timer to update the gui every 100 ms. Ho…

---

## [Custom event problem](https://www.ruby-forum.com/t/custom-event-problem/191101)

<div class="topic-metadata">

**Author:** [@Svend\_Haugaard\_SSSS](https://www.ruby-forum.com/u/Svend_Haugaard_SSSS)\
**Replies:** 1\
**Last updated:** [July 7, 2010, 10:43am UTC](https://www.ruby-forum.com/t/custom-event-problem/191101 "2010-07-07T10:43:21Z")

</div>

I have some problem making a custom event. It seem like the initilizer is not visible in the scope. Why is that? I have put a little test program in an attachment, can anybody tell me, what is wrong with it?

---

## [Require 'wx' fails](https://www.ruby-forum.com/t/require-wx-fails/191083)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 5\
**Last updated:** [July 6, 2010, 6:31pm UTC](https://www.ruby-forum.com/t/require-wx-fails/191083 "2010-07-06T18:31:03Z")

</div>

I’ve recently reloaded my system. For some reason, I can’t get wxruby to initialize. In irb, I see the following require ‘rubygems’ require ‘wx’ LoadError: libwx\_gtk2u\_media-2.8.so.0: cannot open shared object file: …

---

## [Build Problem for wxruby](https://www.ruby-forum.com/t/build-problem-for-wxruby/191113)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 1\
**Last updated:** [July 6, 2010, 6:23pm UTC](https://www.ruby-forum.com/t/build-problem-for-wxruby/191113 "2010-07-06T18:23:01Z")

</div>

I’m running under PCLinuxOS. I can’t do a gem install for wxruby because PCLinuxOS doesn’t have the libwx\_gtk2u\_media-2.8.so.0 library available anywhere in the repositories. It has the 2.6 version of the library, but …

---

## [File system event?](https://www.ruby-forum.com/t/file-system-event/190956)

<div class="topic-metadata">

**Author:** [@Svend\_Haugaard\_SSSS](https://www.ruby-forum.com/u/Svend_Haugaard_SSSS)\
**Replies:** 1\
**Last updated:** [July 2, 2010, 6:23pm UTC](https://www.ruby-forum.com/t/file-system-event/190956 "2010-07-02T18:23:37Z")

</div>

Hey. I am making a little TaskBar app, whos task it is to monitor a file and change icon when the file is updated. First is there any way to catch a file change event direct in WxRuby? Does WxRuby have a way to catch…

---

## [New Debian/Ubuntu repository!](https://www.ruby-forum.com/t/new-debian-ubuntu-repository/190489)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 2\
**Last updated:** [June 22, 2010, 11:37am UTC](https://www.ruby-forum.com/t/new-debian-ubuntu-repository/190489 "2010-06-22T11:37:59Z")

</div>

Greetings all, I am happy to announce the opening of my own personal repository to store packages in for Debian/Ubuntu. Chiefly amongst these, is the new deb package for wxRuby! This will solve the issues that peop…

---

## [Stuck noobie: XRC/xrcise woes](https://www.ruby-forum.com/t/stuck-noobie-xrc-xrcise-woes/190533)

<div class="topic-metadata">

**Author:** [@jdunneuk](https://www.ruby-forum.com/u/jdunneuk)\
**Replies:** 1\
**Last updated:** [June 22, 2010, 9:44am UTC](https://www.ruby-forum.com/t/stuck-noobie-xrc-xrcise-woes/190533 "2010-06-22T09:44:20Z")

</div>

Hi, I’m teaching myself to use wxRuby and DialogBlocks to create a front end for a Ruby program I wrote. And I’m hopelessly stuck! In DialogBlocks (or indeed wxFormBuilder, which gives me the same problem) I can crea…

---

## [Wx::Dialog: run code when OK button selected](https://www.ruby-forum.com/t/wx-run-code-when-ok-button-selected/189992)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 3\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/wx-run-code-when-ok-button-selected/189992 "2010-06-17T16:22:11Z")

</div>

Howdy; I’m using wxRuby to build menus for a Sketchup plug-in I’m working on. (Specifically, I’m actually using wxSU, http://wxsu.sourceforge.net/, which is basically wxRuby packaged up as a Sketchup plug-in). I’m tr…

---

## [Destroying a Wx::GridTableBase with an active editor](https://www.ruby-forum.com/t/destroying-a-wx-gridtablebase-with-an-active-editor/188164)

<div class="topic-metadata">

**Author:** [@tony44](https://www.ruby-forum.com/u/tony44)\
**Replies:** 2\
**Last updated:** [June 10, 2010, 6:28pm UTC](https://www.ruby-forum.com/t/destroying-a-wx-gridtablebase-with-an-active-editor/188164 "2010-06-10T18:28:07Z")

</div>

Hi! I’m getting a strange effect when I exchange the table base while an editor is active. The edit control would stay active and it would be impossible to remove it from the GUI. Here’s how my app works: There is a…

---

## [STC encoding](https://www.ruby-forum.com/t/stc-encoding/226066)

<div class="topic-metadata">

**Author:** [@mszatanik](https://www.ruby-forum.com/u/mszatanik)\
**Replies:** 2\
**Last updated:** [June 6, 2010, 1:44am UTC](https://www.ruby-forum.com/t/stc-encoding/226066 "2010-06-06T01:44:27Z")

</div>

i’d like to use StyledTextCtrl in my aplication, to edit Watir tests. But i have a great problem with encoding, i work on windows xp (unfortunately) and all tests i have had been written in utf-8, in NetBeans. When i…

---

## [Segmentation fault on paste a long text into Scintilla](https://www.ruby-forum.com/t/segmentation-fault-on-paste-a-long-text-into-scintilla/189551)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 12:44am UTC](https://www.ruby-forum.com/t/segmentation-fault-on-paste-a-long-text-into-scintilla/189551 "2010-06-03T00:44:52Z")

</div>

Hi there, In bundled samples\\scintilla.rb, paste a long one-line text (see below) caused segmentation fault scintilla.rb:166: \[BUG\] Segmentation fault ruby 1.8.7 (2010-01-10 patchlevel 249) \[i386-mingw32\] However, I…

---

## [Gem for snow leopard?](https://www.ruby-forum.com/t/gem-for-snow-leopard/188791)

<div class="topic-metadata">

**Author:** [@sergeych](https://www.ruby-forum.com/u/sergeych)\
**Replies:** 8\
**Last updated:** [May 27, 2010, 11:38pm UTC](https://www.ruby-forum.com/t/gem-for-snow-leopard/188791 "2010-05-27T23:38:45Z")

</div>

Does anybody plan to post binary rem for SL? Id’love to rely on its availability in the installation script… As wx included in installation package makes it huge… Sergey C. removed\_email\_address@domain.invalid

---

## [Grid#set\_cell\_size is missing](https://www.ruby-forum.com/t/grid-set-cell-size-is-missing/189159)

<div class="topic-metadata">

**Author:** [@Yonatan\_E](https://www.ruby-forum.com/u/Yonatan_E)\
**Replies:** 0\
**Last updated:** [May 25, 2010, 7:38pm UTC](https://www.ruby-forum.com/t/grid-set-cell-size-is-missing/189159 "2010-05-25T19:38:31Z")

</div>

Why is there no Grid#set\_cell\_size method? I want to create cells spanning several rows/columns. I get a method\_missing error and it’s not on the docs. require ‘wx’ class GridFrame \< Wx::Frame def initialize super(…

---

## [Keyboard only menus](https://www.ruby-forum.com/t/keyboard-only-menus/188908)

<div class="topic-metadata">

**Author:** [@DunlopS\_Andrew](https://www.ruby-forum.com/u/DunlopS_Andrew)\
**Replies:** 2\
**Last updated:** [May 25, 2010, 3:32pm UTC](https://www.ruby-forum.com/t/keyboard-only-menus/188908 "2010-05-25T15:32:23Z")

</div>

Hello all, I have a popup menu which I want to only be controllable using keyboard (actually it’s a games controller mapped to key presses, but that’s not important). I’m not sure it would be possible to restrict men…

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

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