# wxRuby

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

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

---

## [Black background using paint\_buffered](https://www.ruby-forum.com/t/black-background-using-paint-buffered/135587)

<div class="topic-metadata">

**Author:** [@awarberg](https://www.ruby-forum.com/u/awarberg)\
**Replies:** 3\
**Last updated:** [April 23, 2008, 12:55pm UTC](https://www.ruby-forum.com/t/black-background-using-paint-buffered/135587 "2008-04-23T12:55:38Z")

</div>

Hi, To avoid flickering during screen updates in a Frame on Windows I recently switched from paint do | dc | #… end to paint\_buffered do | dc | #… end The background colour of the Frame is set to WHITE, which i…

---

## [Bitmap toggle button](https://www.ruby-forum.com/t/bitmap-toggle-button/135492)

<div class="topic-metadata">

**Author:** [@Ajithkumar\_Warrier](https://www.ruby-forum.com/u/Ajithkumar_Warrier)\
**Replies:** 3\
**Last updated:** [April 22, 2008, 7:08pm UTC](https://www.ruby-forum.com/t/bitmap-toggle-button/135492 "2008-04-22T19:08:06Z")

</div>

Hi, How do I make a bitmap toggle button? I tried making a toggle button and then drawing onto it, but that didn’t work. Also, I tried a bitmap button but that wouldn’t remain pressed like a toggle button. Thanks for…

---

## [Problem with runtime error/segfault](https://www.ruby-forum.com/t/problem-with-runtime-error-segfault/226003)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 2\
**Last updated:** [April 22, 2008, 3:54am UTC](https://www.ruby-forum.com/t/problem-with-runtime-error-segfault/226003 "2008-04-22T03:54:49Z")

</div>

Set all the alarms to something, it doesn’t matter what except sometime in the future and out of the way except for #1. Set the first alarm on, to maybe 2 minutes from the time you run the program. Every time I run it…

---

## [How to get a Window handle from another app?](https://www.ruby-forum.com/t/how-to-get-a-window-handle-from-another-app/126045)

<div class="topic-metadata">

**Author:** [@EllisS\_Peter](https://www.ruby-forum.com/u/EllisS_Peter)\
**Replies:** 15\
**Last updated:** [April 22, 2008, 2:31am UTC](https://www.ruby-forum.com/t/how-to-get-a-window-handle-from-another-app/126045 "2008-04-22T02:31:17Z")

</div>

Hello, I would like to get a window handle from another app outside of wxRuby and convert it into a wxRuby Window handle so that I can use it as the parent Window for several wxRuby child windows. Basically I want to…

---

## [Transparent line in Frame](https://www.ruby-forum.com/t/transparent-line-in-frame/135356)

<div class="topic-metadata">

**Author:** [@awarberg](https://www.ruby-forum.com/u/awarberg)\
**Replies:** 4\
**Last updated:** [April 21, 2008, 4:47pm UTC](https://www.ruby-forum.com/t/transparent-line-in-frame/135356 "2008-04-21T16:47:05Z")

</div>

Hi Thanks for a great GUI toolkit! I want to draw transparent lines in a Frame. I have the following setup but my lines are not transparent. My colour object is created using: transparent\_blue = Colour.new(0,0,255,1…

---

## [Use bitmapButton with mouseEvent?](https://www.ruby-forum.com/t/use-bitmapbutton-with-mouseevent/135208)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 4\
**Last updated:** [April 19, 2008, 10:38pm UTC](https://www.ruby-forum.com/t/use-bitmapbutton-with-mouseevent/135208 "2008-04-19T22:38:33Z")

</div>

hi. I want to make button that can change picture when mouse is entering and can click to use function. and this is my code. @button2 = BitmapButton.new(@window, -1, @picturebox1\_bmp, Point.new(248,89), Size.new…

---

## [wxRuby / wxWigets with C++](https://www.ruby-forum.com/t/wxruby-wxwigets-with-c/135170)

<div class="topic-metadata">

**Author:** [@SSSSSukasz\_SSSSapiS](https://www.ruby-forum.com/u/SSSSSukasz_SSSSapiS)\
**Replies:** 1\
**Last updated:** [April 19, 2008, 1:28pm UTC](https://www.ruby-forum.com/t/wxruby-wxwigets-with-c/135170 "2008-04-19T13:28:33Z")

</div>

Hi, I am experimenting with integration of C++ and Ruby. What exactly I would like to do is to provide an option to use Ruby and wxRuby for creation of GUI and doing algorithms in C++ and then displaying results in …

---

## [How can I set window not resize?](https://www.ruby-forum.com/t/how-can-i-set-window-not-resize/135207)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 4\
**Last updated:** [April 19, 2008, 1:14pm UTC](https://www.ruby-forum.com/t/how-can-i-set-window-not-resize/135207 "2008-04-19T13:14:28Z")

</div>

I try super(nil, :title =\> title, :size =\> \[700, 525\]) @window = Window.new(self, -1) @window.set\_background\_colour(WHITE) @window.set\_size(700,525) @window.resizable(false) resizable is not fuction declare. can I make…

---

## [BusyCursor](https://www.ruby-forum.com/t/busycursor/135219)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 1\
**Last updated:** [April 19, 2008, 10:46am UTC](https://www.ruby-forum.com/t/busycursor/135219 "2008-04-19T10:46:01Z")

</div>

Bonjour Alex. Quand je place “BusyCursor.busy do…end” dans un “begin/rescue” et que j’ai une exception qui se lÃ¨ve, comment est-ce que je peut faire pour pouvoir stoper “BusyCursor” Ã partir de rescue? car j’ai le …

---

## [Alpha release of Weft QDA 2](https://www.ruby-forum.com/t/alpha-release-of-weft-qda-2/135136)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 1\
**Last updated:** [April 18, 2008, 4:01pm UTC](https://www.ruby-forum.com/t/alpha-release-of-weft-qda-2/135136 "2008-04-18T16:01:13Z")

</div>

Hi I just put out an alpha release of Weft QDA 2, an application written in wxRuby. Weft QDA is used by sociologists, anthropologists and similar for the analysis of textual data like interviews, fieldnotes and publi…

---

## [Changing the color of buttons](https://www.ruby-forum.com/t/changing-the-color-of-buttons/134987)

<div class="topic-metadata">

**Author:** [@erubin](https://www.ruby-forum.com/u/erubin)\
**Replies:** 1\
**Last updated:** [April 17, 2008, 1:17am UTC](https://www.ruby-forum.com/t/changing-the-color-of-buttons/134987 "2008-04-17T01:17:23Z")

</div>

I’m having trouble changing the color of Buttons in WxRuby. I’m calling set\_background\_colour (and set\_foreground\_colour) and the calls return true, but the button remains gray. In searching the documentation it see…

---

## [Different (tree) event behaviors across platforms](https://www.ruby-forum.com/t/different-tree-event-behaviors-across-platforms/131630)

<div class="topic-metadata">

**Author:** [@chauk-mean](https://www.ruby-forum.com/u/chauk-mean)\
**Replies:** 3\
**Last updated:** [April 16, 2008, 10:26am UTC](https://www.ruby-forum.com/t/different-tree-event-behaviors-across-platforms/131630 "2008-04-16T10:26:44Z")

</div>

Hi all, I’m currently writing a simple outliner application as a tutorial on wxRuby (both will be soon released :wink: ) I tested this application on Windows and Linux and found that the tree event behavior : is so…

---

## [Background for textctrl](https://www.ruby-forum.com/t/background-for-textctrl/134889)

<div class="topic-metadata">

**Author:** [@gerapcik](https://www.ruby-forum.com/u/gerapcik)\
**Replies:** 1\
**Last updated:** [April 16, 2008, 12:14am UTC](https://www.ruby-forum.com/t/background-for-textctrl/134889 "2008-04-16T00:14:41Z")

</div>

hi, i have a small form with some textctrl. and i was wondering how to set background of them when i write something on them. i mean, i would like to give a another than default backgound color when i set focus/write…

---

## [Detaching Controls](https://www.ruby-forum.com/t/detaching-controls/134359)

<div class="topic-metadata">

**Author:** [@nilz](https://www.ruby-forum.com/u/nilz)\
**Replies:** 4\
**Last updated:** [April 10, 2008, 11:01am UTC](https://www.ruby-forum.com/t/detaching-controls/134359 "2008-04-10T11:01:52Z")

</div>

Hi, Does anyone know how to detach controls from a panel or frame? What I want to do is click a button and redraw a new UI without the button. Is there any possible was to do this? Thank you for any help in advance. :…

---

## [Some problems with Wx::Grid](https://www.ruby-forum.com/t/some-problems-with-wx-grid/134115)

<div class="topic-metadata">

**Author:** [@paulf](https://www.ruby-forum.com/u/paulf)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 12:12am UTC](https://www.ruby-forum.com/t/some-problems-with-wx-grid/134115 "2008-04-08T00:12:51Z")

</div>

Recently I have been writing an app making some use of the Grid control, and I have experienced some problems with it. After playing around with the grid for a while I sometimes succeed to make the cells appear outsid…

---

## [wxRIDE Finally Available](https://www.ruby-forum.com/t/wxride-finally-available/130666)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 9\
**Last updated:** [April 1, 2008, 7:36am UTC](https://www.ruby-forum.com/t/wxride-finally-available/130666 "2008-04-01T07:36:42Z")

</div>

Hello fellow wxRuby users, Well, after a long period in which I originally announced that I was creating an IDE, I have finally become satisfied enough to release a SVN Version of wxRIDE. I started the project out, a…

---

## [Mouse motion example - help](https://www.ruby-forum.com/t/mouse-motion-example-help/133453)

<div class="topic-metadata">

**Author:** [@Ajithkumar\_Warrier](https://www.ruby-forum.com/u/Ajithkumar_Warrier)\
**Replies:** 2\
**Last updated:** [March 31, 2008, 10:41pm UTC](https://www.ruby-forum.com/t/mouse-motion-example-help/133453 "2008-03-31T22:41:34Z")

</div>

Hi, I am trying out this example adapted from the wxpython book, but the mouse motion event does not seem to be captured right. What am I doing wrong? Thanks warrior code below require ‘wx’ class MyFrame \< Wx::Fra…

---

## [How to search the mailing list?](https://www.ruby-forum.com/t/how-to-search-the-mailing-list/133448)

<div class="topic-metadata">

**Author:** [@Ajithkumar\_Warrier](https://www.ruby-forum.com/u/Ajithkumar_Warrier)\
**Replies:** 2\
**Last updated:** [March 31, 2008, 6:54pm UTC](https://www.ruby-forum.com/t/how-to-search-the-mailing-list/133448 "2008-03-31T18:54:06Z")

</div>

Hi, I haven’t been able to figure out how to search the mailing list for specific keywords. I would appreciate any pointers in this direction. Thanks warrior

---

## [Re: wxRuby & RubyScript2exe](https://www.ruby-forum.com/t/re-wxruby-rubyscript2exe/133218)

<div class="topic-metadata">

**Author:** [@Jay\_McGavren](https://www.ruby-forum.com/u/Jay_McGavren)\
**Replies:** 1\
**Last updated:** [March 29, 2008, 2:19am UTC](https://www.ruby-forum.com/t/re-wxruby-rubyscript2exe/133218 "2008-03-29T02:19:40Z")

</div>

Matthew Webb wrote: Bitmap file does not exist: C:\\Users\\Matthew\\eee\\eee.controls.exe.4\\app/icons/list.xpm (ArgumentError) Do you have any ideas how I could solve this problem? The problem is that this script depe…

---

## [Re: Tearing in my buffered animation test script](https://www.ruby-forum.com/t/re-tearing-in-my-buffered-animation-test-script/133216)

<div class="topic-metadata">

**Author:** [@Jay\_McGavren](https://www.ruby-forum.com/u/Jay_McGavren)\
**Replies:** 2\
**Last updated:** [March 29, 2008, 2:16am UTC](https://www.ruby-forum.com/t/re-tearing-in-my-buffered-animation-test-script/133216 "2008-03-29T02:16:38Z")

</div>

Paul w Florczykowski wrote: I have tested your application, and indeed there is great deal of flicker as expected. You are not making any particular errors in your code; the problem occurs because the drawing, or mo…

---

## [wxRuby & RubyScript2exe](https://www.ruby-forum.com/t/wxruby-rubyscript2exe/133112)

<div class="topic-metadata">

**Author:** [@Matthew\_Webb](https://www.ruby-forum.com/u/Matthew_Webb)\
**Replies:** 4\
**Last updated:** [March 28, 2008, 3:53pm UTC](https://www.ruby-forum.com/t/wxruby-rubyscript2exe/133112 "2008-03-28T15:53:25Z")

</div>

I’ve got wxruby (1.9.5) & rubyscript2exe (0.5.3) installed & I’m using Windows Vista. I’m trying to use rubyscript2exe to turn one of the wxruby sample programs into an .exe. The sample is in the controls folder & i…

---

## [Tearing in my buffered animation test script](https://www.ruby-forum.com/t/tearing-in-my-buffered-animation-test-script/121808)

<div class="topic-metadata">

**Author:** [@Jay\_McGavren](https://www.ruby-forum.com/u/Jay_McGavren)\
**Replies:** 4\
**Last updated:** [March 28, 2008, 1:17am UTC](https://www.ruby-forum.com/t/tearing-in-my-buffered-animation-test-script/121808 "2008-03-28T01:17:58Z")

</div>

OK, I have a basic blit demo working (thanks to Alex F. for his reply, which I finally saw). However, there’s a great deal of “tearing” on the screen - flickering grey lines in the black background. It looks like the…

---

## [TaskBarIcon in OS X](https://www.ruby-forum.com/t/taskbaricon-in-os-x/131895)

<div class="topic-metadata">

**Author:** [@zdavidlnx](https://www.ruby-forum.com/u/zdavidlnx)\
**Replies:** 3\
**Last updated:** [March 15, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/taskbaricon-in-os-x/131895 "2008-03-15T14:55:05Z")

</div>

Is the Wx:TaskBarIcon supported under OS X? I can’t seem to get it working. My code works under Windows, but not OS X. I thought it was something I was doing, so I tried the bigdemo.rb sample and that doesnt’ seem to …

---

## [Maximizeevent](https://www.ruby-forum.com/t/maximizeevent/131919)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 1\
**Last updated:** [March 14, 2008, 12:11pm UTC](https://www.ruby-forum.com/t/maximizeevent/131919 "2008-03-14T12:11:55Z")

</div>

Bonjour Alex. Dans les docs, il y a “maximizeevent”, mais je ne voit pas “minimizeevent”??? Pourquoi? sebastien http://beusse.liveror.com/

---

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

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 0\
**Last updated:** [March 13, 2008, 11:54am UTC](https://www.ruby-forum.com/t/treectrl/131801 "2008-03-13T11:54:49Z")

</div>

Salut Alex. J’ai 1 fenetre “TreeCtrl” et 1 fenetre “CheckListBox” $d = CheckListBox… $liste1 est un tableau. Quand je fait un clique\_droit sur un item(TreeCtrl) pour activer le menu, le nom de l’item apparaÃ®t en “b…

---

## [wxRIDE Mailing Lists open](https://www.ruby-forum.com/t/wxride-mailing-lists-open/131655)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 0\
**Last updated:** [March 12, 2008, 7:42am UTC](https://www.ruby-forum.com/t/wxride-mailing-lists-open/131655 "2008-03-12T07:42:31Z")

</div>

Hello All, I’ve finalized wxRIDE’s Mailing L… For users of wxRIDE, who are looking for help, having problems, or general questions about wxRIDE, may use the wxRIDE’s user list, at removed\_email\_address@domain.inval…

---

## [How can I play files .mp3 and midi?](https://www.ruby-forum.com/t/how-can-i-play-files-mp3-and-midi/131549)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 2\
**Last updated:** [March 11, 2008, 12:21pm UTC](https://www.ruby-forum.com/t/how-can-i-play-files-mp3-and-midi/131549 "2008-03-11T12:21:52Z")

</div>

I use def button\_event3() Sound.new('destiny.wav').play end and I can play normally but this can’t use with .mp3 and midi files. how can I play it?? it work for .wav only??

---

## [wxRuby 1.9.5](https://www.ruby-forum.com/t/wxruby-1-9-5/131548)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 0\
**Last updated:** [March 11, 2008, 8:26am UTC](https://www.ruby-forum.com/t/wxruby-1-9-5/131548 "2008-03-11T08:26:19Z")

</div>

Hi wxRuby 1.9.5 is now out with a full set of binary gems. It can be downloaded from the usual place: http://rubyforge.org/frs/?group\_id=35&release\_id=19932 Or via rubygems: gem install wxruby == WHAT’S NEW == This…

---

## [Wxruby, XRC, DialogBlock](https://www.ruby-forum.com/t/wxruby-xrc-dialogblock/131055)

<div class="topic-metadata">

**Author:** [@joshualef](https://www.ruby-forum.com/u/joshualef)\
**Replies:** 21\
**Last updated:** [March 9, 2008, 7:11pm UTC](https://www.ruby-forum.com/t/wxruby-xrc-dialogblock/131055 "2008-03-09T19:11:52Z")

</div>

I’ve been trying to figure out the best method for generating GUI’s with Ruby. I ended up using DialogBlock because it seems like the fastest way. But not I have to work backwards and have not done this before. How d…

---

## [Copy & paste event](https://www.ruby-forum.com/t/copy-paste-event/131242)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 9\
**Last updated:** [March 7, 2008, 4:33pm UTC](https://www.ruby-forum.com/t/copy-paste-event/131242 "2008-03-07T16:33:19Z")

</div>

hi. now I have problem about copy and paste text in my application I make copy and paste button in toolbar and I have fuction of them but I don’t know how to make it can copy only selection text and paste into other t…

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

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