# wxRuby

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

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

---

## [Wxruby2 problems](https://www.ruby-forum.com/t/wxruby2-problems/127779)

<div class="topic-metadata">

**Author:** [@eliben](https://www.ruby-forum.com/u/eliben)\
**Replies:** 1\
**Last updated:** [February 1, 2008, 12:16pm UTC](https://www.ruby-forum.com/t/wxruby2-problems/127779 "2008-02-01T12:16:11Z")

</div>

Hello, I’ve recently installed wxruby2 (version 1.9.4) from a precompiled mswin32 gem. It seems to work fine, and the samples in the distribution all work, but I have a couple of peculiar problems: When I package a …

---

## [Re: libgstreamer, slackware =\> libgconf.......?](https://www.ruby-forum.com/t/re-libgstreamer-slackware-libgconf/127755)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [February 1, 2008, 12:12am UTC](https://www.ruby-forum.com/t/re-libgstreamer-slackware-libgconf/127755 "2008-02-01T00:12:26Z")

</div>

Hi Mario, I tried to persevere a bit, i.e. tried to compile gconf … Slackware does support a couple of libraries linked to the gtk/gnome-world but not officially: I found install scripts for GCconf and Orbit2 on Sl…

---

## [Question about WxNotebook, threads, and GUI refreshing](https://www.ruby-forum.com/t/question-about-wxnotebook-threads-and-gui-refreshing/126239)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 2\
**Last updated:** [January 31, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/question-about-wxnotebook-threads-and-gui-refreshing/126239 "2008-01-31T21:48:32Z")

</div>

I’m running into a problem I’ve had before with wxRuby where the GUI does not update while my App is processing some set of data. The fix for this I know is to put the data processing piece in a new thread and in the …

---

## [Re: libgstreamer, slackware =\> libgconf.......?](https://www.ruby-forum.com/t/re-libgstreamer-slackware-libgconf/127569)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [January 31, 2008, 8:21am UTC](https://www.ruby-forum.com/t/re-libgstreamer-slackware-libgconf/127569 "2008-01-31T08:21:11Z")

</div>

Hoi, Mario and Alex, Thanks for your ideas and I’ll be able to get ahead with them. I dunno whether I am the only sole on linux planet wihout gconf or libgstreamer… but I used the gem system of installing wxruby, whic…

---

## [Re: "undefined symbol" with wxRuby gem on Fedora Core 5](https://www.ruby-forum.com/t/re-undefined-symbol-with-wxruby-gem-on-fedora-core-5/127495)

<div class="topic-metadata">

**Author:** [@Jay\_McGavren](https://www.ruby-forum.com/u/Jay_McGavren)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 8:24pm UTC](https://www.ruby-forum.com/t/re-undefined-symbol-with-wxruby-gem-on-fedora-core-5/127495 "2008-01-29T20:24:07Z")

</div>

Alex F. wrote: Thanks for the report. I’m pretty sure this will be because the version of GTK on the (Ubuntu 7.10) machine that I build wxWidgets and the wxRuby gem on is newer than that on the machine you’re tryin…

---

## [Wxruby and ActiveRecord](https://www.ruby-forum.com/t/wxruby-and-activerecord/127452)

<div class="topic-metadata">

**Author:** [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Replies:** 1\
**Last updated:** [January 29, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/wxruby-and-activerecord/127452 "2008-01-29T17:24:33Z")

</div>

Hello, i’m running wxruby 1.9.4, and i show my ActiveRecord data in a grid (with GridTableBase) (a grid with 30 columns) From my base Window, i open and close the GridWindow. After several openings and closes, this…

---

## [1.9.4 released](https://www.ruby-forum.com/t/1-9-4-released/127291)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [January 29, 2008, 3:06pm UTC](https://www.ruby-forum.com/t/1-9-4-released/127291 "2008-01-29T15:06:05Z")

</div>

Hi, I upgraded from 1.9.2. to 1.9.4 and cannot run any (demo-) applications anymore, giving the error message below, which seems related to libgstreamer, not present on my linux box (slackware, pre-12.1). The file w…

---

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

<div class="topic-metadata">

**Author:** [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Replies:** 4\
**Last updated:** [January 28, 2008, 11:41pm UTC](https://www.ruby-forum.com/t/gridtablebase/127331 "2008-01-28T23:41:24Z")

</div>

Hello all, i’m using wxruby 1.9.4 with Grid and the model class: “GridTableBase” like in the code below. But the method set\_table of the grid does’nt work. Can anyone help me? require ‘wx’ include Wx class MyGridT…

---

## [About wxRuby](https://www.ruby-forum.com/t/about-wxruby/127189)

<div class="topic-metadata">

**Author:** [@drweb](https://www.ruby-forum.com/u/drweb)\
**Replies:** 4\
**Last updated:** [January 26, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/about-wxruby/127189 "2008-01-26T20:05:09Z")

</div>

Hi All! I am beginner to Ruby and much interested to learn wxRuby, but still not able to find some useful tutorial for this topic. I have installed wxRuby but not able to run its a single exmaple yet. I will be thankf…

---

## [About wxRuby Installation on Windows](https://www.ruby-forum.com/t/about-wxruby-installation-on-windows/127233)

<div class="topic-metadata">

**Author:** [@Dr.Web](https://www.ruby-forum.com/u/Dr.Web)\
**Replies:** 0\
**Last updated:** [January 26, 2008, 6:37pm UTC](https://www.ruby-forum.com/t/about-wxruby-installation-on-windows/127233 "2008-01-26T18:37:20Z")

</div>

Hi All! I am beginner to Ruby and much interested to learn wxRuby, but still not able to find some useful tutorial for this topic. I have installed wxRuby but not able to run its a single exmaple yet. I am using Wind…

---

## ["undefined symbol" with wxRuby gem on Fedora Core 5](https://www.ruby-forum.com/t/undefined-symbol-with-wxruby-gem-on-fedora-core-5/127178)

<div class="topic-metadata">

**Author:** [@Jay\_McGavren](https://www.ruby-forum.com/u/Jay_McGavren)\
**Replies:** 1\
**Last updated:** [January 25, 2008, 11:18pm UTC](https://www.ruby-forum.com/t/undefined-symbol-with-wxruby-gem-on-fedora-core-5/127178 "2008-01-25T23:18:12Z")

</div>

I’m trying to test on platforms other than Windows, starting with my Fedora Core 5 box. I’m getting this error when trying to run the Hello World script (http://wxruby.rubyforge.org/wiki/wiki.pl?Hello\_World): undefi…

---

## [Re: No joy from Wx::App.dispatch, Wx::App.yield](https://www.ruby-forum.com/t/re-no-joy-from-wx-app-dispatch-wx-app-yield/126663)

<div class="topic-metadata">

**Author:** [@Jay\_McGavren](https://www.ruby-forum.com/u/Jay_McGavren)\
**Replies:** 1\
**Last updated:** [January 21, 2008, 10:43am UTC](https://www.ruby-forum.com/t/re-no-joy-from-wx-app-dispatch-wx-app-yield/126663 "2008-01-21T10:43:29Z")

</div>

Alex F. wrote: Thanks for the report. gdiplus.dll became a new dependency in 1.9.3 with the addition of the GraphicsContext classes for antialiased drawing. We build and test on Win XP where it’s always available, …

---

## [Re: No joy from Wx::App.dispatch, Wx::App.yield](https://www.ruby-forum.com/t/re-no-joy-from-wx-app-dispatch-wx-app-yield/126597)

<div class="topic-metadata">

**Author:** [@Jay\_McGavren](https://www.ruby-forum.com/u/Jay_McGavren)\
**Replies:** 1\
**Last updated:** [January 21, 2008, 1:20am UTC](https://www.ruby-forum.com/t/re-no-joy-from-wx-app-dispatch-wx-app-yield/126597 "2008-01-21T01:20:34Z")

</div>

Mario S. wrote: To process an exit event, or rather a close event, utilize evt\_close event handler. Well, look at that. It had always worked on its own before, so I got lazy. But one line of code in on\_init did i…

---

## [Lose focus event?](https://www.ruby-forum.com/t/lose-focus-event/126568)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 10\
**Last updated:** [January 21, 2008, 1:16am UTC](https://www.ruby-forum.com/t/lose-focus-event/126568 "2008-01-21T01:16:29Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I’m new to wxruby, and I haven’t found any answer with google: Is there a way to capture a lose focus event on controls, such as a combo box? All my experiments show eve…

---

## [1.9.4 released](https://www.ruby-forum.com/t/1-9-4-released/126394)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 2\
**Last updated:** [January 20, 2008, 10:26pm UTC](https://www.ruby-forum.com/t/1-9-4-released/126394 "2008-01-20T22:26:59Z")

</div>

Hi Just a quick note to say we released a new version, 1.9.4. The main purpose of this release is to offer an OS X gem that’s compatible with both 10.4 and 10.5 - The wxruby-1.9.3 OS X binary gem would only work with…

---

## [No joy from Wx::App.dispatch, Wx::App.yield](https://www.ruby-forum.com/t/no-joy-from-wx-app-dispatch-wx-app-yield/126592)

<div class="topic-metadata">

**Author:** [@Jay\_McGavren](https://www.ruby-forum.com/u/Jay_McGavren)\
**Replies:** 1\
**Last updated:** [January 20, 2008, 1:23am UTC](https://www.ruby-forum.com/t/no-joy-from-wx-app-dispatch-wx-app-yield/126592 "2008-01-20T01:23:08Z")

</div>

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

---

## [Noob question for wxMenu.get\_menu\_items()](https://www.ruby-forum.com/t/noob-question-for-wxmenu-get-menu-items/126431)

<div class="topic-metadata">

**Author:** [@EchoB](https://www.ruby-forum.com/u/EchoB)\
**Replies:** 1\
**Last updated:** [January 18, 2008, 4:23pm UTC](https://www.ruby-forum.com/t/noob-question-for-wxmenu-get-menu-items/126431 "2008-01-18T16:23:46Z")

</div>

How do I iterate through the pseudo-template list class containing wxMenuItem pointers. Am still a bit of a Ruby/wxRuby noob. Currently have this: pp mymenu.get\_menu\_items() which prints: #SWIG::TYPE\_p\_wxMenuItemLi…

---

## [Version 1.9.3 released](https://www.ruby-forum.com/t/version-1-9-3-released/126158)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 0\
**Last updated:** [January 15, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/version-1-9-3-released/126158 "2008-01-15T21:48:09Z")

</div>

Hi We’re pleased to invite you to try the latest version of wxRuby, 1.9.3. http://rubyforge.org/frs/?group\_id=35&release\_id=18145 == WHAT’S NEW == Thanks to a number of contributors, this is a feature-packed release: …

---

## [Adding menu items to a TaskBar](https://www.ruby-forum.com/t/adding-menu-items-to-a-taskbar/125979)

<div class="topic-metadata">

**Author:** [@antonk](https://www.ruby-forum.com/u/antonk)\
**Replies:** 3\
**Last updated:** [January 14, 2008, 6:02pm UTC](https://www.ruby-forum.com/t/adding-menu-items-to-a-taskbar/125979 "2008-01-14T18:02:16Z")

</div>

Hello I’m looking for a way to add menu items to a task bar icon menu. I have created a popup menu. And I want to add to a task bar icon menu items for example projects but it must be after user log in. User log in …

---

## [Focus on TextCtrl](https://www.ruby-forum.com/t/focus-on-textctrl/125963)

<div class="topic-metadata">

**Author:** [@antonk](https://www.ruby-forum.com/u/antonk)\
**Replies:** 4\
**Last updated:** [January 14, 2008, 11:23am UTC](https://www.ruby-forum.com/t/focus-on-textctrl/125963 "2008-01-14T11:23:36Z")

</div>

Hello. I have a problem with set focus on a TextCtrl in wxRuby. I must do something like Login TextCtrl and set focus on a next TextCtrl by clicking Tab key.

---

## [Re: Drawing thread not getting enough time from scheduler?](https://www.ruby-forum.com/t/re-drawing-thread-not-getting-enough-time-from-scheduler/125613)

<div class="topic-metadata">

**Author:** [@Jay\_McGavren](https://www.ruby-forum.com/u/Jay_McGavren)\
**Replies:** 0\
**Last updated:** [January 10, 2008, 5:15pm UTC](https://www.ruby-forum.com/t/re-drawing-thread-not-getting-enough-time-from-scheduler/125613 "2008-01-10T17:15:09Z")

</div>

Alex F. wrote: doesn’t work at all if thread.join is called, but runs pretty smoothly (about 8s total) otherwise. At some level you’ll also be caught by the granularity of Ruby’s thread time slices (10ms IIRC), and …

---

## [Displaying special characters (li ke Ã©)](https://www.ruby-forum.com/t/displaying-special-characters-li-ke-a/125250)

<div class="topic-metadata">

**Author:** [@Daniel\_Doorduin](https://www.ruby-forum.com/u/Daniel_Doorduin)\
**Replies:** 1\
**Last updated:** [January 7, 2008, 3:31pm UTC](https://www.ruby-forum.com/t/displaying-special-characters-li-ke-a/125250 "2008-01-07T15:31:13Z")

</div>

Hi wx guru’s, When I want to display strings with special characters like Ã© (e + /) in a wxRuby gui element, only an empty string is displayed. Not only the ‘special’ characters are hidden but all characters! I am …

---

## [Use of Marshal with wxruby classes](https://www.ruby-forum.com/t/use-of-marshal-with-wxruby-classes/125068)

<div class="topic-metadata">

**Author:** [@ratkins](https://www.ruby-forum.com/u/ratkins)\
**Replies:** 2\
**Last updated:** [January 5, 2008, 11:12am UTC](https://www.ruby-forum.com/t/use-of-marshal-with-wxruby-classes/125068 "2008-01-05T11:12:15Z")

</div>

Is it possible to use Marshal with wxruby classes to serialize an application’s state? I tried a minimal example of simply serializing a minimal frame object, and I get the error “no marshal\_dump is defined for class…

---

## [Checklistbox](https://www.ruby-forum.com/t/checklistbox/125076)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 1\
**Last updated:** [January 5, 2008, 3:14am UTC](https://www.ruby-forum.com/t/checklistbox/125076 "2008-01-05T03:14:06Z")

</div>

J’ai fouillÃ© et en fin de compte j’ai trouvÃ© la solution pour pouvoir changer le contenu de “checklistbox” sans avoir besoin de fermer et rÃ©ouvrir mon application. Je me suis reporter Ã la doc de “listbox”. Mon p…

---

## [Problem with Menu.append\_check\_item()](https://www.ruby-forum.com/t/problem-with-menu-append-check-item/125052)

<div class="topic-metadata">

**Author:** [@ratkins](https://www.ruby-forum.com/u/ratkins)\
**Replies:** 2\
**Last updated:** [January 4, 2008, 10:41pm UTC](https://www.ruby-forum.com/t/problem-with-menu-append-check-item/125052 "2008-01-04T22:41:23Z")

</div>

Menu.append\_check\_item(), like Menu.append(), is supposed to return a reference to the created menu item. Here is a test code which seems to show that this behavior works for append(), but fails for append\_check\_ite…

---

## [Checklistbox](https://www.ruby-forum.com/t/checklistbox/125057)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 10:12pm UTC](https://www.ruby-forum.com/t/checklistbox/125057 "2008-01-04T22:12:34Z")

</div>

Salut Alex. En fait je me suis rendu compte de mon erreur Ã propos de “HSCROLL”, Ã§a marche correctement. La scrollbarre apparaÃ®t et fonctionne bien. La derniÃ¨re fois j’ai eu l’impression qu’elle ne marchait pas, c…

---

## [How can I use draw line in wxruby?](https://www.ruby-forum.com/t/how-can-i-use-draw-line-in-wxruby/124757)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 3\
**Last updated:** [January 3, 2008, 1:28pm UTC](https://www.ruby-forum.com/t/how-can-i-use-draw-line-in-wxruby/124757 "2008-01-03T13:28:01Z")

</div>

I use dc = DC.new() dc.draw\_line(50, 50, 100, 100) but it can’t be compiled I don’t know how to declare DC variable?? in http://wxruby.rubyforge.org/doc/dc.html it don’t tell me how to declare now variable plese…

---

## [Checklistbox/htmlwindow](https://www.ruby-forum.com/t/checklistbox-htmlwindow/124866)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 0\
**Last updated:** [January 3, 2008, 9:08am UTC](https://www.ruby-forum.com/t/checklistbox-htmlwindow/124866 "2008-01-03T09:08:20Z")

</div>

Bonjour Alex. Vous n’avez pas rÃ©pondu Ã ma question prÃ©cÃ©dente! Vous m’avez peut-Ãªtre oubliÃ©? merci sebastien http://beusse.liveror.com

---

## [Wx::Menu, get parent menu functions?](https://www.ruby-forum.com/t/wx-menu-get-parent-menu-functions/124857)

<div class="topic-metadata">

**Author:** [@EchoB](https://www.ruby-forum.com/u/EchoB)\
**Replies:** 0\
**Last updated:** [January 3, 2008, 7:07am UTC](https://www.ruby-forum.com/t/wx-menu-get-parent-menu-functions/124857 "2008-01-03T07:07:56Z")

</div>

I have been looking in the API Docs for get\_parent type stuff for the Menu’s - so I can track a click path across sub-menus and have not found anything. Are there really no functions for that or did I just miss the ri…

---

## [Re: Drawing thread not getting enough time from scheduler?](https://www.ruby-forum.com/t/re-drawing-thread-not-getting-enough-time-from-scheduler/124562)

<div class="topic-metadata">

**Author:** [@Jay\_McGavren](https://www.ruby-forum.com/u/Jay_McGavren)\
**Replies:** 1\
**Last updated:** [January 3, 2008, 1:33am UTC](https://www.ruby-forum.com/t/re-drawing-thread-not-getting-enough-time-from-scheduler/124562 "2008-01-03T01:33:01Z")

</div>

Thanks for looking at the code, Mario. I made those modifications (to my prototype as well as my game library, where I had been re-using a DC but had not been caching pens). It did speed things up a bit, but it still…

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

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