Prev | Current Page 94 | Next

David Berube

"Practical Reporting with Ruby and Rails"

rubyforge.org/profligacy/.
??? FXRuby (http://www.fxruby.org/) is an interface to the cross-platform FOX GUI
library.
This book will focus on FXRuby. One of FXRuby??™s strengths is that it has a particularly
strong Ruby feel to it. Many of the other libraries are quite clearly a bridge to a completely
different programming paradigm. FXRuby makes GUI programming easy.
CHAPTER 4 n CREATING REPORTS ON THE DESKTOP 60
Using FXRuby
Install FXRuby as follows:
gem install fxruby
Additionally, you??™ll need an X11 server running under Linux or Mac OS X. Most Linux
distributions come with an X11 server, and you can install it from the distribution CD if
you don??™t have it currently loaded. Mac OS X is much the same??”you can install an X11
server from the CD included with your computer. You??™ll need to explicitly launch the
server under either operating system. To do so under Linux, use the startx command.
On an OS X system, click the X11 icon.
Finally, you??™ll also need the FOX library installed. This library is included with the
FXRuby gem under Windows, but you can install it fairly easily on other operating systems
via your favorite software packaging method: MacPorts (port install rb-fxruby)
or Apt (apt-get install fox fox-devel).


Pages:
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
programy Miami Sound Machine Rok 2001 / MMI Kenny Loggins Margo