# FXRuby

**URL:** https://www.ruby-forum.com/c/desktop/fxruby/28.md

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

---

## [Problem installing fxruby](https://www.ruby-forum.com/t/problem-installing-fxruby/260700)

<div class="topic-metadata">

**Author:** [@vkantabu1](https://www.ruby-forum.com/u/vkantabu1)\
**Replies:** 3\
**Last updated:** [December 27, 2020, 11:46pm UTC](https://www.ruby-forum.com/t/problem-installing-fxruby/260700 "2020-12-27T23:46:39Z")

</div>

I tried installing fxruby on Catalina using the line “sudo gem install fxruby” and received the following output: ERROR: Error installing fxruby: ERROR: Failed to build gem native extension. current directory: /Libra…

---

## [How to create a searchable list in FXRuby?](https://www.ruby-forum.com/t/how-to-create-a-searchable-list-in-fxruby/258979)

<div class="topic-metadata">

**Author:** [@petecatt](https://www.ruby-forum.com/u/petecatt)\
**Replies:** 0\
**Last updated:** [March 21, 2020, 5:23am UTC](https://www.ruby-forum.com/t/how-to-create-a-searchable-list-in-fxruby/258979 "2020-03-21T05:23:16Z")

</div>

I’m trying to make a searchable list in FXRuby. The list needs to have a search bar where you can search for items, and a new window needs to open if you click a specific item. Here’s the code so far: def initialize(app…

---

## [FXRuby - change state of the window](https://www.ruby-forum.com/t/fxruby-change-state-of-the-window/252180)

<div class="topic-metadata">

**Author:** [@stuckey96](https://www.ruby-forum.com/u/stuckey96)\
**Replies:** 0\
**Last updated:** [March 31, 2019, 2:02pm UTC](https://www.ruby-forum.com/t/fxruby-change-state-of-the-window/252180 "2019-03-31T14:02:11Z")

</div>

Hi, guys, i am new to FXRuby. I have a problem, like this, in the MainWindow i have some frames, buttons, etc, when i click on the one of the buttons, i want to change state of the MainWindow, to have different labels, …

---

## [How to install fxruby on linux now?](https://www.ruby-forum.com/t/how-to-install-fxruby-on-linux-now/250885)

<div class="topic-metadata">

**Author:** [@bt1397](https://www.ruby-forum.com/u/bt1397)\
**Replies:** 4\
**Last updated:** [November 6, 2018, 12:06am UTC](https://www.ruby-forum.com/t/how-to-install-fxruby-on-linux-now/250885 "2018-11-06T00:06:02Z")

</div>

hello ,i want to install fxruby to linux , my linux is fedora but if you install fxruby near this time to any unix , please help me i several try to it, but dos not know any lib

---

## [Who to install fxruby on eclipse ? i installed preference but dont load fox16! when i attach fox16 to preference by address dont know fox16\_c](https://www.ruby-forum.com/t/who-to-install-fxruby-on-eclipse-i-installed-preference-but-dont-load-fox16-when-i-attach-fox16-to-preference-by-address-dont-know-fox16-c/250355)

<div class="topic-metadata">

**Author:** [@bt1397](https://www.ruby-forum.com/u/bt1397)\
**Replies:** 1\
**Last updated:** [November 6, 2018, 12:21am UTC](https://www.ruby-forum.com/t/who-to-install-fxruby-on-eclipse-i-installed-preference-but-dont-load-fox16-when-i-attach-fox16-to-preference-by-address-dont-know-fox16-c/250355 "2018-11-06T00:21:04Z")

</div>

hello , i installed eclipse and installed ruby and gem by ‘yum …’ and fxruby by ‘gem install fxruby’ ,and install dltk in eclipse but dont load fox16 please help me

---

## [Example programs](https://www.ruby-forum.com/t/example-programs/237444)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 21, 2013, 6:50pm UTC](https://www.ruby-forum.com/t/example-programs/237444 "2013-12-21T18:50:41Z")

</div>

I am having trouble downloading example programs. I would appreciate if someone could send any, especially mditest.rb, the Tyger one. Thanks, Bart

---

## [FXRuby 1.6.27 released](https://www.ruby-forum.com/t/fxruby-1-6-27-released/228046)

<div class="topic-metadata">

**Author:** [@DamiSSn\_MSG](https://www.ruby-forum.com/u/DamiSSn_MSG)\
**Replies:** 0\
**Last updated:** [April 7, 2013, 7:35pm UTC](https://www.ruby-forum.com/t/fxruby-1-6-27-released/228046 "2013-04-07T19:35:59Z")

</div>

Supported by Ruby 2.0.0-p0 32 and 64 bits.

---

## [FXDataTarget: am I doing this fine?‏](https://www.ruby-forum.com/t/fxdatatarget-am-i-doing-this-fine/225286)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [December 28, 2012, 1:49pm UTC](https://www.ruby-forum.com/t/fxdatatarget-am-i-doing-this-fine/225286 "2012-12-28T13:49:09Z")

</div>

Hi guys. Have a question to do, been trying to use FXDataTarget to handle a group of #FXLabel showing information. Imagine a group of buttons, each one represents one day in the current month, so will be around 30 of …

---

## [Bug: FXTable: programmatic deselection doesn't work as expected](https://www.ruby-forum.com/t/bug-fxtable-programmatic-deselection-doesnt-work-as-expected/225136)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [December 18, 2012, 12:17am UTC](https://www.ruby-forum.com/t/bug-fxtable-programmatic-deselection-doesnt-work-as-expected/225136 "2012-12-18T00:17:51Z")

</div>

The next words were posted in the bug tracker of FXRuby, I also made it here, because I don’t get answer from the administrators. Hello Lars and company. Was working with FXTable wdiget; what I want to acomplish is th…

---

## [Windows in FxRuby](https://www.ruby-forum.com/t/windows-in-fxruby/149844)

<div class="topic-metadata">

**Author:** [@orsobruno](https://www.ruby-forum.com/u/orsobruno)\
**Replies:** 1\
**Last updated:** [December 16, 2012, 5:42pm UTC](https://www.ruby-forum.com/t/windows-in-fxruby/149844 "2012-12-16T17:42:44Z")

</div>

Hi to all, I am new in ruby and very new in FxRuby. I copied this little program from an example of fxruby: equire ‘fox16’ include Fox class FinestraPrincipale \< FXMainWindow def initialize(app) Call the base clas…

---

## [Error in require 'parseexcel'](https://www.ruby-forum.com/t/error-in-require-parseexcel/138370)

<div class="topic-metadata">

**Author:** [@coolwong](https://www.ruby-forum.com/u/coolwong)\
**Replies:** 1\
**Last updated:** [December 12, 2012, 1:41pm UTC](https://www.ruby-forum.com/t/error-in-require-parseexcel/138370 "2012-12-12T13:41:13Z")

</div>

When require ‘parseexcel’ used in the ‘fox16’, I double click the .rbw file, it cannot work. But when i perform in the source code, it can work. How to solve the ‘parseexcel’ and ‘fox16’?

---

## [Scrolling to the newly appended row in an FXTable](https://www.ruby-forum.com/t/scrolling-to-the-newly-appended-row-in-an-fxtable/117042)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 1\
**Last updated:** [December 12, 2012, 1:36pm UTC](https://www.ruby-forum.com/t/scrolling-to-the-newly-appended-row-in-an-fxtable/117042 "2012-12-12T13:36:22Z")

</div>

Hi, After appending a row in an FXTable, I’d like to scroll the FXTable to the last line of the FXTable, to make sure the new row is visible. I’m using this kind of code: def onInsertRow(sender, sel, ptr) @table.app…

---

## [FXRuby support on windows 7 64 bits](https://www.ruby-forum.com/t/fxruby-support-on-windows-7-64-bits/224665)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [December 8, 2012, 2:55pm UTC](https://www.ruby-forum.com/t/fxruby-support-on-windows-7-64-bits/224665 "2012-12-08T14:55:25Z")

</div>

Is Windows 7 64 bits an environment where I can develop FXRuby applications? If so, will a FXRuby application run in that OS? Thanks for your time.

---

## [Should I usually use destroy()?](https://www.ruby-forum.com/t/should-i-usually-use-destroy/220245)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 17, 2012, 3:31pm UTC](https://www.ruby-forum.com/t/should-i-usually-use-destroy/220245 "2012-06-17T15:31:35Z")

</div>

Hi, I’m developing an application with this beautifull framework, had read the book by Lyle J. by the way. I’m wondering if I should call destroy() in those widgets which I’ll not use anymore. Here is the real example…

---

## [Sharing knowledge](https://www.ruby-forum.com/t/sharing-knowledge/220213)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 2, 2012, 12:04am UTC](https://www.ruby-forum.com/t/sharing-knowledge/220213 "2012-06-02T00:04:55Z")

</div>

Hello fellows, I’ve open this thread to make fire to warm us, the users of FXRuby. I’m developing with this framework so, if you want to ask me something… meaby we can help each other. I’ve seen that this framworks is…

---

## [Multi FXDataTarget](https://www.ruby-forum.com/t/multi-fxdatatarget/209963)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 27, 2011, 11:00am UTC](https://www.ruby-forum.com/t/multi-fxdatatarget/209963 "2011-07-27T11:00:15Z")

</div>

Hello There I’m trying to create a window that will display a line similar to what datatarget.rb exemple does, except it would do it for an unknown number of items, stocked in a given array. Here is the code I would …

---

## [Fxruby won't play with mac OS 10.5.8 Anyone else notice this? Suggestions?](https://www.ruby-forum.com/t/fxruby-wont-play-with-mac-os-10-5-8-anyone-else-notice-this-suggestions/197481)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 17, 2010, 5:27am UTC](https://www.ruby-forum.com/t/fxruby-wont-play-with-mac-os-10-5-8-anyone-else-notice-this-suggestions/197481 "2010-10-17T05:27:53Z")

</div>

Hi, I’m new here. We are teaching a class using Ruby and have come to the point where we want to use fxruby with our students. Several of our students have macs for their own use at home. What we have found is that fx…

---

## [Set value of one text field from another](https://www.ruby-forum.com/t/set-value-of-one-text-field-from-another/128842)

<div class="topic-metadata">

**Author:** [@woodzer](https://www.ruby-forum.com/u/woodzer)\
**Replies:** 2\
**Last updated:** [September 2, 2010, 10:59am UTC](https://www.ruby-forum.com/t/set-value-of-one-text-field-from-another/128842 "2010-09-02T10:59:12Z")

</div>

I have 2 FXTextFields with data targets for the string values in each. I would like to set the value of the second field to the value of the first 10 characters in the first field if it is empty. Can anyone suggest a …

---

## [Accessing fxruby widget from another class](https://www.ruby-forum.com/t/accessing-fxruby-widget-from-another-class/193964)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 0\
**Last updated:** [August 27, 2010, 9:10am UTC](https://www.ruby-forum.com/t/accessing-fxruby-widget-from-another-class/193964 "2010-08-27T09:10:23Z")

</div>

what I am wanting to find out is what is the preferred why of manipulation a fx widget from another class? My situation is this. I have a fxruby class that displays and manages the GUI widgets. One of these is a prog…

---

## [Controlling GUI widget from another class](https://www.ruby-forum.com/t/controlling-gui-widget-from-another-class/192781)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 0\
**Last updated:** [August 5, 2010, 1:01pm UTC](https://www.ruby-forum.com/t/controlling-gui-widget-from-another-class/192781 "2010-08-05T13:01:14Z")

</div>

got a problem, I cannot change the calling script to be a module even thou this would solve my problem of how to access an object within so it’s state changes during execution. so this is the issue (hopefully) without…

---

## [FXMessageBox - basics](https://www.ruby-forum.com/t/fxmessagebox-basics/191524)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 1\
**Last updated:** [July 20, 2010, 1:09pm UTC](https://www.ruby-forum.com/t/fxmessagebox-basics/191524 "2010-07-20T13:09:26Z")

</div>

I am just learning Ruby/FXRuby basics and am struggling trying to capture the return value from an FXMessageBox. The following snippet of code (copied/modified from the web) causes the app to crash. The app generall…

---

## [FXTREE connect](https://www.ruby-forum.com/t/fxtree-connect/190109)

<div class="topic-metadata">

**Author:** [@xml-dealer](https://www.ruby-forum.com/u/xml-dealer)\
**Replies:** 0\
**Last updated:** [June 15, 2010, 2:47pm UTC](https://www.ruby-forum.com/t/fxtree-connect/190109 "2010-06-15T14:47:22Z")

</div>

Hello to all user I have problem with FXTree and connect when I use connect(SEL\_DOUBLECLICKED) then will use evaluate SEL\_SELECTED SEL\_CLICKED SEL\_SELECTED SEL\_DOUBLEDLICKED why will two times SEL\_SELECT and SE…

---

## [Can't input chinese in fox gui?](https://www.ruby-forum.com/t/cant-input-chinese-in-fox-gui/189371)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 1\
**Last updated:** [May 30, 2010, 9:51am UTC](https://www.ruby-forum.com/t/cant-input-chinese-in-fox-gui/189371 "2010-05-30T09:51:31Z")

</div>

hi ,everyone,i made a gui with fxruby,there is a problem, can’t input chinese in the fox gui ,how to solve the problem?

---

## [fillItems() method - segmentation fault solved](https://www.ruby-forum.com/t/fillitems-method-segmentation-fault-solved/186061)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 3:17am UTC](https://www.ruby-forum.com/t/fillitems-method-segmentation-fault-solved/186061 "2010-03-31T03:17:44Z")

</div>

I had an FXRuby app that was randomly segfaulting at the following code line: listbox.clearItems() listbox.fillItems(some\_string\_array) It would segfault when executing .fillItems, but the segfault was unpredictable…

---

## [Duda en FxRuby](https://www.ruby-forum.com/t/duda-en-fxruby/175015)

<div class="topic-metadata">

**Author:** [@bluestar](https://www.ruby-forum.com/u/bluestar)\
**Replies:** 1\
**Last updated:** [March 30, 2010, 7:21pm UTC](https://www.ruby-forum.com/t/duda-en-fxruby/175015 "2010-03-30T19:21:18Z")

</div>

PodrÃ­an aclararme una duda: Una aplicaciÃ³n desarrollada en FXRuby, puede ser utilizada en un entorno web (Mongrel, Webrick, etc) de tal forma que puede ser invocada desde http://localhost:3000 o algo parecido, o sol…

---

## [FoxGUIb](https://www.ruby-forum.com/t/foxguib/185604)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 9:22am UTC](https://www.ruby-forum.com/t/foxguib/185604 "2010-03-23T09:22:59Z")

</div>

I am wondering if anyone here has been able to get foxGUIb running with anything later than these files running on linux 32bit? FXRuby version: 1.6.18 FOX version: 1.6.34 ruby 1.8.7 (2009-06-12 patchlevel 174) \[i486-…

---

## [Require error](https://www.ruby-forum.com/t/require-error/183191)

<div class="topic-metadata">

**Author:** [@gopomo](https://www.ruby-forum.com/u/gopomo)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 8:50pm UTC](https://www.ruby-forum.com/t/require-error/183191 "2010-02-09T20:50:00Z")

</div>

I wrote a decent sized chuck of code on Vista and I recently upgraded to win 7. However despite everything being installed to the equivalent directories it instantly spits out a ‘couldn’t find fox 16’ error. I’m fairl…

---

## [FXDirDialog.new Error Message](https://www.ruby-forum.com/t/fxdirdialog-new-error-message/183123)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 0\
**Last updated:** [February 8, 2010, 5:46pm UTC](https://www.ruby-forum.com/t/fxdirdialog-new-error-message/183123 "2010-02-08T17:46:19Z")

</div>

I want a dialog box to choose a directory. I’m running the following code require ‘fox16’ include Fox dialog = FXDirDialog.new(self, “Choose Directory”) and am getting an error that says “No matching function for …

---

## [Path for classes called with require](https://www.ruby-forum.com/t/path-for-classes-called-with-require/182056)

<div class="topic-metadata">

**Author:** [@jessi](https://www.ruby-forum.com/u/jessi)\
**Replies:** 1\
**Last updated:** [January 27, 2010, 6:43pm UTC](https://www.ruby-forum.com/t/path-for-classes-called-with-require/182056 "2010-01-27T18:43:46Z")

</div>

I’m working through the ‘picturebook.rb’ example in “FXRuby Create Lean and Mean GUIs with Ruby” and got stuck embarrassingly early in the book. I’m good up to the point that a blank window pops up (p 28). When I pro…

---

## [Cancel an event](https://www.ruby-forum.com/t/cancel-an-event/180260)

<div class="topic-metadata">

**Author:** [@tutiplain](https://www.ruby-forum.com/u/tutiplain)\
**Replies:** 1\
**Last updated:** [January 1, 2010, 7:20pm UTC](https://www.ruby-forum.com/t/cancel-an-event/180260 "2010-01-01T19:20:28Z")

</div>

Hi all, I want to do something like this: button.connect(SEL\_COMMAND) do … some code… if some\_condition then “cancel this event” end What I want is, a way to get out of the event’s code, without terminating the pr…

[Next page](https://www.ruby-forum.com/c/desktop/fxruby/28.md?page=1)
