Displaying 20 results from an estimated 1200 matches similar to: "Repository of sample FXRuby programs?"
2010 Jul 28
6
FXTextField.connect(SEL_CHANGED)
When I do an assignment to the text in a FXTextField, SEL_CHANGED is not raised.
The text is changed on the screen.
How do I detect that the text has been changed and/or ... how do I raise SEL_CHANGED?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100728/e0d169e5/attachment.html>
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
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
2010 Aug 17
2
SEL_UPDATE not responsive
I have read what I could about SEL_UPDATE and I understand that the block(s) that get called "from" SEL_UPDATE only get called when "there is no more work to do".
I took the splitter.rb example that comes with FXRuby. I put in a "puts" in one of the SEL_UPDATE blocks and I get about 4 a second. Not awful ... but ... why is it so slow?
In my code which is ... more
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
2006 Mar 22
2
beronet & bristuff
Hi.
I'm trying to get a Beronet QuadBRI card work with bristuff drivers.
Though qozap module loads right, all card spans are in deactivated
status. I'm quite sure my configuration is correct and using a single
BRI card instead of the quadBRI the status is active and I can place and
receive calls.
On Beronet installation manual I read that Beronet and Junghanns cards
are identical in
2008 Apr 13
3
fxruby gem install problem
Lyle,
Following up on your suggestion...
"You might want to follow-up on the fxruby-users mailing list at some
point; sometimes FXRuby questions can get lost in the shuffle here due
to the high volume of messages on ruby-talk!''
I''ve installed libfox-1.6-dev, and after that attempted install of
fxruby, with this result:
$ sudo gem install fxruby
[sudo] password for
2010 Jul 31
2
Non-modal FXMessageBox
Is there a way to make FxMessageBox non-modal?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100731/bd63db58/attachment-0001.html>
2009 Mar 11
5
FXRuby-1.6.19 don''t run in ruby1.9.1 on windows.
I built fxruby-1.6.19 in win32 using msys + mingw tools.
The process of doing it is ok and generate a file fox16.so in the directory
ext\fox16.
But when i require ''fox16'', it fails to work. it reports that "LoadError:
127. The specified procedure could not be found . - Init_fox16
C:/ruby_1.9.1/usr/local/lib/ruby/site_ruby/1.9.1/i386-msvcrt/fox16.so ".
how can i
2013 Dec 02
2
creating opus encoder and decoder executable on Windows
Hi all:
How do I create opus encoder and decoder executable on Windows using MS Visual Studio 2010?
What I'm doing is the following:
1. I downloaded the codebase on my local drive using: $ git clone git://git.opus-codec.org/opus.git
2. Then I go to D:\opus\win32\VS2010 and open the opus.sln using MS Visual Studio 2010.
3. Then I build the solution opus. I get 3 executable at
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.
2009 May 06
3
Using ActiveRecord in FXRuby application
Hello,
I am a newbie to FXRuby development.
I like the fact that I can write the code in Ruby for cross-platform
GUI development. I am developing a desktop application that needs to
save some information to a database. I am using ActiveRecord for this
purpose.
My code works fine when I don''t require fox16 and include Fox. But
once I do that I get a bunch of warnings.
Here is the sample
2007 Feb 24
3
Mongrel Cluster 1.0.1.1 Prerelease: Healing power of the pack!
Hello all...
I know its been a while since the last one, but a new prerelease is
available with a gratuitous increase in version numbers!
gem install mongrel_cluster --source http://mongrel.rubyforge.org/releases/
This one has some new features in it that need to be tested on all unix
platforms. Please run --clean and cluster::status on every *nix you can
find. I run linux so the rest are up
2009 Jan 27
4
foxGUIb - believe it''s intalled okay but....
I''ve tried calling foxGUIb from command line as ...
ruby foxGUIb.rb got an error - no file found by that name
ruby /usr/bin/foxGUIb.rb again got error to say i didn''t have permissions
sudo ruby /usr/foxGUIb.rb and got informed ....
/usr/bin/foxGUIb.rb:7:in `require'': no such file to load -- version (LoadError)
from /usr/bin/foxGUIb.rb:7
Now do i need to add
2007 Nov 24
19
R/W lock portability issue
Hi,
I am having a problem porting Solaris R/W lock functionality to Linux.
The problem is that RW_LOCK_HELD() doesn''t have an equivalent function
in pthreads.
This was not a problem before because RW_LOCK_HELD() was only used in
ASSERT statements. In this case, I was able to make it work by making it
behave a bit differently (specifically, it would return true if *any*
thread was
2010 Jul 09
0
Installing FXRuby; error and solution
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Installing FXRuby; error and solution</title>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {
2009 Jun 23
9
Learning FXRuby please help!
Hi all,
I''m trying to get text on to the screen in response to pressing a
button. This code doesn''t work, and I don''t know why. My puts command
says that the window is shown, but it''s not displayed.
Also, it seems to me that there should be an easier way to get text on a
screen in response to pressing a button. Any hints? Thanks!
Marlene
require
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 =
2007 Jan 18
9
QtRuby
Hello,
Has anyone tested QtRuby? I''m doing a small OpenGL application
http://www.discretizer.org and just want to know the arguments for
staying with fxruby.
This is what I have discovered:
Pros:
-Fxruby seems to have a very nice OpenGL support (FXGLViewer) which is
what I really need.
-Nice looks. No unnecessary theming support.
-Very fast and light on system resources.
Cons:
-No
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