# wxRuby

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

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

---

## [Wxruby thread - gui updates](https://www.ruby-forum.com/t/wxruby-thread-gui-updates/198251)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [November 7, 2010, 5:10pm UTC](https://www.ruby-forum.com/t/wxruby-thread-gui-updates/198251 "2010-11-07T17:10:24Z")

</div>

Hi all, i’ve a question about ruby threads and gui update events: My app consist of several folders that needs to be updated depends on what the user do. Actually all the gui updates occurs in response to the user a…

---

## [Cannot get my wx script to run](https://www.ruby-forum.com/t/cannot-get-my-wx-script-to-run/198717)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 11\
**Last updated:** [November 7, 2010, 4:20pm UTC](https://www.ruby-forum.com/t/cannot-get-my-wx-script-to-run/198717 "2010-11-07T16:20:24Z")

</div>

I can’t get my script to run. It just gives me the error: /usr/bin/ruby -e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift) /home/crystalmoth/RubymineProjects/wxRuby\_CADaver/.idea/MainFrame.rb /usr/lib/ruby/1.8/r…

---

## [Mingw32-ruby-1.9.1-wxruby-2.0.1-setup.exe et l'encodage utf8](https://www.ruby-forum.com/t/mingw32-ruby-1-9-1-wxruby-2-0-1-setup-exe-et-lencodage-utf8/198427)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [November 1, 2010, 8:35am UTC](https://www.ruby-forum.com/t/mingw32-ruby-1-9-1-wxruby-2-0-1-setup-exe-et-lencodage-utf8/198427 "2010-11-01T08:35:56Z")

</div>

Bonsoir, après avoir installé “mingw32-ruby-1.9.1-wxruby-2.0.1-setup.exe”, j’ai un problème avec l’encodage des caractères. Comment encoder les caractères en utf8 avec la version ci-dessus? J’utilise scite(2.0.1) com…

---

## [Panel with FlexGridSizer not collapsing correctly](https://www.ruby-forum.com/t/panel-with-flexgridsizer-not-collapsing-correctly/198392)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 31, 2010, 11:32pm UTC](https://www.ruby-forum.com/t/panel-with-flexgridsizer-not-collapsing-correctly/198392 "2010-10-31T23:32:04Z")

</div>

I have a custom class extending Panel for drawing lines, which shows an 400-value array being sorted. The application does 6 at a time and so there is a Panel (“gridPanel”) with a 2x3 GridSizer managing them. Each c…

---

## [Very slow blitting, trying to optimize](https://www.ruby-forum.com/t/very-slow-blitting-trying-to-optimize/198310)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 4:30pm UTC](https://www.ruby-forum.com/t/very-slow-blitting-trying-to-optimize/198310 "2010-10-29T16:30:32Z")

</div>

Hello, I’m coding a 2D map editor for a small game engine on MSW and I’m running into blitting problems. The bigger my map is, the longer it takes to blit a tile on it. sometimes, when I try to draw a tile to fast, i…

---

## [Already Initialized Constant THE\_APP](https://www.ruby-forum.com/t/already-initialized-constant-the-app/226092)

<div class="topic-metadata">

**Author:** [@ronaks](https://www.ruby-forum.com/u/ronaks)\
**Replies:** 10\
**Last updated:** [October 28, 2010, 9:11am UTC](https://www.ruby-forum.com/t/already-initialized-constant-the-app/226092 "2010-10-28T09:11:39Z")

</div>

Hello everyone. First time here. I’m posting a debug question because I’ve searched google all over and I can’t find any other instances of this occurring. And even though it may be a common error due to a stupid mist…

---

## [wxRuby by wxSugar](https://www.ruby-forum.com/t/wxruby-by-wxsugar/197692)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [October 27, 2010, 12:19pm UTC](https://www.ruby-forum.com/t/wxruby-by-wxsugar/197692 "2010-10-27T12:19:24Z")

</div>

Hello. I have a ruby 1.9 and create a file trap.xrc in DialogBlocks. Later I create a trap.rb: xrcise -o trap.rb trap.xrc … All good. But late I create a file ed.rb: require ‘wx’ require ‘trap’ class Exsys \< wxFra…

---

## [Agile Ottawa: Nov 9 – Tips for a smoother running sprint](https://www.ruby-forum.com/t/agile-ottawa-nov-9-tips-for-a-smoother-running-sprint/198136)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [October 27, 2010, 1:14am UTC](https://www.ruby-forum.com/t/agile-ottawa-nov-9-tips-for-a-smoother-running-sprint/198136 "2010-10-27T01:14:50Z")

</div>

Location: Adobe’s offices on Preston St, just south of the 417 Time: – Networking: 6:00-6:30pm – Presentation: 6:30-8:00pm – Heart & Crown afterward Presenter: Steffan Surdek Steffan is one of the co-authors of the…

---

## [Compiling wxRuby on Ubuntu 10.04](https://www.ruby-forum.com/t/compiling-wxruby-on-ubuntu-10-04/197984)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 26, 2010, 11:00pm UTC](https://www.ruby-forum.com/t/compiling-wxruby-on-ubuntu-10-04/197984 "2010-10-26T23:00:37Z")

</div>

I tried following your instructions and everything was going ok until I got to the following step: From: Quintus removed\_email\_address@domain.invalid Now unpack wxRuby and $ cd wxruby-2.0.1 $ rake src/BitmapButt…

---

## [Cannot get started](https://www.ruby-forum.com/t/cannot-get-started/197994)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 25, 2010, 11:33pm UTC](https://www.ruby-forum.com/t/cannot-get-started/197994 "2010-10-25T23:33:55Z")

</div>

I’m sure I’ve done something basic wrong, but I don’t see it. I’m running MAC OSX 10.6.4 I installed using ruby gems: \[Charles-Parkers-iMac:~\] charlesparker% sudo gem install wxruby Password: Successfully installed …

---

## [Compiling wxWidgets/wxRuby on Ubuntu 10.10 Maverick](https://www.ruby-forum.com/t/compiling-wxwidgets-wxruby-on-ubuntu-10-10-maverick/197649)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 24, 2010, 7:57pm UTC](https://www.ruby-forum.com/t/compiling-wxwidgets-wxruby-on-ubuntu-10-10-maverick/197649 "2010-10-24T19:57:14Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, Three days ago I updated my Ubuntu Lucid to a Maverick box and got to know that this bug: Bug #632984 “libwx\_gtk2u\_media-2.8.so.0 missing from libwxgtk2.8...” …

---

## [Compiling wxRuby on Ubuntu 10.04](https://www.ruby-forum.com/t/compiling-wxruby-on-ubuntu-10-04/196026)

<div class="topic-metadata">

**Author:** [@quintus](https://www.ruby-forum.com/u/quintus)\
**Replies:** 3\
**Last updated:** [October 22, 2010, 11:45am UTC](https://www.ruby-forum.com/t/compiling-wxruby-on-ubuntu-10-04/196026 "2010-10-22T11:45:07Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, A few days ago I compiled wxRuby on Ubuntu 10.04 Lucid Lynx and came over some issues not mentioned at http://wxruby.rubyforge.org/wiki/wiki.pl?BuildingOnTopOf…

---

## [Re: Compiling wxRuby on Ubuntu 10.04](https://www.ruby-forum.com/t/re-compiling-wxruby-on-ubuntu-10-04/197898)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 11:45am UTC](https://www.ruby-forum.com/t/re-compiling-wxruby-on-ubuntu-10-04/197898 "2010-10-22T11:45:07Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 21.10.2010 23:49, schrieb Philip S.: On Ubuntu 10.04 it should work with the wxWidgets packages without problems. Do a $ sudo apt-get install libwxgtk2.8-dev freeglu…

---

## [wxRuby + wxFormBuilder](https://www.ruby-forum.com/t/wxruby-wxformbuilder/197332)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 10\
**Last updated:** [October 18, 2010, 12:07am UTC](https://www.ruby-forum.com/t/wxruby-wxformbuilder/197332 "2010-10-18T00:07:44Z")

</div>

Hello. I have a problems. Can you help me? I create GUI-program, based on wxWidgets, in wxFormBuilder. 1.jpg) I create a form in wxFormBuilder, it will see as left part of image. If i test it on View-\>XRC WIndow, it s…

---

## [Undefined method \`register\_hot\_key' for Wx::Window](https://www.ruby-forum.com/t/undefined-method-register-hot-key-for-wx-window/197475)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 12:32am UTC](https://www.ruby-forum.com/t/undefined-method-register-hot-key-for-wx-window/197475 "2010-10-15T00:32:47Z")

</div>

Hi, I am trying to register a global hotkey using wxruby on Windows XP SP3. The documentation at http://wxruby.rubyforge.org/doc/window.html#Window\_registerhotkey says that register\_hot\_key is available (although I d…

---

## [TextCtrl#set\_selection problem.. need help, please](https://www.ruby-forum.com/t/textctrl-set-selection-problem-need-help-please/196215)

<div class="topic-metadata">

**Author:** [@rdennett](https://www.ruby-forum.com/u/rdennett)\
**Replies:** 4\
**Last updated:** [October 14, 2010, 1:50pm UTC](https://www.ruby-forum.com/t/textctrl-set-selection-problem-need-help-please/196215 "2010-10-14T13:50:09Z")

</div>

Can’t get this function working, does any body know where I’m wrong ? @term = Wx::TextCtrl.new(@skin, -1, ‘Paste URL Here’, :pos =\> \[25,100\], :size =\> \[300,20\]) #, :style =\> Wx::NO\_BORDER) @term.evt\_set\_focus() {|eve…

---

## [Evt\_media\_loaded not working on vista/windows 7](https://www.ruby-forum.com/t/evt-media-loaded-not-working-on-vista-windows-7/196338)

<div class="topic-metadata">

**Author:** [@remosewa](https://www.ruby-forum.com/u/remosewa)\
**Replies:** 3\
**Last updated:** [October 12, 2010, 11:11am UTC](https://www.ruby-forum.com/t/evt-media-loaded-not-working-on-vista-windows-7/196338 "2010-10-12T11:11:56Z")

</div>

For some reason the evt\_media\_loaded is not being triggered on windows 7 and windows vista. However, the same code on windows xp works just fine. Anybody have any ideas?

---

## [Ask gridtablebase](https://www.ruby-forum.com/t/ask-gridtablebase/195705)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 3\
**Last updated:** [October 8, 2010, 10:33am UTC](https://www.ruby-forum.com/t/ask-gridtablebase/195705 "2010-10-08T10:33:14Z")

</div>

Dear all, I need help I intent to make a gridtablebase class to save my data temporary and display it on a grid Due to my assumption, if I create a gridtablebase object and connect it to a grid object, the grid shoul…

---

## [Framework, plan to release](https://www.ruby-forum.com/t/framework-plan-to-release/195760)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 5:50pm UTC](https://www.ruby-forum.com/t/framework-plan-to-release/195760 "2010-09-29T17:50:58Z")

</div>

This past year I have been making a framework to speed up the creating process of gui application, especially database back end I am using wxruby and sequel the main thing that is my creation is a code generator to m…

---

## [Using Wx::RichTextCtrl to generate PDF](https://www.ruby-forum.com/t/using-wx-richtextctrl-to-generate-pdf/195394)

<div class="topic-metadata">

**Author:** [@tony44](https://www.ruby-forum.com/u/tony44)\
**Replies:** 7\
**Last updated:** [September 28, 2010, 10:42am UTC](https://www.ruby-forum.com/t/using-wx-richtextctrl-to-generate-pdf/195394 "2010-09-28T10:42:48Z")

</div>

Hi, I intend to use a RichTextCtrl so the user can edit parts of a PDF that will be generated using Prawn. Any ideas on how to best render the user-editable content into the PDF? I was thinking of parsing the XML out…

---

## [wxRichTextCtrl not Working through wxFormBuilder](https://www.ruby-forum.com/t/wxrichtextctrl-not-working-through-wxformbuilder/193146)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [September 23, 2010, 3:43pm UTC](https://www.ruby-forum.com/t/wxrichtextctrl-not-working-through-wxformbuilder/193146 "2010-09-23T15:43:38Z")

</div>

I’ve used wxFormBuilder to put a wxRichTextCtrl on my form. After doing this, I run xrcise and try to use the control. The variable for the rich text control is a FixNum. On examination, I saw that the class name in t…

---

## [Evt\_media\_loaded not working on vista/windows 7](https://www.ruby-forum.com/t/evt-media-loaded-not-working-on-vista-windows-7/195430)

<div class="topic-metadata">

**Author:** [@remosewa](https://www.ruby-forum.com/u/remosewa)\
**Replies:** 0\
**Last updated:** [September 23, 2010, 6:11am UTC](https://www.ruby-forum.com/t/evt-media-loaded-not-working-on-vista-windows-7/195430 "2010-09-23T06:11:50Z")

</div>

For some reason the evt\_media\_loaded is not being triggered on my windows vista and windows 7 machines. I use this so that I can auto play audio, and as soon as it’s loaded I can play. I also have a windows XP machine…

---

## [Some question](https://www.ruby-forum.com/t/some-question/195166)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 1\
**Last updated:** [September 22, 2010, 5:21pm UTC](https://www.ruby-forum.com/t/some-question/195166 "2010-09-22T17:21:10Z")

</div>

I am making a program and get some trouble here how do I close all opened child window in mdi form? I cannot disable menu\_item, perhaps I use .enable false the wrong way?

---

## [Change widget focus with enter instead of tab](https://www.ruby-forum.com/t/change-widget-focus-with-enter-instead-of-tab/195125)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 4\
**Last updated:** [September 20, 2010, 9:30am UTC](https://www.ruby-forum.com/t/change-widget-focus-with-enter-instead-of-tab/195125 "2010-09-20T09:30:11Z")

</div>

Dear all, is there a way to change widget focus with enter key instead of tab Regards Hendra

---

## [Need help with navigation key events](https://www.ruby-forum.com/t/need-help-with-navigation-key-events/195168)

<div class="topic-metadata">

**Author:** [@w\_barnes](https://www.ruby-forum.com/u/w_barnes)\
**Replies:** 1\
**Last updated:** [September 18, 2010, 6:25am UTC](https://www.ruby-forum.com/t/need-help-with-navigation-key-events/195168 "2010-09-18T06:25:41Z")

</div>

Hello, I’m having some trouble figuring out how to process navigation key events. I added the following test code to my dialog box: def initialize( … ) evt\_navigation\_key(:on\_navigation\_key) end def on\_navigation\_…

---

## [Wx::Grid and motion events, bug?](https://www.ruby-forum.com/t/wx-grid-and-motion-events-bug/194706)

<div class="topic-metadata">

**Author:** [@quintus](https://www.ruby-forum.com/u/quintus)\
**Replies:** 1\
**Last updated:** [September 10, 2010, 4:06pm UTC](https://www.ruby-forum.com/t/wx-grid-and-motion-events-bug/194706 "2010-09-10T16:06:46Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, Doesn’t a Wx::Grid get motion events sent? This code demonstrates the problem: #!/usr/bin/env ruby #Encoding: UTF-8 require “wx” class MyFrame \< Wx::Frame …

---

## [Suggestions to reduce binary size, make loading faster](https://www.ruby-forum.com/t/suggestions-to-reduce-binary-size-make-loading-faster/182901)

<div class="topic-metadata">

**Author:** [@night\_stalker](https://www.ruby-forum.com/u/night_stalker)\
**Replies:** 2\
**Last updated:** [September 9, 2010, 10:09pm UTC](https://www.ruby-forum.com/t/suggestions-to-reduce-binary-size-make-loading-faster/182901 "2010-09-09T22:09:38Z")

</div>

I found wxruby2.so in mingw release a bit large (18M), it is smaller (~15M) after stripping symbols. I learned this from Reducing Executable Size - WxWiki . The command line is: strip --strip-all wxruby2.so But I do…

---

## [Validator data transfer](https://www.ruby-forum.com/t/validator-data-transfer/194618)

<div class="topic-metadata">

**Author:** [@w\_barnes](https://www.ruby-forum.com/u/w_barnes)\
**Replies:** 2\
**Last updated:** [September 8, 2010, 6:51am UTC](https://www.ruby-forum.com/t/validator-data-transfer/194618 "2010-09-08T06:51:56Z")

</div>

Hi all, I’m working on a dialog box for a SketchUp plug-in using wxSU with several text controls that accept numerical input only and need a little help with the validators. After going through the docs for wxRuby …

---

## [Does stack get unwound when event returns without skip?](https://www.ruby-forum.com/t/does-stack-get-unwound-when-event-returns-without-skip/188117)

<div class="topic-metadata">

**Author:** [@rossgoodell](https://www.ruby-forum.com/u/rossgoodell)\
**Replies:** 5\
**Last updated:** [August 27, 2010, 2:27am UTC](https://www.ruby-forum.com/t/does-stack-get-unwound-when-event-returns-without-skip/188117 "2010-08-27T02:27:08Z")

</div>

I’m using a TextCtrl in an editor and in my evt\_key\_down, evt\_key\_up, etc. handlers I’ve been avoiding using event.skip in order to get the behavior I want, but it looks like that is making the stack grow. Can someon…

---

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

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 4\
**Last updated:** [August 25, 2010, 5:43am UTC](https://www.ruby-forum.com/t/segmentation-fault/193732 "2010-08-25T05:43:15Z")

</div>

Once more, with feeling. I’m trying to implement using xrc\_replace so as to use a RichTextCtrl in a form created by FormBuilder. The problem is that I can’t even create a RichTextCtrl. When I try to, I get a segmentat…

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

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