Displaying 20 results from an estimated 1000 matches similar to: "What ever have I done wrong now?"
2008 May 18
8
FXTable::fitColumnsToContents
On May 17, 2008, at 6:54 AM, David Toll wrote:
> I tried to submit the following message to the "fxruby-users"
> message board (I clicked the link to send it as an email to fxruby-users at rubyforge.org
> , but the message did not appear). I conclude I do not know how to
> submit questions to this message board.
You need to be subscribed to the mailing list before you
2009 Oct 26
0
On Moving Away from RubyForge Services
All,
As some of you may have heard, the default gem hosting repository will
soon transition away from RubyForge.org to a new site, RubyGems.org
(aka Gemcutter.org). Coincident with this transition will be a gradual
(?) phasing out of other RubyForge services, which I''ve written about
here:
http://lylejohnson.name/blog/2009/10/26/wait-what-was-that-last-bit/
As I write near the
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:
2008 May 02
0
A word about compatibility with JRuby and Ruby 1.9
All,
Due to a number of recent bug reports regarding FXRuby''s compatibility
with JRuby, I feel like I need to clear something up, and that''s that
FXRuby will never (well, "almost certainly never") work with JRuby.
This problem isn''t unique to FXRuby; it''s true for any C/C++-based
Ruby extension. See this page:
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
2008 Aug 18
3
FXRuby FXScintilla question
Hello,
I have started learning FXRuby about 2 weeks ago. Now I''m trying to
launch the scintilla_test.rb from the fxruby-1.6 installation directory
(/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.16/examples) and get this
error: /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.16/lib/fox16/kwargs.rb:2007:in `old_initialize'': wrong number of arguments (8 for 0) (ArgumentError)
from
2008 Jul 12
4
problem
Hi -- I just got your book FXRuby and am trying to get it working on Leopard
-- I had no problems getting it to work on Vista or Ubuntu but when I tried
to follow the post on your blog for Leopard I got the following error -- I
don''t know enough about Leopard or Ruby for that matter to troubleshoot this
myself so I was hoping someone may have run into this before and can offer a
solution.
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
2009 Oct 20
8
Pre-release FXRuby binary gems for testing
All,
A couple of new build platforms have come into the picture since the
last FXRuby release and I''m trying to make sure they''re supported.
That is to say, I want to be able to provide precompiled binary gems
so that users on those platforms don''t have to build everything from
source. I think I''m there, but I could use your help testing if you
have
2008 Sep 06
0
Tab control using FXRuby
In the sample program below I have a form of 6 text fields, in a scrolling
window, followed by a row of function buttons.
Problems:
1) For data entry purposes I''d like the function buttons NOT to be entered
by pressing Tab keys, and retain their ''clickability'', but when the user
Tab''s out of the last scrolling field (postcode) to have the form scroll to
the
2005 Dec 01
1
Can''t add text to FXCanvas
I have a ruby program that uses a FXCanvas, and I have attached a FXDCWindow
to control it. It lets me draw lines, rectangles and ellipses, but not text.
If I attempt to draw text, I get the following error
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application''s support team for more information.
>Exit code: 3
I also get this
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
2008 Apr 14
3
Copy-paste between FXTable and FXTextfield
Hi,
I''m using FXRuby 1.6.13 under Windows XP / Ruby 1.8.6.
I''ve noticed something strange when copying-pasting things between
FXTable cells, and FXTextfields.
----------------------------------------------
1) When copying the content of an FXTextfield, and pasting it into an
FXTable cell, everything works fine.
2) When selecting an FXTable cell, issuing a "copy"
2009 Feb 17
2
install.rb:655:in `command'': system("make") failed (RuntimeError) (GatoLinux)
I am using ruby *1.8.4* (2005-12-24).
I added this code:
#define RARRAY_LEN(a) \
((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \
(long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \
(RARRAY_EMBED_LEN_MASK >> RARRAY_EMBED_LEN_SHIFT)) : \
RARRAY(a)->as.heap.len)
#define RARRAY_PTR(a) \
((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \
2010 Aug 04
16
Moving On
Cross-posted to the blog (at
http://lylejohnson.name/blog/2010/08/04/moving-on/):
When Jamis Buck wrote last year about ceasing development on
Capistrano, his post really struck a chord with me. If this post
reminds you of that one, it''s because I re-read it before sitting down
to compose this one. It was the next best thing to having Jamis on
hand to give me a pep talk before I had to
2005 Mar 23
2
FXListBox size behavior?
The default behavior of FXListBox seems to be to grow and shrink in
width depending on the length of the selected entry in the list. This is
a problem when the list contains items of varying width, because if a
short item is picked then the longer entries are obscured in the
drop-down list.
Is this deliberate, an oversight, or a bug? Its certainly not how I''d
choose it to act. Is
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
2008 Oct 27
2
Using BUTTON_TOOLBAR
Hi, folks. I''m trying to make a toolbar with buttons that change appearance
when hovered over with the mouse. The docs on FXButton say that using
BUTTON_TOOLBAR "causes the edge of the button to be raised when the cursor
moves over it." What I''m getting is buttons without any frame, but they do
not change appearance when the cursor moves over them. I''m
2009 Jun 06
2
FXRuby Installation failing
Hi
Which is the most stable version of FXRuby that can be used with ruby
1.8.7 (2008-05-31 patchlevel 0)?
I am having lots of trouble installing fxruby using gem.
root at at91sam9263ek:~$ gem install fxruby-1.6.19.gem
Building native extensions. This could take a while...
ERROR: Error installing fxruby-1.6.19.gem:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby
2008 Jan 21
1
FXSplashWindow
I saw Jeroen''s suggestion on how to use FXSplashWindow on the
foxgui-users list and thought I''d try it.
My attempt was as follows:
require ''fox16''
include Fox
app = FXApp.new("App")
icon = nil
File.open(''icon.gif'', ''rb'') { |f|
icon = FXGIFIcon.new(app, f.read)
}
splash =