# wxRuby

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

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

---

## [XRS files](https://www.ruby-forum.com/t/xrs-files/163999)

<div class="topic-metadata">

**Author:** [@biospank](https://www.ruby-forum.com/u/biospank)\
**Replies:** 3\
**Last updated:** [March 27, 2009, 3:48pm UTC](https://www.ruby-forum.com/t/xrs-files/163999 "2009-03-27T15:48:16Z")

</div>

Hi all, do wxruby support loading xrs files (xrc compiled)? tnx. bio.

---

## [A newbie with some question](https://www.ruby-forum.com/t/a-newbie-with-some-question/163811)

<div class="topic-metadata">

**Author:** [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Replies:** 0\
**Last updated:** [March 25, 2009, 3:06am UTC](https://www.ruby-forum.com/t/a-newbie-with-some-question/163811 "2009-03-25T03:06:21Z")

</div>

Hi, I’m new here I’m planing to use wxruby to create a database program with sqlite as backend My system is Ubuntu 8.04, ruby 1.8.6 and wxruby-2.0.0 I choose to use xrc file as GUI definition but somehow wxsugar did…

---

## [Google Group](https://www.ruby-forum.com/t/google-group/163779)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 0\
**Last updated:** [March 24, 2009, 7:59pm UTC](https://www.ruby-forum.com/t/google-group/163779 "2009-03-24T19:59:50Z")

</div>

Hi, This is just to let you all know that I setup a Google Group mirror of this mailing list (removed\_email\_address@domain.invalid). I prefer to use this interface rather than use my Inbox. All are of course welcome t…

---

## [No evt\_tree\_sel\_changed with TR\_MULTIPLE](https://www.ruby-forum.com/t/no-evt-tree-sel-changed-with-tr-multiple/163690)

<div class="topic-metadata">

**Author:** [@caefer](https://www.ruby-forum.com/u/caefer)\
**Replies:** 1\
**Last updated:** [March 24, 2009, 8:29am UTC](https://www.ruby-forum.com/t/no-evt-tree-sel-changed-with-tr-multiple/163690 "2009-03-24T08:29:07Z")

</div>

Hi, I have a problem with evt\_tree\_sel\_changed not getting fired when I’m selecting a node programatically on a TreeCtrl with the TR\_MULTIPLE flag set. Is this intended? I’ve got some code depending on the evt-handl…

---

## [ListView Appears Completely Broken](https://www.ruby-forum.com/t/listview-appears-completely-broken/163594)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 1\
**Last updated:** [March 24, 2009, 8:23am UTC](https://www.ruby-forum.com/t/listview-appears-completely-broken/163594 "2009-03-24T08:23:16Z")

</div>

The documentation says that the ListView control should be used in preference to ListCtrl. I can find the ListView documentation from a link on the ListCtrl page, but the ListView isn’t on the list of controls on the …

---

## [Problem with ListCtrl Width](https://www.ruby-forum.com/t/problem-with-listctrl-width/163661)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [March 23, 2009, 9:51pm UTC](https://www.ruby-forum.com/t/problem-with-listctrl-width/163661 "2009-03-23T21:51:23Z")

</div>

I’m still learning wxWidgets, so this is probably basic. I have some data that I’m trying to display in a wxListCtrl. The ListCtrl is in a Box Sizer that is stacked in a main box sizer. the list control is the only co…

---

## [How to put a background image on a panel](https://www.ruby-forum.com/t/how-to-put-a-background-image-on-a-panel/163604)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 3\
**Last updated:** [March 23, 2009, 3:41pm UTC](https://www.ruby-forum.com/t/how-to-put-a-background-image-on-a-panel/163604 "2009-03-23T15:41:50Z")

</div>

Well I’ve made a lot of progress on my app, but I’m stuck on figuring out how to add a bitmap. I have a notebook and a page panel. On this panel I want to put a backdrop image and scale it to the size of the panel. Ho…

---

## [Documentation for SplitterWindow is slightly wrong](https://www.ruby-forum.com/t/documentation-for-splitterwindow-is-slightly-wrong/163564)

<div class="topic-metadata">

**Author:** [@caefer](https://www.ruby-forum.com/u/caefer)\
**Replies:** 0\
**Last updated:** [March 22, 2009, 2:03am UTC](https://www.ruby-forum.com/t/documentation-for-splitterwindow-is-slightly-wrong/163564 "2009-03-22T02:03:55Z")

</div>

Hi Alex, the documentation mentions SplitterWindow#get\_window\_1 but SplitterWindow actually implements this method as “get\_window1”. Same applies for get\_window\_2. Cheers, Christian.

---

## [Xrc file and WxGrid](https://www.ruby-forum.com/t/xrc-file-and-wxgrid/163380)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 6\
**Last updated:** [March 21, 2009, 1:20am UTC](https://www.ruby-forum.com/t/xrc-file-and-wxgrid/163380 "2009-03-21T01:20:02Z")

</div>

Has anyone any experience with using a XRC file that setsup a Wx::Grid? I’m using wxFormBuilder, in which I setup a grid in a boxsizer, with column names and all. But when I render it via Ruby the grid is just a small…

---

## [Problem centering a label](https://www.ruby-forum.com/t/problem-centering-a-label/163397)

<div class="topic-metadata">

**Author:** [@amichelin](https://www.ruby-forum.com/u/amichelin)\
**Replies:** 7\
**Last updated:** [March 20, 2009, 6:14pm UTC](https://www.ruby-forum.com/t/problem-centering-a-label/163397 "2009-03-20T18:14:43Z")

</div>

Hi I have frame. Inside i want to put a static text as title, centered. I use two sizers, one vertical an other horizontal. But title is not centered, is put to left. My code is : require ‘wx’; class TarefasNova \< …

---

## [Restarting an application](https://www.ruby-forum.com/t/restarting-an-application/163206)

<div class="topic-metadata">

**Author:** [@biospank](https://www.ruby-forum.com/u/biospank)\
**Replies:** 4\
**Last updated:** [March 18, 2009, 1:13pm UTC](https://www.ruby-forum.com/t/restarting-an-application/163206 "2009-03-18T13:13:36Z")

</div>

Hi folks, i was wondering if is there any way to automatically restart wxruby application. A sample code would be appreciated. thank you all. bio.

---

## [wxFormBuilder Event Question](https://www.ruby-forum.com/t/wxformbuilder-event-question/163025)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [March 17, 2009, 11:10pm UTC](https://www.ruby-forum.com/t/wxformbuilder-event-question/163025 "2009-03-17T23:10:56Z")

</div>

I’m learning these tools right now, and I have a question regarding events. In wxFormBuilder, there is the facility to add events to an object. When I look at the generated .xrc, however, I don’t see any reference to …

---

## [Event-Issue with TreeCtrl with "TR\_MULTIPLE"](https://www.ruby-forum.com/t/event-issue-with-treectrl-with-tr-multiple/163174)

<div class="topic-metadata">

**Author:** [@caefer](https://www.ruby-forum.com/u/caefer)\
**Replies:** 0\
**Last updated:** [March 17, 2009, 11:07pm UTC](https://www.ruby-forum.com/t/event-issue-with-treectrl-with-tr-multiple/163174 "2009-03-17T23:07:03Z")

</div>

Hi, I’ve yet another issue with my favourite toolkit. When I’m adding a TreeCtrl that has the TR\_MULTIPLE style set, the event “evt\_tree\_sel\_changed” most oftenly gets fired multiple times (whereas a TreeCtrl with si…

---

## [Tabs](https://www.ruby-forum.com/t/tabs/163016)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 3\
**Last updated:** [March 16, 2009, 7:18pm UTC](https://www.ruby-forum.com/t/tabs/163016 "2009-03-16T19:18:06Z")

</div>

Can anyone tell me how to create a tabbed interface? I tried using the Notebook control but I could not get it to work. I’m trying to put a Grid on one of the Notebook pages. Thanks, Trans

---

## [Grid#get\_selected\_rows not working?](https://www.ruby-forum.com/t/grid-get-selected-rows-not-working/162688)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 3\
**Last updated:** [March 13, 2009, 1:42am UTC](https://www.ruby-forum.com/t/grid-get-selected-rows-not-working/162688 "2009-03-13T01:42:14Z")

</div>

Working with wxGrid. I can’t seem to get any results for #get\_selection\_rows. The array is alwasy empty. I ended up having to something tricky: rows = \[\] # @grid.get\_selection\_rows (not working) top = @grid.get\_s…

---

## [Documentation changes?](https://www.ruby-forum.com/t/documentation-changes/162541)

<div class="topic-metadata">

**Author:** [@David\_Peoples](https://www.ruby-forum.com/u/David_Peoples)\
**Replies:** 3\
**Last updated:** [March 12, 2009, 11:37pm UTC](https://www.ruby-forum.com/t/documentation-changes/162541 "2009-03-12T23:37:06Z")

</div>

I’m embarrassed but willing to admit that I completely missed for a couple weeks the “wxRuby Overview” page of the documentation that explains the more ruby-like calling method with named arguments. I realized somethi…

---

## [Re: ListCtrl.get\_selections broken?](https://www.ruby-forum.com/t/re-listctrl-get-selections-broken/162575)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 1\
**Last updated:** [March 12, 2009, 10:42pm UTC](https://www.ruby-forum.com/t/re-listctrl-get-selections-broken/162575 "2009-03-12T22:42:15Z")

</div>

Christian - you didn’t say, but I’m assuming you’re working on Windows b/c I now tried it there and can reproduce the problem. I’ve no idea why Windows differs here, but fortunately it’s easy to fix. The definition of…

---

## [StaticText-only Notebook page eats tab key](https://www.ruby-forum.com/t/statictext-only-notebook-page-eats-tab-key/162265)

<div class="topic-metadata">

**Author:** [@David\_Peoples](https://www.ruby-forum.com/u/David_Peoples)\
**Replies:** 3\
**Last updated:** [March 11, 2009, 4:26am UTC](https://www.ruby-forum.com/t/statictext-only-notebook-page-eats-tab-key/162265 "2009-03-11T04:26:50Z")

</div>

I’m working on the keyboard interface for a small application. The app has several controls on a Panel. One of those controls is a Notebook with 4 pages, each of which is another panel. Three of the tab panels contain…

---

## [Blocking socket IO and wxRuby](https://www.ruby-forum.com/t/blocking-socket-io-and-wxruby/162466)

<div class="topic-metadata">

**Author:** [@mjcharl](https://www.ruby-forum.com/u/mjcharl)\
**Replies:** 0\
**Last updated:** [March 10, 2009, 7:08am UTC](https://www.ruby-forum.com/t/blocking-socket-io-and-wxruby/162466 "2009-03-10T07:08:22Z")

</div>

I have just found out (after spending lots of time trying to figure out why my wxruby app is always hanging) that blocking on socket IO is the reason. I have seen the tutorial at http://wxruby.rubyforge.org/wiki/wiki…

---

## [ListCtrl.get\_selections broken?](https://www.ruby-forum.com/t/listctrl-get-selections-broken/162283)

<div class="topic-metadata">

**Author:** [@caefer](https://www.ruby-forum.com/u/caefer)\
**Replies:** 2\
**Last updated:** [March 8, 2009, 2:09pm UTC](https://www.ruby-forum.com/t/listctrl-get-selections-broken/162283 "2009-03-08T14:09:25Z")

</div>

Hi again, may it be that ListCtrl.get\_selections is broken? Or did I misunderstand sth. in the docs? I’m always getting 0 as the size of the returned array while get\_selected\_item\_count is reporting the correct numbe…

---

## [wxDatePickerCtrl](https://www.ruby-forum.com/t/wxdatepickerctrl/154993)

<div class="topic-metadata">

**Author:** [@biospank](https://www.ruby-forum.com/u/biospank)\
**Replies:** 10\
**Last updated:** [March 6, 2009, 4:26pm UTC](https://www.ruby-forum.com/t/wxdatepickerctrl/154993 "2009-03-06T16:26:32Z")

</div>

Ciao Alex, is there any chance to have wxDatePickerCtrl support in wxRuby? cheers, bio.

---

## [Incompatible encoding from drag and drop?](https://www.ruby-forum.com/t/incompatible-encoding-from-drag-and-drop/162021)

<div class="topic-metadata">

**Author:** [@caefer](https://www.ruby-forum.com/u/caefer)\
**Replies:** 6\
**Last updated:** [March 5, 2009, 8:17pm UTC](https://www.ruby-forum.com/t/incompatible-encoding-from-drag-and-drop/162021 "2009-03-05T20:17:21Z")

</div>

Hi all, I’m trying to get a little app running which receives filenames via drag and drop. While it mostly runs fine, when I’m dropping a file with e.g. german umlauts or french accents (Ã¨, Ã©), I’m not able to open …

---

## [A very simple wxRuby loading a xrc file](https://www.ruby-forum.com/t/a-very-simple-wxruby-loading-a-xrc-file/162002)

<div class="topic-metadata">

**Author:** [@zignus](https://www.ruby-forum.com/u/zignus)\
**Replies:** 2\
**Last updated:** [March 5, 2009, 5:53pm UTC](https://www.ruby-forum.com/t/a-very-simple-wxruby-loading-a-xrc-file/162002 "2009-03-05T17:53:49Z")

</div>

Greetings, I am trying to get a very simple .xrc file to load with no interaction. This does run, but it will not exit cleanly. Can someone please help me? I have been making progress, but I just cannot seem to get t…

---

## [wxRuby 2.0.0 problem](https://www.ruby-forum.com/t/wxruby-2-0-0-problem/162006)

<div class="topic-metadata">

**Author:** [@rustee](https://www.ruby-forum.com/u/rustee)\
**Replies:** 1\
**Last updated:** [March 5, 2009, 5:17pm UTC](https://www.ruby-forum.com/t/wxruby-2-0-0-problem/162006 "2009-03-05T17:17:01Z")

</div>

Hi all, I’m having a problem getting the new wxRuby 2.0.0 to work. I’m using 64-bit Linux (Fedora) and I initially downloaded the pre-built 64-bit file which didn’t work, so I gave up on that. I decided to download t…

---

## [Constants not recognized?](https://www.ruby-forum.com/t/constants-not-recognized/161938)

<div class="topic-metadata">

**Author:** [@s0nspark](https://www.ruby-forum.com/u/s0nspark)\
**Replies:** 5\
**Last updated:** [March 4, 2009, 8:51pm UTC](https://www.ruby-forum.com/t/constants-not-recognized/161938 "2009-03-04T20:51:18Z")

</div>

I just upgraded to wxRuby 2 and am having the following issue… With code like this: dd = Wx::DirDialog.new(@dialog, ‘Select the folder to process…’, File.join(@home, ‘Desktop’), Wx::DD\_DEFAULT\_STYLE | Wx::DD\_DIR\_MUS…

---

## [Set\_size doesn't work inside initialize block](https://www.ruby-forum.com/t/set-size-doesnt-work-inside-initialize-block/161726)

<div class="topic-metadata">

**Author:** [@David\_Peoples](https://www.ruby-forum.com/u/David_Peoples)\
**Replies:** 1\
**Last updated:** [March 1, 2009, 8:27pm UTC](https://www.ruby-forum.com/t/set-size-doesnt-work-inside-initialize-block/161726 "2009-03-01T20:27:37Z")

</div>

I’m putting a ListCtrl in a Frame, creating the ListCtrl during Frame.initialize(). I want to adjust the ListCtrl’s height to fit the number of rows the control contains, not just hardcode the height (presuming the co…

---

## [wxRuby 2.0.0 released](https://www.ruby-forum.com/t/wxruby-2-0-0-released/161654)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 1\
**Last updated:** [March 1, 2009, 7:40pm UTC](https://www.ruby-forum.com/t/wxruby-2-0-0-released/161654 "2009-03-01T19:40:21Z")

</div>

Hi all I’m pleased to announce that wxRuby 2.0.0’s now available for Ruby 1.8 and 1.9. It’s a happy moment for the project, this being the first official stable release, the fruit of several years development. INSTAL…

---

## [HtmlEasyPrinting footer](https://www.ruby-forum.com/t/htmleasyprinting-footer/161416)

<div class="topic-metadata">

**Author:** [@biospank](https://www.ruby-forum.com/u/biospank)\
**Replies:** 2\
**Last updated:** [February 26, 2009, 9:42pm UTC](https://www.ruby-forum.com/t/htmleasyprinting-footer/161416 "2009-02-26T21:42:31Z")

</div>

Hi all, i’m using HtmlEasyPrinting class to easy printing effort: into my multiple pages document i need a footer or something located on the bottom of the document only once, the last page. There are three constan…

---

## [Htmlwindow et le programme de messa gerie par dÃ©faut](https://www.ruby-forum.com/t/htmlwindow-et-le-programme-de-messa-gerie-par-da-faut/160994)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 1\
**Last updated:** [February 25, 2009, 5:38pm UTC](https://www.ruby-forum.com/t/htmlwindow-et-le-programme-de-messa-gerie-par-da-faut/160994 "2009-02-25T17:38:52Z")

</div>

Bonjour, j’ai une application qui contient une fenÃªtre “htmlwindow” avec laquelle j’affiche un fichier html. Sur ma fenÃªtre “htmlwindow” apparaÃ®t: des liens sur lesquels je peut cliquer, pour afficher une page in…

---

## [Problem with special characters](https://www.ruby-forum.com/t/problem-with-special-characters/160883)

<div class="topic-metadata">

**Author:** [@amichelin](https://www.ruby-forum.com/u/amichelin)\
**Replies:** 4\
**Last updated:** [February 21, 2009, 1:19pm UTC](https://www.ruby-forum.com/t/problem-with-special-characters/160883 "2009-02-21T13:19:23Z")

</div>

Hi: I am makeing a basic program with wxruby. Is a frame with a Wx::Notebook inside. The notebook has two tabs. The first tab has a grid with 3 columns. I am using dbi to load data from database, to fill the rows. B…

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

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