fxruby-users Mailing List for FXRuby (Page 3)
Status: Inactive
Brought to you by:
lyle
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(75) |
Jul
(90) |
Aug
(61) |
Sep
(56) |
Oct
(56) |
Nov
(39) |
Dec
(83) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(56) |
Feb
(45) |
Mar
(61) |
Apr
(40) |
May
(95) |
Jun
(79) |
Jul
(63) |
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
From: Hal F. <ha...@hy...> - 2004-07-06 13:29:20
|
RLMuller wrote: > Hi Hal, > > It sounds intuitive to me, i.e. navigating on what's visible and ignoring > what's not. For what it's worth, I'd be inclined to map alt-down-arrow to > that functionality, rather than F8. That makes sense. But I'm more concerned with "How do I do it?" than what key to map. It would seem that some wrestling and testing should make it work. There's apparently no built-in way to treat a tree list in this way. Hal > Regards, > Richard > > ----- Original Message ----- > From: "Hal Fulton" <ha...@hy...> > To: <fxr...@li...> > Sent: Tuesday, July 06, 2004 7:43 AM > Subject: [Fxruby-users] tree list navigation > > > >>I'm thinking of using a couple of function keys to move items >>up/down in a tree list. >> >>This seems an order of magnitude easier to me than drag/drop. >>Am I wrong? Easier to code, not to use, I mean. >> >>So anyway: >> >>It would be nice if there were some concept of "next" and >>"previous" that was independent of the actual tree structure, >>but dependent on the current collapsed/expanded state of the >>tree. >> >>For example: Suppose I have a new entry NEW, and I have F8 >>mapped to a "move down" command. >> >>Here I'm representing collapsed and expanded nodes by + and - >>respectively. Use a monospaced font to look at this. :) >> >>Given this tree: >> >> - NEW >> + Stooges >> + Dwarves >> + Fates >> + Muses >> >>Suppose I select NEW and press F8 three times -- I'd expect >>this as a result: >> >> + Stooges >> + Dwarves >> + Fates >> - NEW >> + Muses >> >>On the other hand, suppose I start with this tree: >> >> - NEW >> - Stooges >> - Larry >> - Curly >> - Moe >> + Dwarves >> + Fates >> + Muses >> >>and again select NEW and press F8 three times. I'd then expect: >> >> - Stooges >> - Larry >> - Curly >> - NEW >> - Moe >> + Dwarves >> + Fates >> + Muses >> >>In other words, traverse the tree "as is" -- is this doable?? >> >>Obviously I'd like to be able to move not just single items but >>entire subtrees. >> >>Thanks for any insight... >> >> >>Hal >> >> >> >> >> >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by Black Hat Briefings & Training. >>Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >>digital self defense, top technical experts, no vendor pitches, >>unmatched networking opportunities. Visit www.blackhat.com >>_______________________________________________ >>Fxruby-users mailing list >>Fxr...@li... >>https://lists.sourceforge.net/lists/listinfo/fxruby-users > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.713 / Virus Database: 469 - Release Date: 7/4/2004 > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users > |
From: RLMuller <RLM...@Co...> - 2004-07-06 13:20:57
|
Hi Hal, It sounds intuitive to me, i.e. navigating on what's visible and ignoring what's not. For what it's worth, I'd be inclined to map alt-down-arrow to that functionality, rather than F8. Regards, Richard ----- Original Message ----- From: "Hal Fulton" <ha...@hy...> To: <fxr...@li...> Sent: Tuesday, July 06, 2004 7:43 AM Subject: [Fxruby-users] tree list navigation > I'm thinking of using a couple of function keys to move items > up/down in a tree list. > > This seems an order of magnitude easier to me than drag/drop. > Am I wrong? Easier to code, not to use, I mean. > > So anyway: > > It would be nice if there were some concept of "next" and > "previous" that was independent of the actual tree structure, > but dependent on the current collapsed/expanded state of the > tree. > > For example: Suppose I have a new entry NEW, and I have F8 > mapped to a "move down" command. > > Here I'm representing collapsed and expanded nodes by + and - > respectively. Use a monospaced font to look at this. :) > > Given this tree: > > - NEW > + Stooges > + Dwarves > + Fates > + Muses > > Suppose I select NEW and press F8 three times -- I'd expect > this as a result: > > + Stooges > + Dwarves > + Fates > - NEW > + Muses > > On the other hand, suppose I start with this tree: > > - NEW > - Stooges > - Larry > - Curly > - Moe > + Dwarves > + Fates > + Muses > > and again select NEW and press F8 three times. I'd then expect: > > - Stooges > - Larry > - Curly > - NEW > - Moe > + Dwarves > + Fates > + Muses > > In other words, traverse the tree "as is" -- is this doable?? > > Obviously I'd like to be able to move not just single items but > entire subtrees. > > Thanks for any insight... > > > Hal > > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.713 / Virus Database: 469 - Release Date: 7/4/2004 |
From: Simon S. <ne...@ad...> - 2004-07-06 12:23:22
|
I have gotten it working.. thanks anyway. server> editor -v versions: editor "1.1" fox toolkit "1.0.43" fxruby "1.0.25" iterator "0.8" ruby "1.8.1" other info: platform "i386-linux-gnu" server> -- Simon Strandgaard On Tuesday 06 July 2004 14:05, Rich wrote: > Isn't it: > > fxrubyversion=Fox.fxrubyversion() > foxversion=Fox.fxversion() > > -Rich > > > ----- Original Message ----- > From: "Simon Strandgaard" <ne...@ad...> > To: <fxr...@li...> > Sent: Tuesday, July 06, 2004 7:19 AM > Subject: [Fxruby-users] extract version string > > > server> ruby -rfox -e 'p Fox::VERSION' > > -e:1: uninitialized constant Fox::VERSION (NameError) > > server> > > > > I cannot seem to figure out how? > > > > > > thanks in advance > > > > -- > > Simon Strandgaard > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.com > > _______________________________________________ > > Fxruby-users mailing list > > Fxr...@li... > > https://lists.sourceforge.net/lists/listinfo/fxruby-users > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users |
From: Rich <ri...@li...> - 2004-07-06 12:04:10
|
Isn't it: fxrubyversion=Fox.fxrubyversion() foxversion=Fox.fxversion() -Rich ----- Original Message ----- From: "Simon Strandgaard" <ne...@ad...> To: <fxr...@li...> Sent: Tuesday, July 06, 2004 7:19 AM Subject: [Fxruby-users] extract version string > server> ruby -rfox -e 'p Fox::VERSION' > -e:1: uninitialized constant Fox::VERSION (NameError) > server> > > I cannot seem to figure out how? > > > thanks in advance > > -- > Simon Strandgaard > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users > |
From: Hal F. <ha...@hy...> - 2004-07-06 11:43:17
|
I'm thinking of using a couple of function keys to move items up/down in a tree list. This seems an order of magnitude easier to me than drag/drop. Am I wrong? Easier to code, not to use, I mean. So anyway: It would be nice if there were some concept of "next" and "previous" that was independent of the actual tree structure, but dependent on the current collapsed/expanded state of the tree. For example: Suppose I have a new entry NEW, and I have F8 mapped to a "move down" command. Here I'm representing collapsed and expanded nodes by + and - respectively. Use a monospaced font to look at this. :) Given this tree: - NEW + Stooges + Dwarves + Fates + Muses Suppose I select NEW and press F8 three times -- I'd expect this as a result: + Stooges + Dwarves + Fates - NEW + Muses On the other hand, suppose I start with this tree: - NEW - Stooges - Larry - Curly - Moe + Dwarves + Fates + Muses and again select NEW and press F8 three times. I'd then expect: - Stooges - Larry - Curly - NEW - Moe + Dwarves + Fates + Muses In other words, traverse the tree "as is" -- is this doable?? Obviously I'd like to be able to move not just single items but entire subtrees. Thanks for any insight... Hal |
From: Simon S. <ne...@ad...> - 2004-07-06 11:29:45
|
On Tuesday 06 July 2004 15:19, Simon Strandgaard wrote: > server> ruby -rfox -e 'p Fox::VERSION' > -e:1: uninitialized constant Fox::VERSION (NameError) > server> > > I cannot seem to figure out how? > Try this ruby -rfox -e 'p Fox::fxrubyversion' #-> "1.0.25" -- Simon Strandgaard |
From: Simon S. <ne...@ad...> - 2004-07-06 11:25:26
|
server> ruby -rfox -e 'p Fox::VERSION' -e:1: uninitialized constant Fox::VERSION (NameError) server> I cannot seem to figure out how? thanks in advance -- Simon Strandgaard |
From: Hugh S. S. E. E. <hg...@dm...> - 2004-07-06 11:17:54
|
Can someone confirm MD5 (fox-1.2.6.tar.gz) = a178e70c8ec1422ead2216f6406d3679 please? My usual strategy of searching the web for agreement has failed. Thank you, Hugh |
From: Simon S. <ne...@ad...> - 2004-07-06 09:09:43
|
if one initializes FXFontDialog with an illegal fontdesc, then no font appears to choose among.. the dialog box is just empty. If I put a check in the 'All Fonts:', then I see the full list of fonts. Wouldn't it be an idea to make FXFontDialog robust to illegal font descriptions? def onSpawnFontDialog(sender, sel, ptr) win = FXFontDialog.new(self, "Choose Font", DECOR_TITLE|DECOR_BORDER) win.fontSelection = fxparsefontdesc("[nonexistingfont] 0 1 2 3 4 5") if win.execute != 0 @font = FXFont.new(getApp(), win.fontSelection) @font.create recalc_cellarea end return 1 end Can I do anything to validate the font/fontdesc, to avoid this from happening? Thanks in advance -- Simon Strandgaard |
From: Peter W. <wat...@lu...> - 2004-07-06 00:06:08
|
I'm having trouble installing FXRuby as well. I looked at Lyle's reply to someone who has the exact same problem I have (except that I didn't install FXRuby in my home directory. I make all my installs as root.). When I try to test my FXRuby installation by entering "require_gem 'fxruby'" into irb, I get the error "libFOX-1.2.so.0: cannot open shared object file." My problem is similar to many that I've seen answered before on this list and others, so please bear with me. I'll try to give you as much detail as possible. When I first checked my FXRuby install this is what I entered into irb (please excuse the bad text wrapping): irb(main):001:0> require 'rubygems' => true irb(main):002:0> require_gem 'fxruby' LoadError: libFOX-1.2.so.0: cannot open shared object file: No such file or directory - /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/fox.so from /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/fox.so from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:54:in `require_gem' from (irb):2 Then I looked to see where fox.so was installed in my case. It is in the exact path listed by the error message. Next I checked the $LOAD_PATH variable by entering: irb(main):003:0> puts $LOAD_PATH /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox /usr/local/lib/ruby/site_ruby/1.8 /usr/local/lib/ruby/site_ruby/1.8/i686-linux /usr/local/lib/ruby/site_ruby /usr/local/lib/ruby/1.8 /usr/local/lib/ruby/1.8/i686-linux The path where my fox.so file is located is included in the output, so there doesn't seem to be a problem there. I read the document that Lyle listed but I didn't find a section labeled "Things That Can Go Wrong: Cannot load library" nor could I find any instructions on how to deal with my problem. The closest thing I found was: "If the import failed (usually with a message along the lines of "Cannot load library"), drop me an e-mail or ask around on the Ruby newsgroup or mailing list." I even tried loading Google's cache of the page hoping that an older version might have the info I wanted. Lyle mentioned a LD_LIBRARY_PATH environment variable. I wasn't sure which environment he was talking about, so I tried looking for it both in my bash shell and inside ruby: [peter@ulaneo-dynip141 fox]$ echo $LD_LIBRARY_PATH -- irb(main):008:0> puts $LD_LIBRARY_PATH nil Neither gave me anything. I then looked at my /etc/ld.so.conf file: /usr/kerberos/lib /usr/X11R6/lib /usr/lib/sane /usr/lib/qt-3.1/lib /usr/lib/mysql /usr/lib/qt2/lib Well, /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/ wasn't in there. /usr/local/lib wasn't even in there. So I added both paths just for good measure. Still the same error message. I'm using RedHat Linux 9. Below is some other relevant software that I have installed along with their versions: ruby-1.8.1 from sources fox-1.2.6 from sources rubygems-0.6.1 from sources fxscintilla-1.61 from sources fxruby-1.2.0 from sources freeride-0.6.0-1 from rpm Thanks. Let me know if you need any more info. Peter |
From: Lyle J. <ly...@kn...> - 2004-07-05 20:01:08
|
On Jul 5, 2004, at 12:00 PM, Jeff Koppe wrote: > Help! I've either discovered a bug or, more likely, have messed up my > install > of fxruby. While irb and the hello2.rb program both return a message > saying > the fox.so file is missing, the file and path are as listed in the > error > message. (See sampe irb message below.) I've looked through the > various help > forums but have yet to find any similar problems and so I'm turning to > you > for help. <snip> > jkoppe@linux:~/downloads/ruby> irb > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require_gem 'fxruby' > LoadError: libFOX-1.2.so.0: cannot open shared object file: No such > file or > directory - > /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/fox.so > from > /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/fox.so > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:54:in > `require_gem' > from (irb):2 > irb(main):003:0> <snip> The problem is that Ruby can't find libFOX-1.2.so.0, which is to say, the C++ FOX library that FXRuby depends on. [This is unfortunately a little obscure from the irb stack trace!] As you suspected, the problem (which is easily worked-around) is that you installed FOX in a non-standard location, under your home directory instead of one of its usual haunts like /usr/local. But don't fret. Take a look at the instructions near the bottom of this page: http://www.fxruby.org/doc/build.html under the section "Things That Can Go Wrong: Cannot load library". It describes a couple of ways to modify your operating environment (e.g. by setting the LD_LIBRARY_PATH environment variable, or by modifying your /etc/ld.so.conf file) to get things working. You should *not* need to recompile FOX or FXRuby; just make one of the suggested changes and try again. Hope this helps, Lyle |
From: Hugh S. S. E. E. <hg...@dm...> - 2004-07-05 16:19:12
|
On Mon, 5 Jul 2004, Lyle Johnson wrote: > > Ultimately, I think I want *both* versions available online, and so we need > to see what kind of directory structure makes sense. Is something as simple > as: > > http://www.fxruby.org/doc/1.0/book.html > http://www.fxruby.org/doc/1.0/api/** > > and similar subdirectories for doc/1.2 going to work? I think I can also add Seems OK to me, but it should be visible in the (top at least) page which version one is reading, because of symlinks. > a symbolic link in there so that the old links (e.g. > http://www.fxruby.org/doc/book.html) still point to the 1.0 versions. Should that apply to the stable version, rather than fixed for 1.0, or did you mean that (as the two are synonymous at present)? Else www.fxruby.org/doc/stable/book.html is a symlink to.... > > What makes the most sense? > > Lyle Hugh |
From: Lyle J. <ly...@kn...> - 2004-07-05 15:06:25
|
On Jul 5, 2004, at 9:16 AM, Hugh Sasse Staff Elec Eng wrote: > Could you clarify, preferably on the pages themselves, which version > http://www.fxruby.org/doc/api/files/rdoc-sources/README_rdoc.html > and > http://www.fxruby.org/doc/book.html > refer to, because it is not entirely clear to me. I expect that they > are > still 1.0 while 1.2 is in alpha, but I suspect that having the > version referenced in the document would be useful during the > transition periods for the various (informal) mirrors. Good call. Actually, I think it's the case that the docs on the web site at this moment actually reflect the 1.2 version and you can't get to the 1.0 version (although this is easily remedied). Ultimately, I think I want *both* versions available online, and so we need to see what kind of directory structure makes sense. Is something as simple as: http://www.fxruby.org/doc/1.0/book.html http://www.fxruby.org/doc/1.0/api/** and similar subdirectories for doc/1.2 going to work? I think I can also add a symbolic link in there so that the old links (e.g. http://www.fxruby.org/doc/book.html) still point to the 1.0 versions. What makes the most sense? Lyle |
From: Simon S. <ne...@ad...> - 2004-07-05 00:20:14
|
screenshots: http://aeditor.rubyforge.org/wiki/wiki.pl?MainThemes download: http://rubyforge.org/frs/download.php/921/aeditor-1.0.tar.gz dependency#1, iterator: http://rubyforge.org/frs/download.php/703/iterator-0.8.tar.gz dependency#2, fxruby http://fxruby.sourceforge.net/ If you are on a windows box it may be possible that fxruby already are installed. on windows there are font problems.. you can make me happy if you can make solve this problem. Thanks in advance. I have attached my ~/.aeditor file, which may be interesting to you. -- Simon Strandgaard mode :ruby do |m| m.tabsize = 2 m.file_suffixes = %w(rb) m.lexer = :ruby m.cursor_through_tabs = true end mode :c do |m| m.tabsize = 4 m.file_suffixes = %w(c cpp cxx cc h hpp hxx hh) m.cursor_through_tabs = false end theme_blue = { :ivar1 => [[55, 75, 215], [40, 50, 120]], :mcomment_tab => [[30, 30, 120], [0, 0, 0]], :endoffile_tab => [[83, 83, 97], [0, 0, 0]], :string1 => [[65, 85, 225], [0, 0, 0]], :ident => [[55, 75, 215], [90, 80, 80]], :string => [[65, 85, 225], [30, 80, 0]], :keyword => [[60, 80, 220], [0, 0, 0]], :any => [[60, 80, 220], [30, 40, 20]], :ivar => [[60, 80, 200], [0, 0, 0]], :tab => [[30, 70, 190], [30, 40, 20]], :regexp => [[30, 80, 0], [165, 185, 25]], :space => [[60, 80, 220], [30, 40, 20]], :gvar => [[160, 180, 100], [90, 0, 0]], :heredoc => [[80, 60, 220], [30, 40, 20]], :regexp1 => [[60, 80, 180], [165, 185, 25]], :out => [[60, 60, 60], [180, 100, 100]], :dot => [[60, 80, 205], [0, 0, 0]], :symbol => [[30, 80, 220], [90, 80, 80]], :comment => [[60, 80, 120], [0, 0, 0]], :heredoc_tab => [[30, 70, 190], [30, 40, 20]], :punct => [[30, 80, 220], [120, 120, 120]], :empty => [[30, 30, 100], [0, 0, 0]], :dot1 => [[60, 80, 220], [0, 0, 0]], :mcomment => [[60, 80, 120], [0, 0, 0]], :endoffile => [[100, 100, 100], [0, 0, 0]], :number => [[65, 85, 225], [30, 80, 0]] } theme_gvim = { :ivar1 => [[55, 75, 215], [40, 50, 120]], :mcomment_tab => [[197, 197, 197], [231, 231, 231]], :endoffile_tab => [[209, 209, 209], [209, 209, 209]], :string1 => [[231, 231, 231], [0, 138, 142]], :ident => [[231, 231, 231], [0, 138, 142]], :string => [[231, 231, 231], [97, 101, 97]], :keyword => [[231, 231, 231], [158, 32, 239]], :any => [[231, 231, 231], [30, 40, 20]], :ivar => [[231, 231, 231], [0, 138, 142]], :tab => [[231, 231, 231], [231, 231, 231]], :regexp => [[30, 80, 0], [165, 185, 25]], :space => [[231, 231, 231], [30, 40, 20]], :gvar => [[160, 180, 100], [90, 0, 0]], :heredoc => [[231, 231, 231], [97, 101, 97]], :regexp1 => [[60, 80, 180], [165, 185, 25]], :out => [[60, 60, 60], [180, 100, 100]], :dot => [[231, 231, 231], [0, 0, 0]], :symbol => [[231, 231, 231], [0, 138, 142]], :comment => [[231, 231, 231], [0, 0, 255]], :heredoc_tab => [[209, 209, 209], [207, 211, 207]], :punct => [[231, 231, 231], [0, 0, 0]], :empty => [[30, 30, 100], [0, 0, 0]], :dot1 => [[60, 80, 220], [0, 0, 0]], :mcomment => [[231, 231, 231], [0, 0, 255]], :endoffile => [[231, 231, 231], [0, 0, 255]], :number => [[231, 231, 231], [97, 101, 97]] } def theme_import(theme_hash, name=nil) name ||= :imported theme name do |t| theme_hash.each do |key, (bg, fg)| t.set_rgb_pair key, bg, fg end end end theme_import(theme_blue, 'blue') theme_import(theme_gvim, 'gvim') puts "done loading config file" |
From: RLMuller <RLM...@Co...> - 2004-07-01 12:05:45
|
Hi Lyle, Thanks again for your expert help. It's much appreciated. Regards, Richard ----- Original Message -----=20 From: Lyle Johnson=20 To: RLMuller=20 Cc: fxr...@li...=20 Sent: Thursday, July 01, 2004 6:37 AM Subject: Re: [Fxruby-users] iRAA.rb sample -- what to do with it? On Jun 30, 2004, at 11:21 PM, RLMuller wrote: I got iRAA.rb from Ruby\samples\FXRuby to produce only a warning = after (1) installing the lib files/folders from soap4r-1_5_2.tar.gz and = devel-logger-1_2_2.tar.gz; and (2) replacing the 4th parameter of MappingRegistry.set from the form [ InterfaceNS, "Category" ] to the form { :type =3D> XSD::QName.new(InterfaceNS, "Category") } =20 I ran it on SciTE 1.60-wbd-1 and Ruby 1.8.0 over Win2000Pro, but it = had no application to execute. Is there some documentation online = suggesting how to use the classes in this example? The RAA.rb and iRAA.rb files in the "examples" directory are just = supporting libraries used by the "raabrowser.rb" example program: raabrowser.rb does a "require 'RAA'", and, RAA.rb does a "require 'iRAA'". It was not wasted effort on your part to download SOAP4R (and its = dependencies) since raabrowser ultimately needs those anyways. Hope this helps, Lyle --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.708 / Virus Database: 464 - Release Date: 6/27/2004 |
From: Lyle J. <ly...@kn...> - 2004-07-01 10:37:15
|
On Jun 30, 2004, at 11:21 PM, RLMuller wrote: > I got iRAA.rb from Ruby\samples\FXRuby to produce only a warning after > (1) installing the lib files/folders from soap4r-1_5_2.tar.gz and=20 > devel-logger-1_2_2.tar.gz; and > (2) replacing the 4th parameter of MappingRegistry.set > from the form [ InterfaceNS, "Category" ] > to the form { :type =3D> XSD::QName.new(InterfaceNS, "Category") } > =A0 > I ran it on SciTE 1.60-wbd-1 and Ruby 1.8.0 over Win2000Pro, but it=20 > had no application to execute.=A0 Is there some documentation online=20= > suggesting how to use the classes in this example? The RAA.rb and iRAA.rb files in the "examples" directory are just=20 supporting libraries used by the "raabrowser.rb" example program: raabrowser.rb does a "require 'RAA'", and, RAA.rb does a "require 'iRAA'". It was not wasted effort on your part to download SOAP4R (and its=20 dependencies) since raabrowser ultimately needs those anyways. Hope this helps, Lyle |
From: RLMuller <RLM...@Co...> - 2004-07-01 04:21:13
|
Hi, I got iRAA.rb from Ruby\samples\FXRuby to produce only a warning after=20 (1) installing the lib files/folders from soap4r-1_5_2.tar.gz and = devel-logger-1_2_2.tar.gz; and (2) replacing the 4th parameter of MappingRegistry.set=20 from the form [ InterfaceNS, "Category" ] to the form { :type =3D> XSD::QName.new(InterfaceNS, "Category") } I ran it on SciTE 1.60-wbd-1 and Ruby 1.8.0 over Win2000Pro, but it had = no application to execute. Is there some documentation online = suggesting how to use the classes in this example? Regards, Richard --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.708 / Virus Database: 464 - Release Date: 6/27/2004 |
From: Rich <ri...@li...> - 2004-06-29 20:24:09
|
Thanks Lyle!! -Richard ----- Original Message ----- From: "Lyle Johnson" <ly...@kn...> To: <fxr...@li...>; <fxr...@li...> Sent: Tuesday, June 29, 2004 11:16 AM Subject: [Fxruby-users] [ANN] FXRuby 1.2a1 Now Available > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > (This is a re-send, apologies if you see this message twice...) > > All, > > The first alpha release of FXRuby 1.2 is now available for download > here: > > http://sourceforge.net/project/showfiles.php? > group_id=20243&package_id=14608&release_id=248453 > > As previously discussed on the mailing list, we're going to at least > experiment with a RubyGems-based distribution. The files > "fxruby-1.2.0.gem.gz" and "fxruby-1.2.0.gem.zip" are both source gems > and have identical contents. The file "fxruby-1.2.0-mswin32.gem.zip" is > a binary gem (for Windows), compatible with the latest Ruby 1.8.1 > installer for Windows. > > Instructions about how to install these gems are provided here: > > http://www.fxruby.org/doc/gems.html > > A few general comments about this first release can be found here: > > htttp://www.fxruby.org/doc/changes.html > > Finally, please be aware that there are a number of changes between > FXRuby 1.0 and 1.2, and at least skim the "What's New" document > mentioned in the change notes before asking questions. Also be sure to > use the bug reporting system at FXRuby's SourceForge project page to > report problems: > > http://sourceforge.net/tracker/?group_id=20243&atid=120243 > > Thanks, > > Lyle > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFA4aQKFXV/hD6oMd0RAmgbAJ9kIBunqT3QJ2HLwvFRleJzDcYd+wCfVD3b > SmSg3s0ZqoVqmVZOFeFkWGI= > =D6kp > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users > |
From: Lyle J. <ly...@kn...> - 2004-06-29 17:16:57
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (This is a re-send, apologies if you see this message twice...) All, The first alpha release of FXRuby 1.2 is now available for download here: http://sourceforge.net/project/showfiles.php? group_id=20243&package_id=14608&release_id=248453 As previously discussed on the mailing list, we're going to at least experiment with a RubyGems-based distribution. The files "fxruby-1.2.0.gem.gz" and "fxruby-1.2.0.gem.zip" are both source gems and have identical contents. The file "fxruby-1.2.0-mswin32.gem.zip" is a binary gem (for Windows), compatible with the latest Ruby 1.8.1 installer for Windows. Instructions about how to install these gems are provided here: http://www.fxruby.org/doc/gems.html A few general comments about this first release can be found here: htttp://www.fxruby.org/doc/changes.html Finally, please be aware that there are a number of changes between FXRuby 1.0 and 1.2, and at least skim the "What's New" document mentioned in the change notes before asking questions. Also be sure to use the bug reporting system at FXRuby's SourceForge project page to report problems: http://sourceforge.net/tracker/?group_id=20243&atid=120243 Thanks, Lyle -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFA4aQKFXV/hD6oMd0RAmgbAJ9kIBunqT3QJ2HLwvFRleJzDcYd+wCfVD3b SmSg3s0ZqoVqmVZOFeFkWGI= =D6kp -----END PGP SIGNATURE----- |
From: Lyle J. <ly...@kn...> - 2004-06-29 05:34:09
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 All, The first alpha release of FXRuby 1.2 is now available for download here: http://sourceforge.net/project/showfiles.php? group_id=20243&package_id=14608&release_id=248453 As previously discussed on the mailing list, we're going to at least experiment with a RubyGems-based distribution. The files "fxruby-1.2.0.gem.gz" and "fxruby-1.2.0.gem.zip" are both source gems and have identical contents. The file "fxruby-1.2.0-mswin32.gem.zip" is a binary gem (for Windows), compatible with the latest Ruby 1.8.1 installer for Windows. Instructions about how to install these gems are provided here: http://www.fxruby.org/doc/gems.html A few general comments about this first release can be found here: htttp://www.fxruby.org/doc/changes.html Finally, please be aware that there are a number of changes between FXRuby 1.0 and 1.2, and at least skim the "What's New" document mentioned in the change notes before asking questions. Also be sure to use the bug reporting system at FXRuby's SourceForge project page to report problems: http://sourceforge.net/tracker/?group_id=20243&atid=120243 Thanks, Lyle -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFA4P9HFXV/hD6oMd0RAjFWAKCdZ+MiNJrfNbUIDS5s+QtJbLOnPgCgmlOI CVxwdgGtgXTQ4IvAor3fIpg= =DH9N -----END PGP SIGNATURE----- |
From: Rich <ri...@li...> - 2004-06-26 15:01:37
|
Holy wow!! :-) If that works... *get's on rollercoaster and acts like a little kid* WHEEEEEE!!! -Rich ----- Original Message ----- From: "Lyle Johnson" <ly...@kn...> To: "rich lyman" <fx...@gm...> Cc: <fxr...@li...>; "FOX Users" <fox...@li...> Sent: Saturday, June 26, 2004 5:48 AM Subject: [Fxruby-users] Re: How to use FXWindow::attach()? (was: What's New in FOX 1.2) > > On Jun 25, 2004, at 11:48 AM, rich lyman wrote: > > > In the section: > > > > http://www.knology.net/~lyle/fox/1.2/ar01s03s62.html > > > > What does 'foreign window' translate into? A different window in FOX, > > or any other window in the OS? > > > > "The new attach() member function allows a foreign window to be > > swallowed into the FOX widget tree." > > > > Sorry if this question is simple... > > No, not a simple question. In fact, I probably glossed over that bit in > the documentation because it's a little unclear to me what attach() is > useful for. > > The idea is that you can embed a "foreign" window, i.e. some other > application's window, into your FOX application. I think the way this > works (at least in C++) is that you'd first create a generic FOX > window, > > FXWindow *win = new FXWindow(...); > > and then call its attach() member function, passing in a X-Window > handle (XID) or a Win32 window handle (HWND). Obviously, very > platform-specific stuff, and I'm curious about how well this works in > practice. You certainly wouldn't be able to generate FOX messages from > events occurring in those foreign windows (I think?) > > I'm Cc'ing this to the foxgui-users list, because I'd like to know if > anyone is using this feature successfully. ;) > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users > |
From: Lyle J. <ly...@kn...> - 2004-06-26 12:15:00
|
On Jun 25, 2004, at 9:59 AM, DeZonia, Barry wrote: > Here is my initialization code: > > @output = FXList.new(outputFrame, 1, nil, 0, > > LIST_EXTENDEDSELECT|LAYOUT_FILL_X|LAYOUT_FILL_Y) > > Here is the code that updates the list: > > @output.appendItem(text) > @output.makeItemVisible(@output.numItems-1) > > No other calls to @output are made. The text does show up in the list > but > does not scroll onto the screen when the list goes past its capacity. > In > FXList.new I've tried 20 instead of 1 to no avail. Any suggestions? I hunted around a little more and then found this recent thread from the FOX users' mailing list: http://sourceforge.net/mailarchive/forum.php? thread_id=4950920&forum_id=6292 As discussed in those messages, let's see what happens if you add a call to getContentWidth() in-between the calls to appendItem() and makeItemVisible(). Hope this helps, Lyle |
From: Lyle J. <ly...@kn...> - 2004-06-26 11:48:19
|
On Jun 25, 2004, at 11:48 AM, rich lyman wrote: > In the section: > > http://www.knology.net/~lyle/fox/1.2/ar01s03s62.html > > What does 'foreign window' translate into? A different window in FOX, > or any other window in the OS? > > "The new attach() member function allows a foreign window to be > swallowed into the FOX widget tree." > > Sorry if this question is simple... No, not a simple question. In fact, I probably glossed over that bit in the documentation because it's a little unclear to me what attach() is useful for. The idea is that you can embed a "foreign" window, i.e. some other application's window, into your FOX application. I think the way this works (at least in C++) is that you'd first create a generic FOX window, FXWindow *win = new FXWindow(...); and then call its attach() member function, passing in a X-Window handle (XID) or a Win32 window handle (HWND). Obviously, very platform-specific stuff, and I'm curious about how well this works in practice. You certainly wouldn't be able to generate FOX messages from events occurring in those foreign windows (I think?) I'm Cc'ing this to the foxgui-users list, because I'd like to know if anyone is using this feature successfully. ;) |
From: Lyle J. <ly...@kn...> - 2004-06-26 11:09:34
|
On Jun 25, 2004, at 11:42 AM, rich lyman wrote: > Should that be getMinColumnWidth() and getMinRowHeight()? Yes, thanks for catching that one! Should be fixed momentarily... |
From: rich l. <fx...@gm...> - 2004-06-25 16:48:26
|
On a related note: In the section: http://www.knology.net/~lyle/fox/1.2/ar01s03s62.html What does 'foreign window' translate into? A different window in FOX, or any other window in the OS? "The new attach() member function allows a foreign window to be swallowed into the FOX widget tree." Sorry if this question is simple... -Rich |