similar to: Re: FXRuby on OpenBSD

Displaying 20 results from an estimated 1000 matches similar to: "Re: FXRuby on OpenBSD"

2007 May 19
3
table with no row headers
Is this the right way to turn off row headers? table.rowHeaderMode = LAYOUT_FIX_WIDTH table.rowHeaderWidth = 0 -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
2005 Feb 18
2
Fixed column widths in FXTable?
Is there a way to make an FXTable''s column widths (and row heights) unchangeable by the user? By experimentation it looks to me like leaving out TABLE_COL_SIZABLE and TABLE_ROW_SIZABLE from the options field in FXTable.new() has no effect. I can still drag the intersection between two column heading buttons to change the column width. The code I''m using to test this is
2007 May 17
2
FXMDIChild shrinkwrap to content
How can I get a FXMDIChild to shrinkwrap to its content? Here''s what I''m doing now: def create(*) self.height = maxChildHeight + 30 self.width = maxChildWidth + 10 super end This works, but I''m not crazy about manually adjusting for (apparently) frame and title bar sizes. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
2005 Feb 18
5
FXTable segfaults after multiple setTableSize calls
When I empty and refill an FXTable multiple times with a large data set (10,000 rows x 1 column in the example below, around 1000 rows x 6 columns in a more complicated app), the application eventually fails with a segmentation fault. The number of repetitions required to produce the segfault is rather random, ranging from just a couple reps to 15 or 20 in some trials. The program disappears
2007 Apr 26
3
FXSplitter width is 1 until created
Why is the width of an FXSplitter equal to 1 before the FXSplitter#create method is called? My splitter is configured to have LAYOUT_FILL_X, so wouldn''t its width be determined before its children were created? It''s not really a big deal, but I was configuring the split based on a preferences file during initialize, and couldn''t make it work properly. Doing it in
2005 Dec 22
1
FxTopWindow problem
I have an fxRuby GUI app that I am having problems with. I want to bring up a help window from the main window when someone selects a help/help from the help menu. I have created a helpWindow that inherits from FXDialogBox. It has an FXMenuBar, FXStatusBar, and an FXtext which gets filled with help text from a file. When the help/help menu is selected from the main window, I make a new helpWindow,
2008 Nov 11
3
FXTextField and number of digits after decimal point
Hello, Here''s the context: I read a number either pure integer or float with eventually up to 12 digits after the decimal point from a YAML file. The number is injected into a FXTextField with the following code: @value_sel = FXDataTarget.new(@value.to_s) @value_value = FXTextField.new(@matrix_mem_value, 20, at value_sel, :opts =>TEXTFIELD_NORMAL|JUSTIFY_RIGHT,
2005 May 13
2
FXRuby on Windows Ruby Installer
Hello, I am a new user to Ruby and I installed the Windows Ruby Installer. When I try to run some tutorial examples I get errors. More specifically the one I remember is with FXToolTip. which throws an error saying: uninitialized constant FXTooltip (NameError) It seems that some of the controls cannot be loaded. Could you please guide me on the subject? Thanks Nick Tzanos
2005 Aug 12
5
ANN: Interactive Fiction Mapper v0.5
Okay, I may have some questions about fxruby and probably the easiest way to ask them is by after I show a program. Plus I am eager to show how much fun I''ve been having... this is still not fully done to call it a v1.0 release, but it is already tons of fun. Please visit the download section of: http://rubyforge.org/projects/ifmapper/ There you will find the following: IFMapper by
2007 Apr 27
2
mdiclient windows do not always activate on click
I just noticed that MDIClient windows do not automatically become current when they receive a mouse click, but only do so if the click happens inside of an enabled widget. This may very well be correct, but if so then what is the right way to handle it, if you want a more familiar window-manager behavior (click to focus)? For example, if you change the mditest.rb example like so... ---
2005 Apr 12
2
FXSettings problem
Hi all. I tried to subclass FXSettings in order to add some functionality to it but I ran into the following problem. The code which shall be executed looks like this: def test reg = Registry.new("test.reg") reg.Parse end The Registry class basically looks this way: require "fox12" include Fox class Registry < FXSettings
2004 Jul 22
0
Re: FXRuby and Threads (was: radiobuttons are weird in 1.2.x series)
*********** REPLY SEPARATOR *********** On 22/07/2004 at 14:01 lyle@knology.net wrote: >On Thu, 22 Jul 2004 14:47:47 +0100, "Bil" <bil.bas@virgin.net> wrote : > >> Err, well it does work, though it does not require the background thread >to run very fast at all. The application is a prototype of a board-game >engine. The server is a regular threaded Ruby
2008 Jun 06
0
FXRuby 1.6.15 Now Available
All, FXRuby version 1.6.15 is now available for download from this page: http://rubyforge.org/frs/?group_id=300&release_id=22658 Note that if you''re building FXRuby from source, you should be using FOX 1.6.16 or later due to some important changes made in that release of FOX. For a summary of the changes in this release of FXRuby, please see this page:
2007 Apr 09
1
FXRuby 1.6.9 Now Available
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 All, FXRuby version 1.6.9 is now available for download from this page: http://rubyforge.org/frs/?group_id=300&release_id=10973 This is a bug fix release and is strongly recommended. Note that if you''re building FXRuby from source, you should be using FOX 1.6.16 or later due
2008 May 20
0
At InfoQ: Interview about FXRuby, plus an exclusive chapter from the FXRuby Book
InfoQ has just published Werner Schuster''s interview with me, in which we discuss the FOX toolkit and FXRuby''s implementation: http://www.infoq.com/articles/johnson-fxruby-book-excerpt The article also includes an exclusive sample chapter from the new book, "FXRuby: Create Lean and Mean GUIs with Ruby". To read more about the book, please see its web page at the
2012 Mar 17
1
Slow loading with Ruby 1.9.3 and FXRuby 1.6.23
We have been using Ruby 1.8.6 and FXRuby 1.6.16 under Windows, from the old one step installer. The following code takes less than a second to load and execute on my five-year old Windows XP PC. puts ''Starting'' require ''fox16'' puts ''Done'' With Ruby 1.9.3 and FXRuby 1.6.23, it takes 12 or more seconds. Both tests are with all files on
2009 May 18
0
FxRuby failing on Ruby 1.9.1 windows
On May 17, 2009, at 12:40 PM, Janos Sebok wrote: > Hi all. > > I am new to FxRuby, and trying to install the toolkit. > > I''m running winXP > >ruby -v > ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32] > > >gem -v > 1.3.3 > > >gem list > > *** LOCAL GEMS *** > > fxruby (1.6.19) > rubygems-update (1.3.3) > > --- >
2009 Sep 28
0
FxRuby 1.9 Binary Gem?
Hello! I am a beginner to Ruby but i like it very much. After installing the One-Click-Installer Version 1.8.6 i was very happy- everything worked finde. But i had update to version ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32] because of Look-Behinds in Regular Expressions. But now the FxRuby Gem installed just fine but doesn''t work anymore- I got an error, that
2006 Dec 18
0
[fxruby] howto show a warningmessage thatdisappears again?
fxruby-users-bounces at rubyforge.org wrote: > Dear Philippe, > > thank you for responding. > I think I normally would have used FXMessageBox, but here, I > want to tell an impatient user to wait a while while an > external application is started. > I want the MessageBox to be shown, say 3 to 5 seconds, and > then disappear again, without further user action, like clicking
2007 Jul 28
1
Fxruby 1.6.11 installation error
Hi all, I''m trying to install fxruby 1.6.11 on my machine, but I obtain this error: [luca at mobilebox ~]$ sudo gem install fxruby Building native extensions. This could take a while... ERROR: While executing gem ... (RuntimeError) Error instaling fxruby: ERROR: Failed to build gem native extension. ruby extconf.rb install fxruby checking for sys/time.h... yes checking for