# wxRuby

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

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

---

## [Wx::StatusBar set\_status\_widths returns argument error](https://www.ruby-forum.com/t/wx-statusbar-set-status-widths-returns-argument-error/145000)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 1\
**Last updated:** [August 5, 2008, 1:18pm UTC](https://www.ruby-forum.com/t/wx-statusbar-set-status-widths-returns-argument-error/145000 "2008-08-05T13:18:50Z")

</div>

Hi, I added the following line in samples/wxStatusBar.rbw set\_status\_widths(1, 100) # Doc: set\_status\_widths(Integer n, Integer widths) Got error: wxStatusBar.rbw:17:in \`set\_status\_widths’: wrong # of arguments(2 f…

---

## [I18n & l10n samples?](https://www.ruby-forum.com/t/i18n-l10n-samples/144818)

<div class="topic-metadata">

**Author:** [@requiem](https://www.ruby-forum.com/u/requiem)\
**Replies:** 2\
**Last updated:** [August 4, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/i18n-l10n-samples/144818 "2008-08-04T20:26:12Z")

</div>

hi all, are there any samples or docs available on how to use the wxRuby Localization and Internationalization Features? Greetings, Niklas

---

## [Question about Window#raise](https://www.ruby-forum.com/t/question-about-window-raise/144730)

<div class="topic-metadata">

**Author:** [@erubin](https://www.ruby-forum.com/u/erubin)\
**Replies:** 1\
**Last updated:** [August 1, 2008, 4:23pm UTC](https://www.ruby-forum.com/t/question-about-window-raise/144730 "2008-08-01T16:23:36Z")

</div>

I want to force my Frame to be visible under certain conditions, even if it’s currently behind other windows. I am running under Windows XP. I am calling raise to do this, but the Frame doesn’t come to the front, t…

---

## [Icon issues](https://www.ruby-forum.com/t/icon-issues/144558)

<div class="topic-metadata">

**Author:** [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Replies:** 2\
**Last updated:** [August 1, 2008, 12:02am UTC](https://www.ruby-forum.com/t/icon-issues/144558 "2008-08-01T00:02:37Z")

</div>

Hello all, I have another strange issue. I want to decorate the main window (frame) of my application with an icon. I have the icon in xpm format. With the following code: # Icon stuff!!! icon\_file = File.join(File…

---

## [Re: compileur](https://www.ruby-forum.com/t/re-compileur/144440)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 1\
**Last updated:** [July 31, 2008, 12:43am UTC](https://www.ruby-forum.com/t/re-compileur/144440 "2008-07-31T00:43:23Z")

</div>

Bonjour Alex. Peut tu m’expliquer plus en dÃ©tail ce qu’il faut faire avec “rake\_assemble.rb” et “NSIS”? Pour le moment j’ai installer “NSIS”. Par contre je n’ai pas encore eu le temps de lire l’aide de “NSIS”, ce q…

---

## [Segfault with GridCellChoiceEditor](https://www.ruby-forum.com/t/segfault-with-gridcellchoiceeditor/144340)

<div class="topic-metadata">

**Author:** [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Replies:** 12\
**Last updated:** [July 30, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/segfault-with-gridcellchoiceeditor/144340 "2008-07-30T19:06:09Z")

</div>

I have a problem. In my application I have a few Grid objects in a Notebook. The Grid objects are populated via GridTableBase. Certain Grid cells need to have a choice interface (I’m artificially enforcing foreign…

---

## [Compileur](https://www.ruby-forum.com/t/compileur/144095)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 2\
**Last updated:** [July 29, 2008, 12:58pm UTC](https://www.ruby-forum.com/t/compileur/144095 "2008-07-29T12:58:40Z")

</div>

Bonjour Ã tous. J’ai vu plus haut des messages sur “Rubyscript2exe”. Est-ce qu’il y Ã d’autres compileurs que “Rubyscript2exe” pour convertir les applications crÃ©er avec “wxruby” en exÃ©cutable? J’aimerai pouvoir …

---

## [Setting button colour on 1.9.5](https://www.ruby-forum.com/t/setting-button-colour-on-1-9-5/144294)

<div class="topic-metadata">

**Author:** [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Replies:** 1\
**Last updated:** [July 29, 2008, 12:42pm UTC](https://www.ruby-forum.com/t/setting-button-colour-on-1-9-5/144294 "2008-07-29T12:42:16Z")

</div>

Hi all, i’m working with wxruby 1.9.5 on windows. Trying to set the background colour for a button does not work! Thanks for any help, Franz This communication and any files or attachments transmitted with it may …

---

## [wxRuby code examples!](https://www.ruby-forum.com/t/wxruby-code-examples/144148)

<div class="topic-metadata">

**Author:** [@gugui](https://www.ruby-forum.com/u/gugui)\
**Replies:** 3\
**Last updated:** [July 28, 2008, 2:17pm UTC](https://www.ruby-forum.com/t/wxruby-code-examples/144148 "2008-07-28T14:17:19Z")

</div>

Hi all ! I am new at wxRuby and need more code examples to learn better ! IÂ´m searching in the Net but all with simple examples and i cant understand somethings yet… Any special place to see some codes ? thanks any…

---

## [Re: compileur](https://www.ruby-forum.com/t/re-compileur/144111)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 1\
**Last updated:** [July 26, 2008, 12:48am UTC](https://www.ruby-forum.com/t/re-compileur/144111 "2008-07-26T00:48:20Z")

</div>

Bonjour Mario, j’ai dÃ©jÃ essayer avec “Exerb”, mais je n’ai rien compris. A chaque fois que j’ai tÃ©lÃ©charger la notice explicative de “Exerb” elle n’Ã©tait pas en anglais ou en franÃ§ais (peut-Ãªtre un dialecte). …

---

## [German umlauts](https://www.ruby-forum.com/t/german-umlauts/143731)

<div class="topic-metadata">

**Author:** [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Replies:** 2\
**Last updated:** [July 24, 2008, 8:26am UTC](https://www.ruby-forum.com/t/german-umlauts/143731 "2008-07-24T08:26:19Z")

</div>

Hi all, my wxruby application handles with data from a Oracle database. But i have problems with the german umlauts (Ã¤,Ã¶,Ã¼). I can write data to the database, but when i’m reading the data from the database, the a…

---

## [How to set a font for the whol application](https://www.ruby-forum.com/t/how-to-set-a-font-for-the-whol-application/143646)

<div class="topic-metadata">

**Author:** [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Replies:** 3\
**Last updated:** [July 24, 2008, 7:49am UTC](https://www.ruby-forum.com/t/how-to-set-a-font-for-the-whol-application/143646 "2008-07-24T07:49:29Z")

</div>

Hi all, how can i set a special font for the whole application, so that all elments (inclusive MessageBox, TipWindow, …) work with this font? (For a frame i can set the font, but then, only the inherited frames has …

---

## [How to set the font for the whole application](https://www.ruby-forum.com/t/how-to-set-the-font-for-the-whole-application/143657)

<div class="topic-metadata">

**Author:** [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Replies:** 0\
**Last updated:** [July 21, 2008, 4:59pm UTC](https://www.ruby-forum.com/t/how-to-set-the-font-for-the-whole-application/143657 "2008-07-21T16:59:33Z")

</div>

Hi all, how can i set a special font for the whole application, so that all elments (inclusive MessageBox, TipWindow, …) work with this font? (For a frame i can set the font, but then, only the inherited frames has …

---

## [Wxruby and rgplot](https://www.ruby-forum.com/t/wxruby-and-rgplot/143295)

<div class="topic-metadata">

**Author:** [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Replies:** 3\
**Last updated:** [July 18, 2008, 1:48am UTC](https://www.ruby-forum.com/t/wxruby-and-rgplot/143295 "2008-07-18T01:48:15Z")

</div>

hi- i’m really new to ruby (like 2 days new). so, i’m trying to plot a graph inside a window. i’m using rgplot and wxruby. i can plot using rgplot just fine. and i can create a window using wxruby. i just don’t know h…

---

## [ListCtrl LC\_REPORT undefined method](https://www.ruby-forum.com/t/listctrl-lc-report-undefined-method/142677)

<div class="topic-metadata">

**Author:** [@rrwhite](https://www.ruby-forum.com/u/rrwhite)\
**Replies:** 2\
**Last updated:** [July 18, 2008, 12:39am UTC](https://www.ruby-forum.com/t/listctrl-lc-report-undefined-method/142677 "2008-07-18T00:39:52Z")

</div>

Hi Inserting an item with several columns into a ListCtrl: def add\_items(items) i = 0 items.each do |data| self.insert\_item(i, data\[0\]) self.set\_item(i,1,data\[1\]) self.set\_item(i,2,data\[2\]) i += 1 end end end …

---

## [Preloading the wx libraries](https://www.ruby-forum.com/t/preloading-the-wx-libraries/143140)

<div class="topic-metadata">

**Author:** [@Magnus\_EngstrSSSSm](https://www.ruby-forum.com/u/Magnus_EngstrSSSSm)\
**Replies:** 3\
**Last updated:** [July 16, 2008, 8:57am UTC](https://www.ruby-forum.com/t/preloading-the-wx-libraries/143140 "2008-07-16T08:57:45Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have a Nokia N810, running Linux, and wxruby works quite well on it, except application startup which takes quite some time. I have thought about preloading the wx…

---

## [Raising exceptions and "wrong number of arguments" problem](https://www.ruby-forum.com/t/raising-exceptions-and-wrong-number-of-arguments-problem/142884)

<div class="topic-metadata">

**Author:** [@syg6](https://www.ruby-forum.com/u/syg6)\
**Replies:** 2\
**Last updated:** [July 12, 2008, 9:42pm UTC](https://www.ruby-forum.com/t/raising-exceptions-and-wrong-number-of-arguments-problem/142884 "2008-07-12T21:42:06Z")

</div>

Hi everyone - what is the proper way to display error messages when you raise exceptions? For example, the following code… class MyWxRubyClass some code… evt\_button(my\_button) do begin some code… if wrong\_conditi…

---

## [DOS box popping up under rubyscript2exe](https://www.ruby-forum.com/t/dos-box-popping-up-under-rubyscript2exe/142578)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 2\
**Last updated:** [July 9, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/dos-box-popping-up-under-rubyscript2exe/142578 "2008-07-09T17:37:17Z")

</div>

Hello My email has been broken for a week and some of it seems to have gone astray - so if there are other unanswered wxruby queries kicking about, please repost or forward me them. I have encountered this problem wi…

---

## [Sizer problem](https://www.ruby-forum.com/t/sizer-problem/142365)

<div class="topic-metadata">

**Author:** [@lcyeap](https://www.ruby-forum.com/u/lcyeap)\
**Replies:** 1\
**Last updated:** [July 8, 2008, 1:20pm UTC](https://www.ruby-forum.com/t/sizer-problem/142365 "2008-07-08T13:20:54Z")

</div>

Greetings, Currenly i am trying to display a grid at the bottom of my GUI when a button is clicked. However, the original frame size will not be auto adjusted. it makes the GUI looks ugly and not user friendly as they…

---

## [wxDirDialog and show\_modal don't work](https://www.ruby-forum.com/t/wxdirdialog-and-show-modal-dont-work/142378)

<div class="topic-metadata">

**Author:** [@tracerek](https://www.ruby-forum.com/u/tracerek)\
**Replies:** 2\
**Last updated:** [July 8, 2008, 12:51pm UTC](https://www.ruby-forum.com/t/wxdirdialog-and-show-modal-dont-work/142378 "2008-07-08T12:51:46Z")

</div>

Hi, I’m playing around with wxRuby and XRC and I’m unable to create modal WxDirDialog. After opening it I’m always able to get focus on parent window. class TestApp \< Wx::App def on\_init @test = Main.new.show end …

---

## [WxRuby with MySQl](https://www.ruby-forum.com/t/wxruby-with-mysql/142156)

<div class="topic-metadata">

**Author:** [@drweb](https://www.ruby-forum.com/u/drweb)\
**Replies:** 1\
**Last updated:** [July 4, 2008, 12:07pm UTC](https://www.ruby-forum.com/t/wxruby-with-mysql/142156 "2008-07-04T12:07:44Z")

</div>

Hi All! I am newbie to WxRuby. If someone can give me an example of storing data into MySQL database using WxRuby. /Muzaffar

---

## [Background Colour of Button Widget](https://www.ruby-forum.com/t/background-colour-of-button-widget/142107)

<div class="topic-metadata">

**Author:** [@grios](https://www.ruby-forum.com/u/grios)\
**Replies:** 0\
**Last updated:** [July 3, 2008, 2:15pm UTC](https://www.ruby-forum.com/t/background-colour-of-button-widget/142107 "2008-07-03T14:15:32Z")

</div>

Hi again, im trying to paint a button background under windows but theres no visual change. This is supposed to work like that? I read here in the forums that the menubar “cant” change the color in windows, that app…

---

## [Treads slowing down the process](https://www.ruby-forum.com/t/treads-slowing-down-the-process/141928)

<div class="topic-metadata">

**Author:** [@joseph\_edelstein](https://www.ruby-forum.com/u/joseph_edelstein)\
**Replies:** 1\
**Last updated:** [July 2, 2008, 8:12am UTC](https://www.ruby-forum.com/t/treads-slowing-down-the-process/141928 "2008-07-02T08:12:13Z")

</div>

Hello, I was having problems with my GUI freezing if you clicked off of it when it was running or if it was processing a large file. After researching the forum, I found a thread that dealt with the problem by adding…

---

## [Printing Problem: text very small](https://www.ruby-forum.com/t/printing-problem-text-very-small/141789)

<div class="topic-metadata">

**Author:** [@grios](https://www.ruby-forum.com/u/grios)\
**Replies:** 3\
**Last updated:** [July 1, 2008, 8:22pm UTC](https://www.ruby-forum.com/t/printing-problem-text-very-small/141789 "2008-07-01T20:22:03Z")

</div>

hi people, Im trying to print some report but the text is too small, so as im not understanding much of the code of the printing example, i would like to know if there is any other reference i could read to solve that…

---

## [Drawing state diagram with wxruby](https://www.ruby-forum.com/t/drawing-state-diagram-with-wxruby/141760)

<div class="topic-metadata">

**Author:** [@lcyeap](https://www.ruby-forum.com/u/lcyeap)\
**Replies:** 2\
**Last updated:** [July 1, 2008, 2:25am UTC](https://www.ruby-forum.com/t/drawing-state-diagram-with-wxruby/141760 "2008-07-01T02:25:00Z")

</div>

Greetings, I am just started to use wxruby to create GUI for my project. i need to draw a state diagram based on some summary file. May i know is there any way in wxruby that allow people to draw circle and add text o…

---

## [Issue with Wx::Image class, especially set\_data](https://www.ruby-forum.com/t/issue-with-wx-image-class-especially-set-data/141758)

<div class="topic-metadata">

**Author:** [@Georg\_Bege](https://www.ruby-forum.com/u/Georg_Bege)\
**Replies:** 1\
**Last updated:** [June 30, 2008, 1:06pm UTC](https://www.ruby-forum.com/t/issue-with-wx-image-class-especially-set-data/141758 "2008-06-30T13:06:09Z")

</div>

Hello Hopefully some developer will see this too. I’ve problems using set\_data method for example with wxruby 1.9.7/ruby 1.8.6 on mswin32. It always crashes: …/classes/bitmap.rb:17: \[BUG\] segmentation fault On my L…

---

## [Catch all key events in frame?](https://www.ruby-forum.com/t/catch-all-key-events-in-frame/141662)

<div class="topic-metadata">

**Author:** [@Albin\_Holmgren](https://www.ruby-forum.com/u/Albin_Holmgren)\
**Replies:** 1\
**Last updated:** [June 28, 2008, 11:52pm UTC](https://www.ruby-forum.com/t/catch-all-key-events-in-frame/141662 "2008-06-28T23:52:16Z")

</div>

Hi. How do I best capture all key events in a frame. Specifically: In Albuin I want to delete selected songs in the playlist when the user presses ‘del’ - no matter what control in the frame happens to be in focused…

---

## [Wx::ArrayTreeItemIds not exists](https://www.ruby-forum.com/t/wx-arraytreeitemids-not-exists/141472)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 1\
**Last updated:** [June 26, 2008, 7:44pm UTC](https://www.ruby-forum.com/t/wx-arraytreeitemids-not-exists/141472 "2008-06-26T19:44:24Z")

</div>

Hi, Wx::ArrayTreeItemIds used in Wx::TreeCtrl#get\_selections unsigned int get\_selections(ArrayTreeItemIds selection) wxRuby version: wxruby-1.9.6-x86-mingw32. Thanks in advance. Regards, Zhimin

---

## [Xrc xrcsie new user question](https://www.ruby-forum.com/t/xrc-xrcsie-new-user-question/141444)

<div class="topic-metadata">

**Author:** [@joseph\_edelstein](https://www.ruby-forum.com/u/joseph_edelstein)\
**Replies:** 1\
**Last updated:** [June 26, 2008, 7:29pm UTC](https://www.ruby-forum.com/t/xrc-xrcsie-new-user-question/141444 "2008-06-26T19:29:08Z")

</div>

I am doing something wrong or missing a step. I am trying to get a panel that I made in DialogBlocks to come up in wxRuby. I made the XRC and ran xrcise on it. I am getting an error when trying to start it. Ruby co…

---

## [Gauge](https://www.ruby-forum.com/t/gauge/139808)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 1\
**Last updated:** [June 17, 2008, 10:38am UTC](https://www.ruby-forum.com/t/gauge/139808 "2008-06-17T10:38:04Z")

</div>

Bonjour. Est-il possible de changer la couleur? sebastien http://beusse.liveror.com/

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

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