# wxRuby

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

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

---

## [Evt\_kill\_focus Problem](https://www.ruby-forum.com/t/evt-kill-focus-problem/166118)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 3\
**Last updated:** [April 30, 2009, 2:31pm UTC](https://www.ruby-forum.com/t/evt-kill-focus-problem/166118 "2009-04-30T14:31:06Z")

</div>

I’m trying to process the focus changed event without success. I’m only interested in it if it is a particular control losing focus, but (so far) I haven’t been able to get it processed at all. In the event setup, I u…

---

## [Image in Title Bar](https://www.ruby-forum.com/t/image-in-title-bar/166441)

<div class="topic-metadata">

**Author:** [@sweatje](https://www.ruby-forum.com/u/sweatje)\
**Replies:** 6\
**Last updated:** [April 29, 2009, 10:14pm UTC](https://www.ruby-forum.com/t/image-in-title-bar/166441 "2009-04-29T22:14:17Z")

</div>

All, How do you display an image/icon in the title bar of a window? Thanks in advance. Shelton

---

## [\[ANN\] wxRubyTemplate](https://www.ruby-forum.com/t/ann-wxrubytemplate/165913)

<div class="topic-metadata">

**Author:** [@dzhou](https://www.ruby-forum.com/u/dzhou)\
**Replies:** 4\
**Last updated:** [April 21, 2009, 4:14pm UTC](https://www.ruby-forum.com/t/ann-wxrubytemplate/165913 "2009-04-21T16:14:19Z")

</div>

Hey folks, You may be interested in a project I’ve published on Github, wxRubyTemplate. See the blog post and visit the project on Github. http://daniel.zepeda.ws/blog/2009/04/18/announcement-wxrubytemplate/ Introdu…

---

## [Icons show transparent background as black](https://www.ruby-forum.com/t/icons-show-transparent-background-as-black/164936)

<div class="topic-metadata">

**Author:** [@dzhou](https://www.ruby-forum.com/u/dzhou)\
**Replies:** 5\
**Last updated:** [April 20, 2009, 1:14am UTC](https://www.ruby-forum.com/t/icons-show-transparent-background-as-black/164936 "2009-04-20T01:14:31Z")

</div>

Greetings, On OSX 10.5.6, when I attempt to create a TaskBar Icon from a PNG using the sample code shown in (I think bigdemo.rb), with some PNGs, (the ones that I create) the icon shows up with the transparent backgro…

---

## [FlexibleGrid column sizing](https://www.ruby-forum.com/t/flexiblegrid-column-sizing/165891)

<div class="topic-metadata">

**Author:** [@mike343](https://www.ruby-forum.com/u/mike343)\
**Replies:** 1\
**Last updated:** [April 20, 2009, 12:45am UTC](https://www.ruby-forum.com/t/flexiblegrid-column-sizing/165891 "2009-04-20T00:45:18Z")

</div>

OK, I’m relatively new to wxruby, but have gotten a few forms successful, and so building up some experience, but have run into a major challenge with the following issue. I want to generate a table-like thing, that …

---

## [Control Sizing](https://www.ruby-forum.com/t/control-sizing/165881)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 1\
**Last updated:** [April 18, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/control-sizing/165881 "2009-04-18T20:57:40Z")

</div>

I’m still having trouble getting the intricities of Control sizing through my head. I’m using wxFormBuilder to build my screen, but I can subclass and write code as needed … if I knew what code is needed. I have a fo…

---

## [Displaying Asian characters in StyledTextCtrl](https://www.ruby-forum.com/t/displaying-asian-characters-in-styledtextctrl/165646)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 4\
**Last updated:** [April 16, 2009, 7:54am UTC](https://www.ruby-forum.com/t/displaying-asian-characters-in-styledtextctrl/165646 "2009-04-16T07:54:38Z")

</div>

Hi, I used r18n-desktop (http://r18n.rubyforge.org/) for localization, it worked well. But I have trouble displaying Chinese characters in StyledTextCtrl, On Mac, the control accepts characters, but failed to save (c…

---

## [1.9 win32](https://www.ruby-forum.com/t/1-9-win32/165535)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 6\
**Last updated:** [April 15, 2009, 11:51pm UTC](https://www.ruby-forum.com/t/1-9-win32/165535 "2009-04-15T23:51:20Z")

</div>

I’m sure this has been brought up before but I haven’t heard anything lately. When is there going to be a wxruby-ruby19 for Windows? – Eric W.

---

## [Help on StyledTextCtrl's hotspots](https://www.ruby-forum.com/t/help-on-styledtextctrls-hotspots/165097)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 3\
**Last updated:** [April 15, 2009, 2:34pm UTC](https://www.ruby-forum.com/t/help-on-styledtextctrls-hotspots/165097 "2009-04-15T14:34:26Z")

</div>

Hi I want to implement a clickable link in StyledTextCtrl, seems hotspots is the way to go (when mouse hove on hotspot, cursor changed to ‘hand’, can fire a click event). My code (below) only works when a lexer is no…

---

## [Validator problem](https://www.ruby-forum.com/t/validator-problem/165577)

<div class="topic-metadata">

**Author:** [@Luciano\_Zanotto](https://www.ruby-forum.com/u/Luciano_Zanotto)\
**Replies:** 1\
**Last updated:** [April 15, 2009, 2:15pm UTC](https://www.ruby-forum.com/t/validator-problem/165577 "2009-04-15T14:15:05Z")

</div>

Hi everubody, I’m new to wxRuby and I have a problem with Validator/TextValidator object. I’m actually trying to develop an extension to OpenStudio, a plugin for Google SketchUp. When I create a Validator or a control…

---

## [ListBox's overlapping](https://www.ruby-forum.com/t/listboxs-overlapping/165211)

<div class="topic-metadata">

**Author:** [@pierre](https://www.ruby-forum.com/u/pierre)\
**Replies:** 2\
**Last updated:** [April 15, 2009, 2:42am UTC](https://www.ruby-forum.com/t/listboxs-overlapping/165211 "2009-04-15T02:42:53Z")

</div>

Guys, I have a bug which I can’t solve at the moment. I tried various solutions, changing the sizers and lots of different ways, I still couldn’t fix it. In my code, I have basically two ListBox in the same panel, on…

---

## [Help building wxRuby with VC8](https://www.ruby-forum.com/t/help-building-wxruby-with-vc8/164553)

<div class="topic-metadata">

**Author:** [@Miguel\_MuSSSSoz\_Ara](https://www.ruby-forum.com/u/Miguel_MuSSSSoz_Ara)\
**Replies:** 3\
**Last updated:** [April 15, 2009, 1:27am UTC](https://www.ruby-forum.com/t/help-building-wxruby-with-vc8/164553 "2009-04-15T01:27:51Z")

</div>

Hello, I’m trying to build wxRuby-2.0.0 with Ruby 1.9.1-p0 and SWIG 1.3.39 using VC8, but so far I didn’t manage to do it. First of all, is there some information available online for building wxRuby with Visual Stud…

---

## [Wx::Timer](https://www.ruby-forum.com/t/wx-timer/165292)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [April 14, 2009, 2:33pm UTC](https://www.ruby-forum.com/t/wx-timer/165292 "2009-04-14T14:33:55Z")

</div>

I want to process and event at regular time intervals. It appears that Wx::Timer should do the job, but I haven’t been able to figure out how to use in in wxruby. The documentation for this is still for C++. I’ve trie…

---

## [Titled border](https://www.ruby-forum.com/t/titled-border/165201)

<div class="topic-metadata">

**Author:** [@pierre](https://www.ruby-forum.com/u/pierre)\
**Replies:** 4\
**Last updated:** [April 14, 2009, 1:31pm UTC](https://www.ruby-forum.com/t/titled-border/165201 "2009-04-14T13:31:38Z")

</div>

Hi folks, I have a few ListBox controls in my small app, and I wanted to put a kind of title above each of them. The easiest and somehow best looking solution I had thought of, was a kind of border around the ListBox…

---

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

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 7:17pm UTC](https://www.ruby-forum.com/t/grid/164951 "2009-04-07T19:17:34Z")

</div>

Bonjour. Est-il possible de supprimer l’espace se situant entre la derniÃ¨re colonne et la scrollbar?, car il y a toujours un espace restant. J’ai essayer de le supprimer en changeant les tailles, mais rien Ã faire. …

---

## [Parallel lines in a ScrolledWindow](https://www.ruby-forum.com/t/parallel-lines-in-a-scrolledwindow/164635)

<div class="topic-metadata">

**Author:** [@Svend\_Haugaard\_SSSS](https://www.ruby-forum.com/u/Svend_Haugaard_SSSS)\
**Replies:** 3\
**Last updated:** [April 5, 2009, 11:20pm UTC](https://www.ruby-forum.com/t/parallel-lines-in-a-scrolledwindow/164635 "2009-04-05T23:20:26Z")

</div>

Hey. I am trying to figure out how access all the client area in an evt\_paint in a scrolled window. I have made a little demo program, where I try to draw 2 parallel lines, and when scrolling the lines, they should …

---

## [Creating a ... table/matrix/grid?](https://www.ruby-forum.com/t/creating-a-table-matrix-grid/164775)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 1\
**Last updated:** [April 5, 2009, 11:11pm UTC](https://www.ruby-forum.com/t/creating-a-table-matrix-grid/164775 "2009-04-05T23:11:02Z")

</div>

Hey guys. First post, and I have a project which is ambitious (to me anyway, since this is my first foray ever in GUI). I want to dynamically create (from 2 arrays for instance) a table with rows and columns, and each…

---

## [Error: undefined method 'calc\_min' for #\<Wx::IdleEvent\>](https://www.ruby-forum.com/t/error-undefined-method-calc-min-for-wx-idleevent/164323)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 15\
**Last updated:** [April 5, 2009, 9:26pm UTC](https://www.ruby-forum.com/t/error-undefined-method-calc-min-for-wx-idleevent/164323 "2009-04-05T21:26:48Z")

</div>

Hi, I occasionally had the following error when application in idle state. Error: undefined method ‘calc\_min’ for #Wx::IdleEvent:0xb115e44 OS: WXMSW Ruby Version: 1.8.6 wxRuby 2.0.0 Backtrace: (eval):154:in calc\_m…

---

## [Problem with spacing](https://www.ruby-forum.com/t/problem-with-spacing/164662)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [April 5, 2009, 5:12pm UTC](https://www.ruby-forum.com/t/problem-with-spacing/164662 "2009-04-05T17:12:34Z")

</div>

I’m having the devil’s time trying to get things laid out correctly. I’ve attached a screenshot so that you can get an idea of what I’m seeing. I’ve got a very unattractive space under the two combo boxes, and another…

---

## [Tab](https://www.ruby-forum.com/t/tab/164616)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 4\
**Last updated:** [April 5, 2009, 10:41am UTC](https://www.ruby-forum.com/t/tab/164616 "2009-04-05T10:41:52Z")

</div>

Hi there How to make tab button move the focus to next widget? Thanks Hendra

---

## [Controlling vertical position](https://www.ruby-forum.com/t/controlling-vertical-position/164591)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 1\
**Last updated:** [April 5, 2009, 10:24am UTC](https://www.ruby-forum.com/t/controlling-vertical-position/164591 "2009-04-05T10:24:19Z")

</div>

First, I want to thank everyone here who’s been helping me learn wxRuby. The biggest problem I’m having is getting the layout of a screen right. Right now, I have a dialog with several controls on it. With one excepti…

---

## [Mouse click event at grid](https://www.ruby-forum.com/t/mouse-click-event-at-grid/164320)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 9\
**Last updated:** [April 3, 2009, 5:31am UTC](https://www.ruby-forum.com/t/mouse-click-event-at-grid/164320 "2009-04-03T05:31:51Z")

</div>

Dear all, how do we create an mouse click event binding for a grid? I look over the docs and cannot find any clue about it. google did not help either. Thank you Regards Hendra

---

## [Problem with ListBox height](https://www.ruby-forum.com/t/problem-with-listbox-height/164298)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [March 31, 2009, 6:44pm UTC](https://www.ruby-forum.com/t/problem-with-listbox-height/164298 "2009-03-31T18:44:16Z")

</div>

I have a Wx::ListBox control in a BoxSizer in a dialog. I’m using the Wx::GROW option for the box. The ListBox is properly sizing to the WIDTH of the sizer, but it isn’t sizing vertically at all. Initially, the ListBo…

---

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

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 5\
**Last updated:** [March 31, 2009, 9:07am UTC](https://www.ruby-forum.com/t/grid/164284 "2009-03-31T09:07:04Z")

</div>

Bonjour. Je voudrais savoir comment dÃ©sÃ©lectionnÃ© le rectangle noir ce trouvant dans la premiÃ¨re colonne(rows 0, col 0) de l’exemple Grid? Y Ã t’il une option comme “TE\_READONLY” qui empÃªche d’Ã©crire dans les …

---

## [RadioBox--majorDimension backwards](https://www.ruby-forum.com/t/radiobox-majordimension-backwards/164142)

<div class="topic-metadata">

**Author:** [@7stud](https://www.ruby-forum.com/u/7stud)\
**Replies:** 3\
**Last updated:** [March 31, 2009, 6:28am UTC](https://www.ruby-forum.com/t/radiobox-majordimension-backwards/164142 "2009-03-31T06:28:14Z")

</div>

The layout of the RadioBox in this code works as the docs describe: radios = Wx::RadioBox.new( panel, #parent -1, #-1 =\> wxruby picks id "Drinks", #label for …

---

## [Distributing Windows WxRuby apps](https://www.ruby-forum.com/t/distributing-windows-wxruby-apps/163366)

<div class="topic-metadata">

**Author:** [@erubin](https://www.ruby-forum.com/u/erubin)\
**Replies:** 8\
**Last updated:** [March 31, 2009, 5:50am UTC](https://www.ruby-forum.com/t/distributing-windows-wxruby-apps/163366 "2009-03-31T05:50:07Z")

</div>

I’ve developed a WxRuby app that only runs under Windows. I’ve been using RubyScript2exe to build an executable for distribution, but it stopped working one day and I haven’t been able to figure out why. I’m also no…

---

## [MethodMissing calc\_min](https://www.ruby-forum.com/t/methodmissing-calc-min/164260)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 2\
**Last updated:** [March 31, 2009, 12:03am UTC](https://www.ruby-forum.com/t/methodmissing-calc-min/164260 "2009-03-31T00:03:07Z")

</div>

This is kind of hard to explain, but I’ll do my best. I have a window that has a complex ListCtrl using LC\_VIRTUAL, and my own implementation of ListView. I use this tons of places and it works fine, except for here. …

---

## [Wxruby docs -- nice going!](https://www.ruby-forum.com/t/wxruby-docs-nice-going/164143)

<div class="topic-metadata">

**Author:** [@7stud](https://www.ruby-forum.com/u/7stud)\
**Replies:** 1\
**Last updated:** [March 30, 2009, 9:52pm UTC](https://www.ruby-forum.com/t/wxruby-docs-nice-going/164143 "2009-03-30T21:52:24Z")

</div>

I only just started with wxruby, but the docs are terrific. What a breath of fresh air! C-o-n-g-r-a-t-u-l-a-t-i-o-n-s to whoever put them together. Well done. Clap, clap, clap. (I can’t believe the forum software …

---

## [I updated ruby and rubygems and now no more wxruby](https://www.ruby-forum.com/t/i-updated-ruby-and-rubygems-and-now-no-more-wxruby/163868)

<div class="topic-metadata">

**Author:** [@7stud](https://www.ruby-forum.com/u/7stud)\
**Replies:** 13\
**Last updated:** [March 27, 2009, 11:19pm UTC](https://www.ruby-forum.com/t/i-updated-ruby-and-rubygems-and-now-no-more-wxruby/163868 "2009-03-27T23:19:33Z")

</div>

I installed wxruby like this: $ cd ~/Desktop ~/Desktop$ gem install wxruby-2.0.0-universal-darwin-9.gem and I got a message that said wxruby installed successfully. I tested a simple wxruby program, and I got that t…

---

## [Xrciser problem](https://www.ruby-forum.com/t/xrciser-problem/164090)

<div class="topic-metadata">

**Author:** [@larry](https://www.ruby-forum.com/u/larry)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 7:39pm UTC](https://www.ruby-forum.com/t/xrciser-problem/164090 "2009-03-27T19:39:01Z")

</div>

I built a Windows GUI using DialogBlocks v4.29, saved the resulting XRC for processing with wxRuby’s xrciser tool. Following Ruby products installed: wxRuby is v 2.0.0 wxSugar is v0.1.22 Ruby is v1.9.1 Rubygems is …

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

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