# wxRuby

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

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

---

## [Grid Cell Background Colour](https://www.ruby-forum.com/t/grid-cell-background-colour/219840)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 18, 2012, 7:15pm UTC](https://www.ruby-forum.com/t/grid-cell-background-colour/219840 "2012-05-18T19:15:49Z")

</div>

On to my next question. :slight\_smile: I’ve been trying to get the cell background colour to work for a Wx::Grid control. Setting a default background colour works, but using the set\_cell\_background\_colour method f…

---

## [Notebook Change Page Event Handling](https://www.ruby-forum.com/t/notebook-change-page-event-handling/219808)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 17, 2012, 5:28pm UTC](https://www.ruby-forum.com/t/notebook-change-page-event-handling/219808 "2012-05-17T17:28:36Z")

</div>

I’m still a bit new to Ruby, but have been using WxRuby for a couple of months now. I’ve created a notebook with a few pages, and am having a tough time understanding how to implement an event handler that would get …

---

## [Key event down](https://www.ruby-forum.com/t/key-event-down/219679)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 11, 2012, 9:24am UTC](https://www.ruby-forum.com/t/key-event-down/219679 "2012-05-11T09:24:06Z")

</div>

i cannot do work key down event pls give me a hand thanks this is my code: require “rubygems” require “wx” include Wx class MyFrame \< Frame def initialize super(nil, #Parent :title =\> …

---

## [Printing (on Windows) without using any print dialogs](https://www.ruby-forum.com/t/printing-on-windows-without-using-any-print-dialogs/218960)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 19, 2012, 10:35pm UTC](https://www.ruby-forum.com/t/printing-on-windows-without-using-any-print-dialogs/218960 "2012-04-19T22:35:49Z")

</div>

I am developing a Windows application that is going to print on envelopes (C5 and C6 envelopes) based on data, that is retrieved from an external order system. The application is going to be running mostly automatic. …

---

## [Getting wxRuby to work on Ubuntu 11.10](https://www.ruby-forum.com/t/getting-wxruby-to-work-on-ubuntu-11-10/216640)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 13\
**Last updated:** [April 13, 2012, 12:41pm UTC](https://www.ruby-forum.com/t/getting-wxruby-to-work-on-ubuntu-11-10/216640 "2012-04-13T12:41:17Z")

</div>

I’ve just subscribed to this list and now see another went through a similar process about the same time. I made a page on the wxRuby wiki with some notes about the eventual success but I am not satisfied so will be w…

---

## [Tooltip (help text) on toobar button not showing](https://www.ruby-forum.com/t/tooltip-help-text-on-toobar-button-not-showing/154076)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 2\
**Last updated:** [April 10, 2012, 12:07am UTC](https://www.ruby-forum.com/t/tooltip-help-text-on-toobar-button-not-showing/154076 "2012-04-10T00:07:26Z")

</div>

Hi, In BigDemo\\wxToolBar.rbw tb.add\_tool(10, “New”, xpm\_bitmap(‘new.xpm’), “Long help for New”) The text “Long help for New” is not shown when mouse hover over toolbar buttons. Env: WinXP, Ruby 1.8.6, wxRuby 1.9.9 m…

---

## [wxAuiFloatingFrame get\_parent not supported](https://www.ruby-forum.com/t/wxauifloatingframe-get-parent-not-supported/217456)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 1, 2012, 10:53pm UTC](https://www.ruby-forum.com/t/wxauifloatingframe-get-parent-not-supported/217456 "2012-03-01T22:53:47Z")

</div>

ruby 1.9.3, wxWidgets 2.8.11, wxruby 2.0.1, ubuntu 11.10 x86\_64 To get my sizers to update everything in some cases I need to: self.parent.send\_size\_event Self is a derived class of Wx::ScrolledWindow The scrolledWin…

---

## [Invalid gem format on ruby 1.9](https://www.ruby-forum.com/t/invalid-gem-format-on-ruby-1-9/217069)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 21, 2012, 10:03am UTC](https://www.ruby-forum.com/t/invalid-gem-format-on-ruby-1-9/217069 "2012-02-21T10:03:44Z")

</div>

Hi, I have developed a small wxruby app on my old mac using wxruby 2.0.1 on ruby 1.8.6. I am trying to upgrade now, and have encountered some problems. I use rvm to install ruby 1.9.2, then I run gem install wxruby-…

---

## [TreeCtrl event help](https://www.ruby-forum.com/t/treectrl-event-help/226266)

<div class="topic-metadata">

**Author:** [@andresdsn](https://www.ruby-forum.com/u/andresdsn)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 5:05am UTC](https://www.ruby-forum.com/t/treectrl-event-help/226266 "2012-02-20T05:05:39Z")

</div>

hey could someone hel me cus I need to get the label for the selected item when expanded but when I use the method evt\_tree\_expaded or evt\_tree\_expanding it gives me nil like this: require ‘wx’ include Wx class MyFr…

---

## [Installing wxRuby on Eclipse (Fedora)](https://www.ruby-forum.com/t/installing-wxruby-on-eclipse-fedora/216721)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [February 12, 2012, 9:32am UTC](https://www.ruby-forum.com/t/installing-wxruby-on-eclipse-fedora/216721 "2012-02-12T09:32:42Z")

</div>

I installed Eclipse with Ruby plugin on Linux (Fedora). I am writing a simple GUI desktop application and want to use wxRuby. Is wxRuby bundled with the Eclipse Ruby plugin or I need to install it?

---

## [Installing from source missing -lruby18 in linking](https://www.ruby-forum.com/t/installing-from-source-missing-lruby18-in-linking/216693)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 11, 2012, 6:16pm UTC](https://www.ruby-forum.com/t/installing-from-source-missing-lruby18-in-linking/216693 "2012-02-11T18:16:00Z")

</div>

I am trying to build wxruby from source, but I have encounter an error. For some reason the ‘rake’ command fail when it tries to link lib/wxruby2.so because it is missing missing -lruby18 resulting in errors like wx…

---

## [Ubuntu 11.10 wxRuby source compilation](https://www.ruby-forum.com/t/ubuntu-11-10-wxruby-source-compilation/216400)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [February 4, 2012, 4:59pm UTC](https://www.ruby-forum.com/t/ubuntu-11-10-wxruby-source-compilation/216400 "2012-02-04T16:59:01Z")

</div>

Hello, I am quite a beginner in the Linux world, so excuse me my ignorance. I tried to compile the wxRuby source files, just as described on the official instruction for Ubuntu users: http://wxruby.rubyforge.org/wiki…

---

## [wxRuby and Rubinius](https://www.ruby-forum.com/t/wxruby-and-rubinius/214970)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [December 22, 2011, 4:54pm UTC](https://www.ruby-forum.com/t/wxruby-and-rubinius/214970 "2011-12-22T16:54:05Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, I managed to compile wxRuby 2.0.1 against the current Rubinius master using both Rubinius’ 1.8 and 1.9 mode on my 64bits Arch Linux system. Here’s the used Rub…

---

## [Thread.new](https://www.ruby-forum.com/t/thread-new/214232)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [November 26, 2011, 11:12am UTC](https://www.ruby-forum.com/t/thread-new/214232 "2011-11-26T11:12:53Z")

</div>

This code runs fine (except you can’t mess with the window until the 10 loops are finished). But if the comment mark is moved down to the 10.times do so that it can run in a different thread, nothing below Thread.new…

---

## [Gentoo ebuild for latest version?](https://www.ruby-forum.com/t/gentoo-ebuild-for-latest-version/213719)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [November 9, 2011, 9:53pm UTC](https://www.ruby-forum.com/t/gentoo-ebuild-for-latest-version/213719 "2011-11-09T21:53:09Z")

</div>

DO anybody use wxruby on gentoo. The last update of my gentoo platform broke my wxruby programs. The ebuild I have in my /usr/local/portage is for version 1.9.8 of wxruby and it uses version \<1.3.36 of swig, but port…

---

## [ERROR - libwx\_gtk2u\_media-2.8.so.0: cannot open shared object file](https://www.ruby-forum.com/t/error-libwx-gtk2u-media-2-8-so-0-cannot-open-shared-object-file/213313)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 30, 2011, 10:33am UTC](https://www.ruby-forum.com/t/error-libwx-gtk2u-media-2-8-so-0-cannot-open-shared-object-file/213313 "2011-10-30T10:33:05Z")

</div>

Hi all, I’ve been working with wxruby for a while with an Ubuntu 10.04 environment mounted with VMWare over Windows. Now, I’m trying to set it up in a new environment. It’s Ubuntu 11.04, using RVM with both ruby 1.…

---

## [How to balance between GUI and Speed?](https://www.ruby-forum.com/t/how-to-balance-between-gui-and-speed/206914)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [October 27, 2011, 12:14pm UTC](https://www.ruby-forum.com/t/how-to-balance-between-gui-and-speed/206914 "2011-10-27T12:14:08Z")

</div>

Hi everyone, I’m using WxRuby to develop a GUI app, and it needs to transfer files through ftp. If I use ftp.put\_binary method, the GUI can response, but the ftp is very slow. And if I use Process.create and Process…

---

## [XP and Windows 7 -- def() inside App#run block problem](https://www.ruby-forum.com/t/xp-and-windows-7-def-inside-app-run-block-problem/212753)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [October 20, 2011, 11:04pm UTC](https://www.ruby-forum.com/t/xp-and-windows-7-def-inside-app-run-block-problem/212753 "2011-10-20T23:04:50Z")

</div>

(slightly edited) When I run the following code, I expect a blank frame to open (which is what happens when the def block is left out of the code). Instead, the program exits immediately. ruby 1.9.2p290 (2011-07-09) …

---

## [Having trouble show/hide bitmap in a sizer](https://www.ruby-forum.com/t/having-trouble-show-hide-bitmap-in-a-sizer/212682)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 12, 2011, 3:03pm UTC](https://www.ruby-forum.com/t/having-trouble-show-hide-bitmap-in-a-sizer/212682 "2011-10-12T15:03:00Z")

</div>

I’m trying to display one of two separate bitmap images along with some text. The images are a check and and a cross symbol and are displayed as FIRMWARE C or FIRMWARE X or FIRMWARE where C would be my checkmark …

---

## [WxRuby refresh from a long running function](https://www.ruby-forum.com/t/wxruby-refresh-from-a-long-running-function/212572)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [October 11, 2011, 1:44pm UTC](https://www.ruby-forum.com/t/wxruby-refresh-from-a-long-running-function/212572 "2011-10-11T13:44:03Z")

</div>

Hi All, This is my first post and I am a complete (well almost complete) noob at WxRuby. I have programmed in Ruby for a while, but now I am trying my hand at a GUI base program running on Windows. There is quite a…

---

## [Creating custom widget](https://www.ruby-forum.com/t/creating-custom-widget/212373)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 2, 2011, 3:34am UTC](https://www.ruby-forum.com/t/creating-custom-widget/212373 "2011-10-02T03:34:50Z")

</div>

Hi, I’m trying to learn and experiment with Ruby a bit so I decided to make a simple diagram editor using wxruby. The problem is, I will need to create a custom widget for the diagram components (e.g. rectangles, con…

---

## [Packaging wxRuby fails](https://www.ruby-forum.com/t/packaging-wxruby-fails/204309)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 26\
**Last updated:** [October 1, 2011, 11:52am UTC](https://www.ruby-forum.com/t/packaging-wxruby-fails/204309 "2011-10-01T11:52:40Z")

</div>

Hi there, I (once again) just compiled wxRuby 2.0.1 successfully, but I can’t get “rake gem” to work: =========================================== $ rake gem (in /home/quintus/Downloads/wxruby-2.0.1) Enabling DYNAMI…

---

## [Expanding a Button in a GridSizer vertically](https://www.ruby-forum.com/t/expanding-a-button-in-a-gridsizer-vertically/212266)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 28, 2011, 1:11pm UTC](https://www.ruby-forum.com/t/expanding-a-button-in-a-gridsizer-vertically/212266 "2011-09-28T13:11:26Z")

</div>

Hi there, when adding a Button to a GridSizer cell, i can expand it with the EXPAND flag horizontally. But how can i expand it vertically, so that it will fill the whole cell? Thank you, Simon

---

## [Ruby 1.8.6 Wxruby and Mac](https://www.ruby-forum.com/t/ruby-1-8-6-wxruby-and-mac/212159)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 26, 2011, 11:11pm UTC](https://www.ruby-forum.com/t/ruby-1-8-6-wxruby-and-mac/212159 "2011-09-26T23:11:56Z")

</div>

Hi, I’m trying to figure out how to get my application to work on a mac, but I can’t seem to get passed the part of requiring the wxruby gem. For the hell of it, I tried running the application on 1.8.7 and the gem lo…

---

## [Ruby to solve a physics question](https://www.ruby-forum.com/t/ruby-to-solve-a-physics-question/211802)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 14, 2011, 7:32pm UTC](https://www.ruby-forum.com/t/ruby-to-solve-a-physics-question/211802 "2011-09-14T19:32:31Z")

</div>

I am trying to solve one of my graduate level physics problems with ruby… Here is what I have so far… a6=0.0 for n1 in -10…10 for n2 in -10…10 for n3 in -10…10 if n1!=0 and n2!=0 and n3!=0 p=Math.sqrt(n12+n22+n3\*…

---

## [Wxruby is dead?](https://www.ruby-forum.com/t/wxruby-is-dead/199777)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 17\
**Last updated:** [September 13, 2011, 10:26am UTC](https://www.ruby-forum.com/t/wxruby-is-dead/199777 "2011-09-13T10:26:12Z")

</div>

I wanted to know whether the development of the project is still active or not. many bugs in the bug tracker are open from 25/03/2009 … thank you very much Carlo Bertini

---

## [\[patch\] Rakefile made ready for Psych](https://www.ruby-forum.com/t/patch-rakefile-made-ready-for-psych/211426)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 6, 2011, 8:37pm UTC](https://www.ruby-forum.com/t/patch-rakefile-made-ready-for-psych/211426 "2011-09-06T20:37:51Z")

</div>

Hi there, I don’t know wheather any of the wxRuby devs has tried to compile wxRuby on Ruby 1.9 with Psych enabled (Ruby’s new YAML parser automatically used by RubyGems if available–Psych is available if libyaml was …

---

## [wxRuby wiki has been vandalized](https://www.ruby-forum.com/t/wxruby-wiki-has-been-vandalized/211337)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 1, 2011, 11:07pm UTC](https://www.ruby-forum.com/t/wxruby-wiki-has-been-vandalized/211337 "2011-09-01T23:07:12Z")

</div>

http://wxruby.rubyforge.org/wiki/wiki.pl?StyleGuide http://wxruby.rubyforge.org/wiki/wiki.pl?Getting\_Started http://wxruby.rubyforge.org/wiki/wiki.pl?Using\_Sizers\_For\_Layout Is there any way to restore it?

---

## [wxRuby 2.0.x on OS X](https://www.ruby-forum.com/t/wxruby-2-0-x-on-os-x/207168)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 31, 2011, 1:54pm UTC](https://www.ruby-forum.com/t/wxruby-2-0-x-on-os-x/207168 "2011-08-31T13:54:42Z")

</div>

Hi I’m currently working through some of the bugs on the wxRuby tracker with a view to releasing an updated stable version of wxRuby 2.0. As Mac users will know, Apple’s move to 10.6 has created problems for wxRuby (…

---

## [Compiling wxruby for FreeBSD](https://www.ruby-forum.com/t/compiling-wxruby-for-freebsd/211148)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [August 27, 2011, 4:58am UTC](https://www.ruby-forum.com/t/compiling-wxruby-for-freebsd/211148 "2011-08-27T04:58:37Z")

</div>

The version of wxruby available in ports on my FreeBSD system is 0.6.0 so I’d like to compile a newer version. I’ve downloaded the 2.0.1 source tarball and tried to compile with the following result: % rake (in /h…

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

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