# wxRuby

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

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

---

## [Load\_panel\_subclass help](https://www.ruby-forum.com/t/load-panel-subclass-help/148640)

<div class="topic-metadata">

**Author:** [@biospank](https://www.ruby-forum.com/u/biospank)\
**Replies:** 2\
**Last updated:** [September 16, 2008, 3:22pm UTC](https://www.ruby-forum.com/t/load-panel-subclass-help/148640 "2008-09-16T15:22:08Z")

</div>

Hi all, i’m having several problems using ‘load\_panel\_subclass’ function. The way i suppose to use it is in main\_frame.rb on attached file but i get an arror. could somebody tell me how to use it? I’m working on wi…

---

## [Require fails with undefined symbol](https://www.ruby-forum.com/t/require-fails-with-undefined-symbol/148242)

<div class="topic-metadata">

**Author:** [@rrwhite](https://www.ruby-forum.com/u/rrwhite)\
**Replies:** 1\
**Last updated:** [September 15, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/require-fails-with-undefined-symbol/148242 "2008-09-15T17:33:00Z")

</div>

I have installed wxruby via gems on Ubuntu 7.10 but running sample/minimal.rb fails: ruby -rubygems minimal.rb /var/lib/gems/1.8/gems/wxruby-1.9.8-x86-linux/lib/wxruby2.so: /var/lib/gems/1.8/gems/wxruby-1.9.8-x86-lin…

---

## [Embedding wxruby?](https://www.ruby-forum.com/t/embedding-wxruby/148434)

<div class="topic-metadata">

**Author:** [@requiem](https://www.ruby-forum.com/u/requiem)\
**Replies:** 7\
**Last updated:** [September 15, 2008, 2:13pm UTC](https://www.ruby-forum.com/t/embedding-wxruby/148434 "2008-09-15T14:13:55Z")

</div>

Hello, is it possible to code a wxWidgets GUI in C++ and pass the whole wxApp or just single windows to embedded Ruby code? This would be very nice to provide a scriptable plugin system. Greetings, Niklas

---

## [Alternative to destroying a dialog? (to avoid segfault)](https://www.ruby-forum.com/t/alternative-to-destroying-a-dialog-to-avoid-segfault/148427)

<div class="topic-metadata">

**Author:** [@carluva](https://www.ruby-forum.com/u/carluva)\
**Replies:** 2\
**Last updated:** [September 13, 2008, 6:43am UTC](https://www.ruby-forum.com/t/alternative-to-destroying-a-dialog-to-avoid-segfault/148427 "2008-09-13T06:43:53Z")

</div>

Hi, I’m running into a problem with a segfault when destroying a Dialog, which I’ve read is a known problem that occurs when the GC cleans up after a Dialog that contains a Sizer is destroyed (that’s exactly my situat…

---

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

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [September 12, 2008, 8:49pm UTC](https://www.ruby-forum.com/t/evt-kill-focus/148435 "2008-09-12T20:49:09Z")

</div>

Something’s wacky with evt\_kill\_focus. It wasn’t firing at all for me. It disallows passing a Wx id, and supposedly is a catch-all, but it was never firing. Latest WxRuby. I had to do this to fix it. No idea why this …

---

## [StaticText wrap method missing?](https://www.ruby-forum.com/t/statictext-wrap-method-missing/148340)

<div class="topic-metadata">

**Author:** [@carluva](https://www.ruby-forum.com/u/carluva)\
**Replies:** 4\
**Last updated:** [September 12, 2008, 6:36pm UTC](https://www.ruby-forum.com/t/statictext-wrap-method-missing/148340 "2008-09-12T18:36:47Z")

</div>

The wxRuby documentation claims there is a StaticText#wrap method, but it seems to be missing (using wxRuby 1.9.8). I am unable to use it, and it does not appear in the results of either Wx::StaticText.methods or Wx:…

---

## [Drag\_accept\_files undefined in 1.9.8 (mingw32)](https://www.ruby-forum.com/t/drag-accept-files-undefined-in-1-9-8-mingw32/148111)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 3\
**Last updated:** [September 10, 2008, 7:58pm UTC](https://www.ruby-forum.com/t/drag-accept-files-undefined-in-1-9-8-mingw32/148111 "2008-09-10T19:58:10Z")

</div>

Hi, I got “undefined method ‘drag\_accept\_files’ for Wx::Frame” The doc (http://wxruby.rubyforge.org/doc/window.html#Window\_dragacceptfiles) indicates it’s available on Windows. Thanks, Zhimin

---

## [Render natively](https://www.ruby-forum.com/t/render-natively/148048)

<div class="topic-metadata">

**Author:** [@jimb](https://www.ruby-forum.com/u/jimb)\
**Replies:** 3\
**Last updated:** [September 9, 2008, 11:42am UTC](https://www.ruby-forum.com/t/render-natively/148048 "2008-09-09T11:42:52Z")

</div>

I would like to render natively i.e. via a C dll that I have wrapped using SWIK. So I want my c code to receive a buffer that it can render to, and then have WXruby display this memory buffer/bitmap. Can anyone advis…

---

## [Select\_all method missing in HtmlWindow](https://www.ruby-forum.com/t/select-all-method-missing-in-htmlwindow/148000)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 1\
**Last updated:** [September 8, 2008, 9:30am UTC](https://www.ruby-forum.com/t/select-all-method-missing-in-htmlwindow/148000 "2008-09-08T09:30:51Z")

</div>

Hi, Thanks for great work getting 1.9.8 release out. I got the following errors for HtmlWindow undefined method ‘select\_all’ for #Wx::HtmlWindow:0x9e98c08 undefined method ‘selection\_to\_text’ for #Wx::HtmlWindow:0x9e…

---

## [wxRuby 1.9.8, windows gem available](https://www.ruby-forum.com/t/wxruby-1-9-8-windows-gem-available/147736)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 0\
**Last updated:** [September 4, 2008, 8:14pm UTC](https://www.ruby-forum.com/t/wxruby-1-9-8-windows-gem-available/147736 "2008-09-04T20:14:36Z")

</div>

Hi A binary wxRuby 1.9.8 gem for Ruby 1.8 on Windows is now available from http://rubyforge.org/frs/?group\_id=35 or by doing “gem install wxruby” This should be significantly better than 1.9.7, so upgrading is recom…

---

## [Lack of proper expansion using FlexGridSizer](https://www.ruby-forum.com/t/lack-of-proper-expansion-using-flexgridsizer/147524)

<div class="topic-metadata">

**Author:** [@carluva](https://www.ruby-forum.com/u/carluva)\
**Replies:** 2\
**Last updated:** [September 2, 2008, 9:15pm UTC](https://www.ruby-forum.com/t/lack-of-proper-expansion-using-flexgridsizer/147524 "2008-09-02T21:15:49Z")

</div>

I experienced a problem similar to this using GridBagSizer earlier today (Two issues using GridBagSizer - wxRuby - Ruby-Forum). The problem was resolved at that point by using a BoxSizer instead of the GridBagSizer, b…

---

## [Two issues using GridBagSizer](https://www.ruby-forum.com/t/two-issues-using-gridbagsizer/147513)

<div class="topic-metadata">

**Author:** [@carluva](https://www.ruby-forum.com/u/carluva)\
**Replies:** 3\
**Last updated:** [September 2, 2008, 6:47pm UTC](https://www.ruby-forum.com/t/two-issues-using-gridbagsizer/147513 "2008-09-02T18:47:39Z")

</div>

I am having a couple of issues with sizing objects using GridBagSizer. The first is that the GridBagSizer itself isn’t expanding to fill the area available to it. For reasons that will be more clear when I get to the…

---

## [wxRuby 1.9.8](https://www.ruby-forum.com/t/wxruby-1-9-8/147276)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 3\
**Last updated:** [August 31, 2008, 10:20pm UTC](https://www.ruby-forum.com/t/wxruby-1-9-8/147276 "2008-08-31T22:20:51Z")

</div>

Hi Well, there’s a new wxRuby around. == NEW FEATURES Enable wxRuby to work with Ruby 1.8.7 and 1.9.0-4 As well as not crashing with these recent ruby releases, there’s also some binaries for Ruby 1.9 Eliminated …

---

## [Release of 1.9.8 x86\_64 gem](https://www.ruby-forum.com/t/release-of-1-9-8-x86-64-gem/147283)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 0\
**Last updated:** [August 30, 2008, 8:07am UTC](https://www.ruby-forum.com/t/release-of-1-9-8-x86-64-gem/147283 "2008-08-30T08:07:30Z")

</div>

Hello All, I’ve just uploaded wxruby 1.9.8 x86\_64 Gem, for consumption, anyone having any problems feel free to report it to the list, and I will look into it. Please allow for 24 hours, or longer, to pass, to allow…

---

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

<div class="topic-metadata">

**Author:** [@bryan-ash](https://www.ruby-forum.com/u/bryan-ash)\
**Replies:** 4\
**Last updated:** [August 29, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/segmentation-fault-gc/144681 "2008-08-29T20:30:20Z")

</div>

I’ve been ignoring a Garbage Collection Segmentation Fault for some time now with the help of GC.disable in my Wx::App. I’m running Windows XP with: ruby 1.8.6 (2007-03-13 patchlevel 0) \[i386-mswin32\] wxruby (1.9.7) …

---

## [Wxruby-1.9.8-x86-mingw32.gem](https://www.ruby-forum.com/t/wxruby-1-9-8-x86-mingw32-gem/147198)

<div class="topic-metadata">

**Author:** [@maxmotor](https://www.ruby-forum.com/u/maxmotor)\
**Replies:** 2\
**Last updated:** [August 29, 2008, 4:18pm UTC](https://www.ruby-forum.com/t/wxruby-1-9-8-x86-mingw32-gem/147198 "2008-08-29T16:18:03Z")

</div>

I’ve just builded gem that is not present on rubyforge. http://ifile.it/qp8vk7s I have no site to upload to, so I used ifile.it service, so excuse me for inconvenience Some more information: $ rake WXRUBY\_VERSION=1.…

---

## [Xml.load\_panel](https://www.ruby-forum.com/t/xml-load-panel/146795)

<div class="topic-metadata">

**Author:** [@maxmotor](https://www.ruby-forum.com/u/maxmotor)\
**Replies:** 14\
**Last updated:** [August 29, 2008, 12:55pm UTC](https://www.ruby-forum.com/t/xml-load-panel/146795 "2008-08-29T12:55:04Z")

</div>

Hello, I cannot correctly load panel from xrc-file. My test programm is below. Problem is that panel content is drawn not in place of ‘DYMMYPANEL’, but in upper-left corner. Please, help me to find mistake. #!/usr/bi…

---

## [Building wxruby on windows with Visual C++ Express Edition](https://www.ruby-forum.com/t/building-wxruby-on-windows-with-visual-c-express-edition/147092)

<div class="topic-metadata">

**Author:** [@maxmotor](https://www.ruby-forum.com/u/maxmotor)\
**Replies:** 1\
**Last updated:** [August 28, 2008, 1:49pm UTC](https://www.ruby-forum.com/t/building-wxruby-on-windows-with-visual-c-express-edition/147092 "2008-08-28T13:49:16Z")

</div>

Hello, Sorry for bothering You with so many questions, but I’m trying to build wxruby from svn and wxWindgets 2.8.8 using Visual C++ 2008 Express Edition. I builded wxWindgets following instructions http://wiki.wxwi…

---

## [Problems loading .xrc file](https://www.ruby-forum.com/t/problems-loading-xrc-file/143864)

<div class="topic-metadata">

**Author:** [@psamathos](https://www.ruby-forum.com/u/psamathos)\
**Replies:** 3\
**Last updated:** [August 27, 2008, 1:36pm UTC](https://www.ruby-forum.com/t/problems-loading-xrc-file/143864 "2008-08-27T13:36:28Z")

</div>

Hi, I’m trying to load a gui with a xrcise/.xrc combo. I’ve tried both with this trivial .xrc - which is just a frame with nothing in it - and a few more advanced which worked great when compiled to c++. I’ve tried b…

---

## [Missing ids in documentation](https://www.ruby-forum.com/t/missing-ids-in-documentation/146725)

<div class="topic-metadata">

**Author:** [@Svend\_Haugaard\_SSSS](https://www.ruby-forum.com/u/Svend_Haugaard_SSSS)\
**Replies:** 2\
**Last updated:** [August 25, 2008, 11:13pm UTC](https://www.ruby-forum.com/t/missing-ids-in-documentation/146725 "2008-08-25T23:13:29Z")

</div>

I notice some link that didn’t work in the documentation. By closer inspection I found that some of the headlines missed id-tags. The following grep sequence find them. grep ‘\<h3’ \*.html | grep ‘#’ | grep -v ‘id=’ H…

---

## [Float to\_s behavior](https://www.ruby-forum.com/t/float-to-s-behavior/146710)

<div class="topic-metadata">

**Author:** [@Svend\_Haugaard\_SSSS](https://www.ruby-forum.com/u/Svend_Haugaard_SSSS)\
**Replies:** 1\
**Last updated:** [August 24, 2008, 3:13pm UTC](https://www.ruby-forum.com/t/float-to-s-behavior/146710 "2008-08-24T15:13:34Z")

</div>

Does wxruby change the behavior of to\_s for float ? If I run this little program a = \[1.23,4.56,7.89\] puts a.join(’ ') I get the following output 1.23 4.56 7.89 As your would expect, but if I add it to a program th…

---

## [Evt\_auinotebook\_end\_drag?](https://www.ruby-forum.com/t/evt-auinotebook-end-drag/146194)

<div class="topic-metadata">

**Author:** [@requiem](https://www.ruby-forum.com/u/requiem)\
**Replies:** 4\
**Last updated:** [August 19, 2008, 5:18pm UTC](https://www.ruby-forum.com/t/evt-auinotebook-end-drag/146194 "2008-08-19T17:18:26Z")

</div>

Hello, this is my code (in a frame’s constructor): self.evt\_auinotebook\_page\_close(@notebook) { puts “page closed!” } self.evt\_auinotebook\_end\_drag(@notebook) { puts “page moved away!” } while the first works as ex…

---

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

<div class="topic-metadata">

**Author:** [@cvasilak](https://www.ruby-forum.com/u/cvasilak)\
**Replies:** 9\
**Last updated:** [August 19, 2008, 1:39pm UTC](https://www.ruby-forum.com/t/segmentation-fault/138592 "2008-08-19T13:39:25Z")

</div>

Hi there, I am relative new to the wxRuby so please bear with me. I use Ubuntu Hardy Heron 8.04 release. I have installed the wxwidgets C libraries and then did a gem install wxruby The ruby extensions were downloa…

---

## [Perl Script Help](https://www.ruby-forum.com/t/perl-script-help/146234)

<div class="topic-metadata">

**Author:** [@anthony](https://www.ruby-forum.com/u/anthony)\
**Replies:** 0\
**Last updated:** [August 19, 2008, 10:42am UTC](https://www.ruby-forum.com/t/perl-script-help/146234 "2008-08-19T10:42:46Z")

</div>

Can any one send me the perl script that can be helpful for me. The perl script for automatic transfer of our mails to the desired website. Anthony Trivia Game Challenge

---

## [Filling clipboard doesn't work](https://www.ruby-forum.com/t/filling-clipboard-doesnt-work/144257)

<div class="topic-metadata">

**Author:** [@requiem](https://www.ruby-forum.com/u/requiem)\
**Replies:** 5\
**Last updated:** [August 16, 2008, 2:00pm UTC](https://www.ruby-forum.com/t/filling-clipboard-doesnt-work/144257 "2008-08-16T14:00:20Z")

</div>

Hello, I ran into a bit of trouble with my first wxRuby application. I’m using ruby 1.8.6 with wxRuby 1.9.7 on x86 Linux (Ubuntu). Didn’t test any other platform yet. In my application, I’m trying to access the clipb…

---

## [Multithreading](https://www.ruby-forum.com/t/multithreading/197084)

<div class="topic-metadata">

**Author:** [@kajamohaideen\_2003](https://www.ruby-forum.com/u/kajamohaideen_2003)\
**Replies:** 1\
**Last updated:** [August 14, 2008, 1:47pm UTC](https://www.ruby-forum.com/t/multithreading/197084 "2008-08-14T13:47:32Z")

</div>

we people are new team for ruby. we trying to put multithreading in our code. how is it possible? we want to read a message from queue and process that message parellaly and finally insert the message to the DB. Can y…

---

## [Xrc panels using xrcise](https://www.ruby-forum.com/t/xrc-panels-using-xrcise/145660)

<div class="topic-metadata">

**Author:** [@biospank](https://www.ruby-forum.com/u/biospank)\
**Replies:** 1\
**Last updated:** [August 12, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/xrc-panels-using-xrcise/145660 "2008-08-12T18:56:43Z")

</div>

Hi all, I’m facing a problem generating base classes using xrcise. i’ve this xrc layout: \<?xml version="1.0" encoding="UTF-8"?\> wxCAPTION|wxRESIZE\_BORDER|wxSYSTEM\_MENU|wxMINIMIZE\_BOX|wxCLOSE\_BOX|wxFULL\_REPAINT\_O…

---

## [Rescencement d'application](https://www.ruby-forum.com/t/rescencement-dapplication/144748)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 1\
**Last updated:** [August 7, 2008, 10:23pm UTC](https://www.ruby-forum.com/t/rescencement-dapplication/144748 "2008-08-07T22:23:59Z")

</div>

Bonjour Ã tous. Je poste ce message pour rescencer toutes les applications crÃ©es avec wxruby. Pour tous ceux qui ont crÃ©er des applications avec wxruby, pouvez-vous poster le nom de celles-ci, car j’aimerai voir c…

---

## [Object allocation during garbage collection phase](https://www.ruby-forum.com/t/object-allocation-during-garbage-collection-phase/145083)

<div class="topic-metadata">

**Author:** [@requiem](https://www.ruby-forum.com/u/requiem)\
**Replies:** 6\
**Last updated:** [August 6, 2008, 8:32pm UTC](https://www.ruby-forum.com/t/object-allocation-during-garbage-collection-phase/145083 "2008-08-06T20:32:24Z")

</div>

Hello, when i run the bigdemo sample, the app crashes initially after opening the “tip of the day” (it doesn’t when i don’t touch mouse and keyboard). can’t even get to the main window. i ran it in gdb, it gives me th…

---

## [Set\_size and ScrolledWindow](https://www.ruby-forum.com/t/set-size-and-scrolledwindow/144962)

<div class="topic-metadata">

**Author:** [@psamathos](https://www.ruby-forum.com/u/psamathos)\
**Replies:** 1\
**Last updated:** [August 5, 2008, 9:28pm UTC](https://www.ruby-forum.com/t/set-size-and-scrolledwindow/144962 "2008-08-05T21:28:28Z")

</div>

Hi, I’m trying to set the size of a panel by using set\_size. The size does change, but the scrollbars in my ScrolledWindow does not activate. If I create a panel in wxFormBuilder and set the size there it works, but …

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

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