# wxRuby

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

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

---

## [WxScrolledWindow (putting into)](https://www.ruby-forum.com/t/wxscrolledwindow-putting-into/180965)

<div class="topic-metadata">

**Author:** [@mike343](https://www.ruby-forum.com/u/mike343)\
**Replies:** 2\
**Last updated:** [January 16, 2010, 1:12am UTC](https://www.ruby-forum.com/t/wxscrolledwindow-putting-into/180965 "2010-01-16T01:12:11Z")

</div>

I’m having a real problem getting stuff into a WxScrolledWindow. What I’m trying to do is use a scrolled widow to display a set records (two elements, a StaticText label and a TextCtrl entry box) that will likely be …

---

## [Problem with StyledTextCtrl](https://www.ruby-forum.com/t/problem-with-styledtextctrl/181355)

<div class="topic-metadata">

**Author:** [@night\_stalker](https://www.ruby-forum.com/u/night_stalker)\
**Replies:** 0\
**Last updated:** [January 10, 2010, 5:48pm UTC](https://www.ruby-forum.com/t/problem-with-styledtextctrl/181355 "2010-01-10T17:48:16Z")

</div>

I am using StyledTextCtrl, and want to get direct function and pointer from the handle so that I can pass them to some old codes written in C. But the output of the following code is “0, 0”, which means send\_msg() ret…

---

## [problÃ¨me de fermeture d'applica tion via l'icÃ´ne de la barre de lancement rapide](https://www.ruby-forum.com/t/probla-me-de-fermeture-dapplica-tion-via-lica-ne-de-la-barre-de-lancement-rapide/181038)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 1\
**Last updated:** [January 5, 2010, 9:40am UTC](https://www.ruby-forum.com/t/probla-me-de-fermeture-dapplica-tion-via-lica-ne-de-la-barre-de-lancement-rapide/181038 "2010-01-05T09:40:07Z")

</div>

Bonjour Alex. Quand j’ouvre mes applications et que je clique sur l’item “quittez” de l’icône de la barre de lancement rapide, l’icône disparaît mais mes applications ne se ferme pas. Il faut que je passe dessus avec…

---

## [Set font size for device context](https://www.ruby-forum.com/t/set-font-size-for-device-context/180973)

<div class="topic-metadata">

**Author:** [@haris](https://www.ruby-forum.com/u/haris)\
**Replies:** 0\
**Last updated:** [January 2, 2010, 2:22pm UTC](https://www.ruby-forum.com/t/set-font-size-for-device-context/180973 "2010-01-02T14:22:31Z")

</div>

Hi. How to set font size for device context (for use with draw\_text method) ? I tried set\_point\_size method of Font class but nothing happens. What exactly does this method do ? Thanks Haris

---

## [Ldd problems with svn version](https://www.ruby-forum.com/t/ldd-problems-with-svn-version/180961)

<div class="topic-metadata">

**Author:** [@potuz](https://www.ruby-forum.com/u/potuz)\
**Replies:** 0\
**Last updated:** [January 2, 2010, 4:56am UTC](https://www.ruby-forum.com/t/ldd-problems-with-svn-version/180961 "2010-01-02T04:56:11Z")

</div>

Hi there, I just built wxruby, ruby and wxWidgets from svn trunk stable and I’m having problems with undefined symbols on wxruby2.so. It looks like a broken ruby installation but I’m not sure, I’d appreciate any help.…

---

## [Help with clean exits](https://www.ruby-forum.com/t/help-with-clean-exits/180944)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 0\
**Last updated:** [January 1, 2010, 11:39am UTC](https://www.ruby-forum.com/t/help-with-clean-exits/180944 "2010-01-01T11:39:34Z")

</div>

require ‘wx’ require ‘Eyes.rb’ require ‘date.rb’ I am trying to close then mainframe window cleanly so I don’t have to shut down ruby1.9 via \`kill -9 …’. When I press cancel on the first (welcome) window it does exi…

---

## [Wxscrolledwindow](https://www.ruby-forum.com/t/wxscrolledwindow/180725)

<div class="topic-metadata">

**Author:** [@haris](https://www.ruby-forum.com/u/haris)\
**Replies:** 3\
**Last updated:** [December 28, 2009, 5:21pm UTC](https://www.ruby-forum.com/t/wxscrolledwindow/180725 "2009-12-28T17:21:40Z")

</div>

Hi. Could someone give me a simple example on how to use ScrolledWindow class ? I want to be able to draw on a panel that’s many times higher than window holding it (which has vertical scroll bars). Thanks Haris

---

## [Timothy Mcdowell has invited you to Dropbox](https://www.ruby-forum.com/t/timothy-mcdowell-has-invited-you-to-dropbox/180650)

<div class="topic-metadata">

**Author:** [@Dropbox](https://www.ruby-forum.com/u/Dropbox)\
**Replies:** 0\
**Last updated:** [December 25, 2009, 3:24pm UTC](https://www.ruby-forum.com/t/timothy-mcdowell-has-invited-you-to-dropbox/180650 "2009-12-25T15:24:27Z")

</div>

We’re excited to let you know that Timothy Mcdowell has invited you to Dropbox! Timothy Mcdowell has been using Dropbox to sync and share files online and across computers, and thought you might want it too. Visit ht…

---

## [problÃ¨me de fermeture d'applica tion via l'icÃ´ne de la barre de lancement rapide](https://www.ruby-forum.com/t/probla-me-de-fermeture-dapplica-tion-via-lica-ne-de-la-barre-de-lancement-rapide/180562)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 0\
**Last updated:** [December 21, 2009, 9:44pm UTC](https://www.ruby-forum.com/t/probla-me-de-fermeture-dapplica-tion-via-lica-ne-de-la-barre-de-lancement-rapide/180562 "2009-12-21T21:44:13Z")

</div>

Bonsoir Alex. Quand j’ouvre mes applications et que je clique sur l’item “quittez” de l’icône de la barre de lancement rapide, l’icône disparaît mais mes applications ne se ferme pas. Il faut que je passe dessus avec…

---

## ["msvcrt-ruby.ruby1818.dll not found" on wxruby-2.0.1 mingw32](https://www.ruby-forum.com/t/msvcrt-ruby-ruby1818-dll-not-found-on-wxruby-2-0-1-mingw32/175233)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 5\
**Last updated:** [December 21, 2009, 8:20am UTC](https://www.ruby-forum.com/t/msvcrt-ruby-ruby1818-dll-not-found-on-wxruby-2-0-1-mingw32/175233 "2009-12-21T08:20:28Z")

</div>

Hi all, Just upgraded to wxruby-2.0.1-x86-mingw32 (from 2.0.0), got an error when starting my app. “The application has failed to start because msvcrt-ruby1818.dll was not found. Re-installing the application may fix…

---

## [Rubyinstaller-1.9.1-p243-rc1.exe | wxruby-ruby19-2.0.1-x86-mingw32.gem | encodage](https://www.ruby-forum.com/t/rubyinstaller-1-9-1-p243-rc1-exe-wxruby-ruby19-2-0-1-x86-mingw32-gem-encodage/180362)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 1\
**Last updated:** [December 19, 2009, 7:09pm UTC](https://www.ruby-forum.com/t/rubyinstaller-1-9-1-p243-rc1-exe-wxruby-ruby19-2-0-1-x86-mingw32-gem-encodage/180362 "2009-12-19T19:09:54Z")

</div>

Bonjour Alex. Ce matin j’ai installer “rubyinstaller-1.9.1-p243-rc1.exe” “wxruby-ruby19-2.0.1-x86-mingw32.gem” “SciTE.exe 2.0.1.0” Quand j’exÃ©cute (avec scite) mon fichier “Rss-wxruby.rbw” qui est encodÃ© en utf8 e…

---

## [Shaped frames (even the example) cause warning window](https://www.ruby-forum.com/t/shaped-frames-even-the-example-cause-warning-window/180473)

<div class="topic-metadata">

**Author:** [@quintus](https://www.ruby-forum.com/u/quintus)\
**Replies:** 0\
**Last updated:** [December 19, 2009, 3:42pm UTC](https://www.ruby-forum.com/t/shaped-frames-even-the-example-cause-warning-window/180473 "2009-12-19T15:42:16Z")

</div>

Hi, I just found that the “ShapedWindow.rbw” example (from bigdemo) causes a Warning Dialog window to appear when you click the display button, saying: “Ignoring attempt to set cHRM RGB triangle with zero area”. Afte…

---

## [Grid et boxsizer](https://www.ruby-forum.com/t/grid-et-boxsizer/180127)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 4\
**Last updated:** [December 17, 2009, 10:38am UTC](https://www.ruby-forum.com/t/grid-et-boxsizer/180127 "2009-12-17T10:38:31Z")

</div>

Bonjour. Une fois mon application ouverte, je voudrais savoir, si cela est possible, comment dimensionner automatiquement la totalité des colonnes du grid à la taille de mon boxsizer, quand je change la taille de mon …

---

## [Will wxRuby 2.0.2 be available before Xmas?](https://www.ruby-forum.com/t/will-wxruby-2-0-2-be-available-before-xmas/180302)

<div class="topic-metadata">

**Author:** [@sweatje](https://www.ruby-forum.com/u/sweatje)\
**Replies:** 0\
**Last updated:** [December 17, 2009, 12:47am UTC](https://www.ruby-forum.com/t/will-wxruby-2-0-2-be-available-before-xmas/180302 "2009-12-17T00:47:58Z")

</div>

This will make a nice Xmas present. Looking forward to get wxRuby working on Snow Leopard …

---

## [ScreenDC doesn't draw text](https://www.ruby-forum.com/t/screendc-doesnt-draw-text/179883)

<div class="topic-metadata">

**Author:** [@quintus](https://www.ruby-forum.com/u/quintus)\
**Replies:** 2\
**Last updated:** [December 16, 2009, 2:01pm UTC](https://www.ruby-forum.com/t/screendc-doesnt-draw-text/179883 "2009-12-16T14:01:50Z")

</div>

Hi, I’m doing some experiments with the ScreenDC class for on-screen drawing. Drawing shapes like a circle or rectangle works fine, but when I try to draw text onto the screen, nothing happens. I’m using the wxruby-r…

---

## [Menu event handler problem](https://www.ruby-forum.com/t/menu-event-handler-problem/180226)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 4\
**Last updated:** [December 16, 2009, 4:31am UTC](https://www.ruby-forum.com/t/menu-event-handler-problem/180226 "2009-12-16T04:31:13Z")

</div>

Guys, I make a form with xrc file help I load, use lambda to get all my widgets, then set event handler somehow, it does not work well with menu with no clear sign of what the mistake is is there something I miss? …

---

## [Textbox for numeric](https://www.ruby-forum.com/t/textbox-for-numeric/179977)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 6\
**Last updated:** [December 15, 2009, 5:57am UTC](https://www.ruby-forum.com/t/textbox-for-numeric/179977 "2009-12-15T05:57:32Z")

</div>

Dear all Is there a good way to make a textbox that receive numeric only? something that limit the key it respond to or give sign (like red background or something) if the input is not numeric I wonder if validator …

---

## [Is it possible to get widget from it's id](https://www.ruby-forum.com/t/is-it-possible-to-get-widget-from-its-id/180183)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 2\
**Last updated:** [December 15, 2009, 5:51am UTC](https://www.ruby-forum.com/t/is-it-possible-to-get-widget-from-its-id/180183 "2009-12-15T05:51:41Z")

</div>

Dear all, is it possible to get widget from its id? to be clear, what I intent to do is something like below def widget\_by\_id\_do\_something(widget\_id) widget(widget\_id).do\_something end

---

## [Closing event on a Notebook page](https://www.ruby-forum.com/t/closing-event-on-a-notebook-page/180116)

<div class="topic-metadata">

**Author:** [@Svend\_Haugaard\_SSSS](https://www.ruby-forum.com/u/Svend_Haugaard_SSSS)\
**Replies:** 2\
**Last updated:** [December 15, 2009, 4:31am UTC](https://www.ruby-forum.com/t/closing-event-on-a-notebook-page/180116 "2009-12-15T04:31:30Z")

</div>

How do I catch a closing event for a Notebook page. I have added a number of pages (class Panel) to a Notebook and I can remove them via the default close button on the pane. But I what to run some code before the pag…

---

## [How to get the debug information of wxRuby scripts](https://www.ruby-forum.com/t/how-to-get-the-debug-information-of-wxruby-scripts/180184)

<div class="topic-metadata">

**Author:** [@jette](https://www.ruby-forum.com/u/jette)\
**Replies:** 1\
**Last updated:** [December 14, 2009, 9:51pm UTC](https://www.ruby-forum.com/t/how-to-get-the-debug-information-of-wxruby-scripts/180184 "2009-12-14T21:51:09Z")

</div>

Hello All I’m a newbie for wxRuby. I’ve tried wxRuby to make some of my little utilities. But, when I’m learning by doing…I’ve got one question. I have one piece of wxruby script. And after run this scripts, a “Micr…

---

## [Minimal Wx\_Colour bug?](https://www.ruby-forum.com/t/minimal-wx-colour-bug/180124)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 2\
**Last updated:** [December 13, 2009, 4:41pm UTC](https://www.ruby-forum.com/t/minimal-wx-colour-bug/180124 "2009-12-13T16:41:02Z")

</div>

require ‘wx’ col\_sample4.rb BLACK = Wx::Colour.new(0,0,0) RED = Wx::Colour.new(128,0,0) @background\_colour = BLACK @symbol\_colour = BLACK temp\_colour = BLACK temp2\_colour = RED @symbol\_colour = Wx::Colour.set(1, 0…

---

## [Making framework, need suggestion](https://www.ruby-forum.com/t/making-framework-need-suggestion/180092)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 0\
**Last updated:** [December 11, 2009, 10:20am UTC](https://www.ruby-forum.com/t/making-framework-need-suggestion/180092 "2009-12-11T10:20:04Z")

</div>

Dear all, right now I am in the middle of my personal project it is some kind of rails but for wx… well, not similar exactly for now, I simply call it fastwx (the name explain what we want to get) here is my plan I …

---

## [3 variables change after 1 'set' is called](https://www.ruby-forum.com/t/3-variables-change-after-1-set-is-called/180091)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 0\
**Last updated:** [December 11, 2009, 9:36am UTC](https://www.ruby-forum.com/t/3-variables-change-after-1-set-is-called/180091 "2009-12-11T09:36:10Z")

</div>

require ‘wx’ col\_sample2.rb this sets up the colour constants to be used in this program BLACK = Wx::Colour.new(0, 0, 0) RED = Wx::Colour.new(128, 0, 0) class Symbol\_Class =begin This class will hold the…

---

## [Unable to use wxruby-ruby19 in Ruby 1.9.1-p129 on Windows](https://www.ruby-forum.com/t/unable-to-use-wxruby-ruby19-in-ruby-1-9-1-p129-on-windows/168839)

<div class="topic-metadata">

**Author:** [@quintus](https://www.ruby-forum.com/u/quintus)\
**Replies:** 4\
**Last updated:** [December 5, 2009, 9:21pm UTC](https://www.ruby-forum.com/t/unable-to-use-wxruby-ruby19-in-ruby-1-9-1-p129-on-windows/168839 "2009-12-05T21:21:36Z")

</div>

Hello, I’m using wxRuby as my favourite GUI toolkit with Ruby 1.9. But after I updated my Ruby installation from Ruby 1.9.1-p0 to Ruby 1.9.1-p129, I cannot do a require “wx” anymore. Every time I try I get an error th…

---

## [wxRuby GUI textctrl not updating until end](https://www.ruby-forum.com/t/wxruby-gui-textctrl-not-updating-until-end/179468)

<div class="topic-metadata">

**Author:** [@vanik](https://www.ruby-forum.com/u/vanik)\
**Replies:** 5\
**Last updated:** [December 3, 2009, 4:17am UTC](https://www.ruby-forum.com/t/wxruby-gui-textctrl-not-updating-until-end/179468 "2009-12-03T04:17:12Z")

</div>

I have a wxRuby application that is working fine, except that it does not update the multi-line textctrl box until the application has completed processing. The program has a couple of nexted loops. On the inner loop,…

---

## [Logging window](https://www.ruby-forum.com/t/logging-window/179738)

<div class="topic-metadata">

**Author:** [@halon](https://www.ruby-forum.com/u/halon)\
**Replies:** 0\
**Last updated:** [December 2, 2009, 11:23pm UTC](https://www.ruby-forum.com/t/logging-window/179738 "2009-12-02T23:23:48Z")

</div>

Hi all. As a part of my first wxRuby app I need to create a window (now I use Notebook tab to do this) where any event can be logged. I’ve tried with Grid. It has more than I want - columns and rows names. Can anyone …

---

## ['Are you sure?' custom dialog not exiting cleanly](https://www.ruby-forum.com/t/are-you-sure-custom-dialog-not-exiting-cleanly/179572)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 1\
**Last updated:** [November 28, 2009, 11:07pm UTC](https://www.ruby-forum.com/t/are-you-sure-custom-dialog-not-exiting-cleanly/179572 "2009-11-28T23:07:50Z")

</div>

The following program does not exit cleanly after pressing ‘Yes’ when asked ‘Are you sure’? How do I free up the resources after exiting? You can use wxsugar (xrcise) to try out this mini program if you wish to cr…

---

## [How can i use windows xp style in wxruby](https://www.ruby-forum.com/t/how-can-i-use-windows-xp-style-in-wxruby/179490)

<div class="topic-metadata">

**Author:** [@brblakley](https://www.ruby-forum.com/u/brblakley)\
**Replies:** 2\
**Last updated:** [November 26, 2009, 2:44pm UTC](https://www.ruby-forum.com/t/how-can-i-use-windows-xp-style-in-wxruby/179490 "2009-11-26T14:44:57Z")

</div>

sorry, i can’t open the page: so, can anyone send the content to me? thinks very much can put here or send me email: removed\_email\_address@domain.invalid

---

## [Help with HtmlListBox.hit\_test and painting on DC](https://www.ruby-forum.com/t/help-with-htmllistbox-hit-test-and-painting-on-dc/179467)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 2\
**Last updated:** [November 25, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/help-with-htmllistbox-hit-test-and-painting-on-dc/179467 "2009-11-25T21:50:27Z")

</div>

I need help getting this code to work. I am having trouble getting the hit\_test to work. It seems to be true even when the mouse is not over the control (specifically to the right of the control). case when (ht = @h…

---

## [Xrcise now works](https://www.ruby-forum.com/t/xrcise-now-works/179433)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 0\
**Last updated:** [November 24, 2009, 8:41pm UTC](https://www.ruby-forum.com/t/xrcise-now-works/179433 "2009-11-24T20:41:26Z")

</div>

Hi Mario, The following change to outputter.rb did work for me. It looks like adding a routine to string should also work but it didn’t for me. Thanks for your help. -Philip ===== from RubyForge ========== Date…

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

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