From lyle at lylejohnson.name Tue Aug 3 12:43:43 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Tue, 3 Aug 2010 11:43:43 -0500 Subject: [fxruby-users] Non-modal FXMessageBox In-Reply-To: <1922178052.20100731061644@dos32.com> References: <1922178052.20100731061644@dos32.com> Message-ID: On Sat, Jul 31, 2010 at 7:16 AM, Ralph Shnelvar wrote: > Is there a way to make FxMessageBox non-modal? Sorry for the delayed response. Since FXMessageBox is a subclass of FXDialogBox, the general answer is yes, you can run an FXMessageBox non-modally in the same way you would any other dialog box, e.g. message_box = FXMessageBox.new(...) message_box.show # instead of message_box.execute Having said that, I'm curious about why you'd want to do this. That is, I've never seen a GUI application where it displayed a message or "alert" box non-modally. From lyle at lylejohnson.name Tue Aug 3 17:49:45 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Tue, 3 Aug 2010 16:49:45 -0500 Subject: [fxruby-users] [Foxgui-users] Status of FOX 1.7? In-Reply-To: <200903061006.25757.jeroen@fox-toolkit.org> References: <56310813-CC78-4044-AA1E-F0E16FE8C06B@lylejohnson.name> <200903061006.25757.jeroen@fox-toolkit.org> Message-ID: On Fri, Mar 6, 2009 at 11:06 AM, Jeroen van der Zijp wrote: > I think you're right, its probably time to converge the current code > to a new stable version as soon as possible. > > It hasn't reached the goals I'd set for the 1.8 release, as a result of > the lack of time [and energy] due to my home construction project. > > Fortunately that will be drawing to a close in the next few months, and > I should be able to resume the pace at that time. > > In the meantime, I do believe you're right, and that its worth it to > focus on converging the current code into a releasable state, wrap up > a few loose ends, and get it into shape for the 1.8 release. So, another 16 months later (and a little over 4 years since the release of FOX 1.7.1), any more insight into when (if?) we'll see a stable FOX 1.8? From ralphs at dos32.com Tue Aug 3 18:42:33 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Tue, 3 Aug 2010 16:42:33 -0600 Subject: [fxruby-users] Non-modal FXMessageBox In-Reply-To: References: <1922178052.20100731061644@dos32.com> Message-ID: <895202927.20100803164233@dos32.com> Lyle, Answer: The MessageBox alerts the user to an error. A text box is filled with a lengthy explanation of the possible causes and cures of the error. The text box may need scrolling. Once the message box goes away, the text in the "error text box" goes away and the previous text is restored. Tuesday, August 3, 2010, 10:43:43 AM, you wrote: LJ> Having said that, I'm curious about why you'd want to do this. That LJ> is, I've never seen a GUI application where it displayed a message or LJ> "alert" box non-modally. -- Best regards, Ralph mailto:ralphs at dos32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphs at dos32.com Tue Aug 3 20:09:23 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Tue, 3 Aug 2010 18:09:23 -0600 Subject: [fxruby-users] [BUG] Segmentation fault in FXRbuy? Message-ID: <109505119.20100803180923@dos32.com> When I use this version of appendItem(father, item, notify=false); in FXTreelist and ... if item is of a class derived from FXTreeItem then I am 95% certain that in my environment Windows Vista ruby 1.8.6 (latest stable) that ... I get a [BUG] Segmentation fault when I exit my Ruby program. Assuming that this is a bug in FXRuby or Fox or Windows ... how can I overload the <=> (spaceship operator) so that I can sort the FXTreeItems properly? From ralphs at dos32.com Wed Aug 4 00:15:51 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Tue, 3 Aug 2010 22:15:51 -0600 Subject: [fxruby-users] [Foxgui-users] Status of FOX 1.7? In-Reply-To: References: <56310813-CC78-4044-AA1E-F0E16FE8C06B@lylejohnson.name> <200903061006.25757.jeroen@fox-toolkit.org> Message-ID: <1443241209.20100803221551@dos32.com> Lyle, Is it your opinion that FXRuby and FOX are pretty much dead? Would you care to give an overview of what is happening and what you think will happen? Ralph Tuesday, August 3, 2010, 3:49:45 PM, you wrote: LJ> On Fri, Mar 6, 2009 at 11:06 AM, Jeroen van der Zijp LJ> wrote: >> I think you're right, its probably time to converge the current code >> to a new stable version as soon as possible. >> It hasn't reached the goals I'd set for the 1.8 release, as a result of >> the lack of time [and energy] due to my home construction project. >> Fortunately that will be drawing to a close in the next few months, and >> I should be able to resume the pace at that time. >> In the meantime, I do believe you're right, and that its worth it to >> focus on converging the current code into a releasable state, wrap up >> a few loose ends, and get it into shape for the 1.8 release. LJ> So, another 16 months later (and a little over 4 years since the LJ> release of FOX 1.7.1), any more insight into when (if?) we'll see a LJ> stable FOX 1.8? LJ> _______________________________________________ LJ> fxruby-users mailing list LJ> fxruby-users at rubyforge.org LJ> http://rubyforge.org/mailman/listinfo/fxruby-users -- Best regards, Ralph mailto:ralphs at dos32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lyle at lylejohnson.name Wed Aug 4 10:16:54 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Wed, 4 Aug 2010 09:16:54 -0500 Subject: [fxruby-users] [Foxgui-users] Status of FOX 1.7? In-Reply-To: <1443241209.20100803221551@dos32.com> References: <56310813-CC78-4044-AA1E-F0E16FE8C06B@lylejohnson.name> <200903061006.25757.jeroen@fox-toolkit.org> <1443241209.20100803221551@dos32.com> Message-ID: On Tue, Aug 3, 2010 at 11:15 PM, Ralph Shnelvar wrote: > Is it your opinion that FXRuby and FOX are pretty much dead? ? Would you > care to give an overview of what is happening and what you think will > happen? Yes, I think an announcement about that is overdue. Post to follow. From lyle at lylejohnson.name Wed Aug 4 10:20:54 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Wed, 4 Aug 2010 09:20:54 -0500 Subject: [fxruby-users] Moving On Message-ID: 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 stand up and say something that I've been putting off saying for too long. As a bonus, I could visualize him calmly and quietly making one of those neat little string figures while I tried decide exactly what it was I wanted to say. It is with mixed feelings that I announce that I'm stepping away from FXRuby development, effective immediately. I will no longer be accepting bug reports, support requests, feature requests, or general emails related to FXRuby. I will continue to follow the mailing list, but I am no longer the maintainer of this project. When I started developing FXRuby back in late 2000, it was a lot of fun for me. I was still new to Ruby (most of us were, back then) and Ruby was in need of a good GUI toolkit, so working on FXRuby provided me with not only a good way to learn the ins and outs of the language, but also to get really plugged into the community. In recent years, however, working on FXRuby has become a chore. I'm a decade older, at a different place in my life and career, and there are frankly just too many other things that I'd rather be working on at this point. These feelings are compounded by the fact that FOX development has, as best I can tell, stalled out, and without anything new to look forward to on the FOX front there's little motivation for me to continue working on FXRuby. So it's time to make a clean break and call it quits. I would like to take this opportunity to thank everyone who did participate in the FXRuby community over the years. Knowing that you found my work of some value means a lot to me, and I appreciate the encouragement that I received from you along the way. I was never successful at organizing a development team around FXRuby, something which I regret, but a number of people contributed patches or third-party tools and extensions to FXRuby. If I tried to name all of those contributors, I would invariably leave someone off the list by accident, so let me just say: Thanks, you guys; you know who you are. A special thanks as well to those of you who bought the book. And of course, I owe an immense debt of gratitude to Jeroen van der Zijp, without whom there would be no FOX toolkit, and thus no FXRuby. Someone on the mailing list asked whether FOX and FXRuby are "pretty much dead." I can't speak for Jeroen or the FOX project. As for FXRuby, however, that's up to you. FXRuby is, and always has been, an open source project. If you are interested in hacking on FXRuby, or even taking over maintenance of the project, please feel free to fork the project on GitHub (http://github.com/lylejohnson/fxruby) and release updates as you see fit. The Wiki (http://wiki.github.com/lylejohnson/fxruby/) has a lot of information about setting up a development and build environment on Windows, Linux and Mac OS X, and if you have specific questions about the build chain I'll do my best to help you get set up. If no one steps forward to maintain FXRuby, that?s fine too. The code has been pretty stable, if not bug-free, for quite awhile now, and it may the case that the code's "done" anyways. If you feel that way and want to continue using FXRuby, it's not going anywhere. If on the other hand, you have some fresh new ideas about how to move ahead, go for it! I will be cheering you on from the sidelines. In closing, thanks again for all of your support over the last ten years. I'm certainly not done with Ruby, and I'm looking forward to exploring other ways in which I can participate in the Ruby community in the future. From ralphs at dos32.com Wed Aug 4 11:14:09 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Wed, 4 Aug 2010 09:14:09 -0600 Subject: [fxruby-users] Moving On In-Reply-To: References: Message-ID: <9210022.20100804091409@dos32.com> Lyle, I'm sorry to see you go ... There is one additional piece of information that I would like from you: Given that many developers (me included) have spent considerable resources learning FXRuby, buying your book, searching for documentation, etc., ... What graphical platform would you recommend porting to? Ralph Wednesday, August 4, 2010, 8:20:54 AM, you wrote: LJ> Cross-posted to the blog (at LJ> http://lylejohnson.name/blog/2010/08/04/moving-on/): LJ> When Jamis Buck wrote last year about ceasing development on LJ> Capistrano, his post really struck a chord with me. If this post LJ> reminds you of that one, it's because I re-read it before sitting down LJ> to compose this one. It was the next best thing to having Jamis on LJ> hand to give me a pep talk before I had to stand up and say something LJ> that I've been putting off saying for too long. As a bonus, I could LJ> visualize him calmly and quietly making one of those neat little LJ> string figures while I tried decide exactly what it was I wanted to LJ> say. LJ> It is with mixed feelings that I announce that I'm stepping away from LJ> FXRuby development, effective immediately. I will no longer be LJ> accepting bug reports, support requests, feature requests, or general LJ> emails related to FXRuby. I will continue to follow the mailing list, LJ> but I am no longer the maintainer of this project. LJ> When I started developing FXRuby back in late 2000, it was a lot of LJ> fun for me. I was still new to Ruby (most of us were, back then) and LJ> Ruby was in need of a good GUI toolkit, so working on FXRuby provided LJ> me with not only a good way to learn the ins and outs of the language, LJ> but also to get really plugged into the community. In recent years, LJ> however, working on FXRuby has become a chore. I'm a decade older, at LJ> a different place in my life and career, and there are frankly just LJ> too many other things that I'd rather be working on at this point. LJ> These feelings are compounded by the fact that FOX development has, as LJ> best I can tell, stalled out, and without anything new to look forward LJ> to on the FOX front there's little motivation for me to continue LJ> working on FXRuby. So it's time to make a clean break and call it LJ> quits. LJ> I would like to take this opportunity to thank everyone who did LJ> participate in the FXRuby community over the years. Knowing that you LJ> found my work of some value means a lot to me, and I appreciate the LJ> encouragement that I received from you along the way. I was never LJ> successful at organizing a development team around FXRuby, something LJ> which I regret, but a number of people contributed patches or LJ> third-party tools and extensions to FXRuby. If I tried to name all of LJ> those contributors, I would invariably leave someone off the list by LJ> accident, so let me just say: Thanks, you guys; you know who you are. LJ> A special thanks as well to those of you who bought the book. And of LJ> course, I owe an immense debt of gratitude to Jeroen van der Zijp, LJ> without whom there would be no FOX toolkit, and thus no FXRuby. LJ> Someone on the mailing list asked whether FOX and FXRuby are "pretty LJ> much dead." I can't speak for Jeroen or the FOX project. As for LJ> FXRuby, however, that's up to you. FXRuby is, and always has been, an LJ> open source project. If you are interested in hacking on FXRuby, or LJ> even taking over maintenance of the project, please feel free to fork LJ> the project on GitHub (http://github.com/lylejohnson/fxruby) and LJ> release updates as you see fit. The Wiki LJ> (http://wiki.github.com/lylejohnson/fxruby/) has a lot of information LJ> about setting up a development and build environment on Windows, Linux LJ> and Mac OS X, and if you have specific questions about the build chain LJ> I'll do my best to help you get set up. LJ> If no one steps forward to maintain FXRuby, that?s fine too. The code LJ> has been pretty stable, if not bug-free, for quite awhile now, and it LJ> may the case that the code's "done" anyways. If you feel that way and LJ> want to continue using FXRuby, it's not going anywhere. If on the LJ> other hand, you have some fresh new ideas about how to move ahead, go LJ> for it! I will be cheering you on from the sidelines. LJ> In closing, thanks again for all of your support over the last ten LJ> years. I'm certainly not done with Ruby, and I'm looking forward to LJ> exploring other ways in which I can participate in the Ruby community LJ> in the future. LJ> _______________________________________________ LJ> fxruby-users mailing list LJ> fxruby-users at rubyforge.org LJ> http://rubyforge.org/mailman/listinfo/fxruby-users -- Best regards, Ralph mailto:ralphs at dos32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.wisti at gmail.com Wed Aug 4 11:29:29 2010 From: brian.wisti at gmail.com (Brian Wisti) Date: Wed, 4 Aug 2010 08:29:29 -0700 Subject: [fxruby-users] Moving On In-Reply-To: <9210022.20100804091409@dos32.com> References: <9210022.20100804091409@dos32.com> Message-ID: > What graphical platform would you recommend porting to? > Hey now. I definitely understand why you're asking, but isn't that a bit like asking your ex-girlfriend who you should go out with right after she breaks up with you? Thanks for all the hard work, Lyle! I'll be watching to see what you're up to. FXRuby has been gold for me, so I'm sure anything else you share will be worthy of attention. Kind Regards, Brian Wisti http://coolnamehere.com From lyle at lylejohnson.name Wed Aug 4 12:14:32 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Wed, 4 Aug 2010 11:14:32 -0500 Subject: [fxruby-users] Moving On In-Reply-To: <9210022.20100804091409@dos32.com> References: <9210022.20100804091409@dos32.com> Message-ID: On Wed, Aug 4, 2010 at 10:14 AM, Ralph Shnelvar wrote: > What graphical platform would you recommend porting to? I don't have a recommendation as I don't really do any desktop GUI development with Ruby anymore. From brian.wisti at gmail.com Wed Aug 4 12:38:06 2010 From: brian.wisti at gmail.com (Brian Wisti) Date: Wed, 4 Aug 2010 09:38:06 -0700 Subject: [fxruby-users] Moving On In-Reply-To: <9210022.20100804091409@dos32.com> References: <9210022.20100804091409@dos32.com> Message-ID: > What graphical platform would you recommend porting to? > > Ralph Hey Ralph, I actually have an answer now that I've recovered from Lyle's announcement :-) For cross-platform GUI, FXRuby was always the best bet. Other libraries tend to work best on Unix+X11 systems. Still, there are a couple of options. Korundum's Qt4-Ruby bindings might work. Qt4 is an excellent library, although it might feel a little heavyweight after working with FXRuby. I mention Korundum because they pushed out a fresh release of the qt4-ruby gem a few days ago. There is also a great tutorial available. * http://rubyforge.org/projects/korundum/ * http://www.darshancomputing.com/qt4-qtruby-tutorial/ WxRuby is a set of bindings for the WxWidgets tookit. Not bad, although I had issues getting it to work on Windows sometimes. Also, the most recent release appears to be from September 2009. * http://wxruby.rubyforge.org/wiki/wiki.pl If you are not worried about Windows and don't like QT, you could check out Ruby-GNOME2. I think it is a useful set of bindings, as long as you are only concerned about writing GTK/Gnome apps. Unfortunately, Gnome development has never held my interest for long. * http://ruby-gnome2.sourceforge.jp/ Then of course, there's the standard Tk bindings. Your applications may not be pretty to look at, but the library itself is easy to work with and it is cross-platform. Plus, ruby-tk works on most systems you happen to have Ruby and a pointy-clicky GUI desktop. Okay, it works best on OS X if you are willing to fiddle a little bit. * http://rubylearning.com/satishtalim/ruby_tk_tutorial.html Which do I prefer on the rare occasions that I write GUI projects in Ruby? Well, FXRuby. But other than that, my personal preference leans towards qt4-ruby for the shininess factor, or ruby-tk for the "getting-stuff-done-everywhere" factor. Hope this helps. Kind Regards, Brian Wisti http://coolnamehere.com From rmelton at ball.com Wed Aug 4 12:50:33 2010 From: rmelton at ball.com (Melton, Ryan) Date: Wed, 4 Aug 2010 10:50:33 -0600 Subject: [fxruby-users] Moving On In-Reply-To: References: <9210022.20100804091409@dos32.com> Message-ID: <2EC28B773AF39E47850AC45765483C2C111FF2F2@AEROMSG2.AERO.BALL.COM> Hi everyone, First of all, I've been using FXRuby for the past 4 years on a large (60000 SLOC) Ruby application for my company, and it has worked nicely. Thanks are definitely owned to Lyle and Jeroen for the easy to use toolkit. However, it's been showing its age, and the writing on the wall has been there for a while that FOX wasn't really being developed anymore. I'm in the process of taking the KDE Bindings to the Qt GUI Toolkit for Ruby "QtRuby" and making it easier to install (which is its main drawback right now). The official qtruby4 only has a windows gem that works with the old Ruby Installer for Windows and a very hard to compile tarball for other platforms. I'm repackaging it into a gem that should be easy to install on Windows, Mac OSX, or Linux. (Hopefully... Feedback will be appreciated) You can get the code now on github at http://github.com/ryanmelt/qtbindings I'll have a gem ready in a couple days. For those who haven't heard of Qt... Its extremely nice, and relative similar to FOX. The learning curve to switching is not that high. There isn't nice RDoc documentation like Lyle put together for FxRuby, but the mapping from the C documentation to ruby is very easy. Best of all, its supported by a major company, Nokia, and isn't going anywhere. http://qt.nokia.com Ryan -----Original Message----- From: fxruby-users-bounces at rubyforge.org [mailto:fxruby-users-bounces at rubyforge.org] On Behalf Of Lyle Johnson Sent: Wednesday, August 04, 2010 10:15 AM To: fxruby-users at rubyforge.org Subject: Re: [fxruby-users] Moving On On Wed, Aug 4, 2010 at 10:14 AM, Ralph Shnelvar wrote: > What graphical platform would you recommend porting to? I don't have a recommendation as I don't really do any desktop GUI development with Ruby anymore. _______________________________________________ fxruby-users mailing list fxruby-users at rubyforge.org http://rubyforge.org/mailman/listinfo/fxruby-users This message and any enclosures are intended only for the addressee. Please notify the sender by email if you are not the intended recipient. If you are not the intended recipient, you may not use, copy, disclose, or distribute this message or its contents or enclosures to any other person and any such actions may be unlawful. Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address. From lyle at lylejohnson.name Wed Aug 4 13:15:53 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Wed, 4 Aug 2010 12:15:53 -0500 Subject: [fxruby-users] Moving On In-Reply-To: <2EC28B773AF39E47850AC45765483C2C111FF2F2@AEROMSG2.AERO.BALL.COM> References: <9210022.20100804091409@dos32.com> <2EC28B773AF39E47850AC45765483C2C111FF2F2@AEROMSG2.AERO.BALL.COM> Message-ID: On Wed, Aug 4, 2010 at 11:50 AM, Melton, Ryan wrote: > I'm in the process of taking the KDE Bindings to the Qt GUI Toolkit for Ruby "QtRuby" and making it easier to install... >?I'm repackaging it into a gem that should be easy to install on Windows, Mac OSX, or Linux. Wow. That has to be tough work, but there are going to be a lot of people who will appreciate the end result. Good for you for stepping up to the plate on that one! From mitfik at gmail.com Wed Aug 4 14:08:04 2010 From: mitfik at gmail.com (Robert Mitwicki) Date: Wed, 4 Aug 2010 20:08:04 +0200 Subject: [fxruby-users] Moving On In-Reply-To: References: <9210022.20100804091409@dos32.com> <2EC28B773AF39E47850AC45765483C2C111FF2F2@AEROMSG2.AERO.BALL.COM> Message-ID: Lyle, Thanks a lot for You work. I am new guy here, but I have start looking for some GUI for our project in ruby ... I tested lot of them the best was FxRuby. And I hope that, it will be even better :) We have plan to develop this project, in this situation I hope that we can count on Your help if we will stuck on some problem. Good job. And thanks again.. Greetings from Poland :) Regards 2010/8/4 Lyle Johnson : > On Wed, Aug 4, 2010 at 11:50 AM, Melton, Ryan wrote: > >> I'm in the process of taking the KDE Bindings to the Qt GUI Toolkit for Ruby "QtRuby" and making it easier to install... >>?I'm repackaging it into a gem that should be easy to install on Windows, Mac OSX, or Linux. > > Wow. That has to be tough work, but there are going to be a lot of > people who will appreciate the end result. Good for you for stepping > up to the plate on that one! > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > -- Robert Mitwicki Kontakt: ? ?? jid: mitfik at jabber.org ? ?? e-mail: mitfik at gmail.com ------------------------------------------ www.partiapiratow.org.pl From leslieviljoen at gmail.com Wed Aug 4 15:39:38 2010 From: leslieviljoen at gmail.com (Leslie Viljoen) Date: Wed, 4 Aug 2010 21:39:38 +0200 Subject: [fxruby-users] Moving On In-Reply-To: References: Message-ID: Thanks for all the hard work Lyle! It has definitely helped me a great deal. Leslie From dglnz at yahoo.com Wed Aug 4 22:47:25 2010 From: dglnz at yahoo.com (dave L) Date: Wed, 4 Aug 2010 19:47:25 -0700 (PDT) Subject: [fxruby-users] Moving On In-Reply-To: Message-ID: <379342.47215.qm@web30007.mail.mud.yahoo.com> I came to fxruby via foxGUIb. With the help and kindness of Henon I learnt how to use his GUI generator. It may have been a bonus or a hinderance (depending on you're view point) but for me I got up and running very fast using it and appreciate his efforts and yours Lyle. I know I'm not a programmer but more of a wannabe and reading my posts you'll know it. I'm not delusional about my skills. So to you and the other more abled programmers on this list and others within the ruby community at large thanks for you're time and efforts. All best for the future. Dave. --- On Thu, 5/8/10, Lyle Johnson wrote: > From: Lyle Johnson > Subject: [fxruby-users] Moving On > To: fxruby-users at rubyforge.org, fxruby-announce at rubyforge.org > Received: Thursday, 5 August, 2010, 2:20 AM > 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 stand up and say > something > that I've been putting off saying for too long. As a bonus, > I could > visualize him calmly and quietly making one of those neat > little > string figures while I tried decide exactly what it was I > wanted to > say. > > It is with mixed feelings that I announce that I'm stepping > away from > FXRuby development, effective immediately. I will no longer > be > accepting bug reports, support requests, feature requests, > or general > emails related to FXRuby. I will continue to follow the > mailing list, > but I am no longer the maintainer of this project. > > When I started developing FXRuby back in late 2000, it was > a lot of > fun for me. I was still new to Ruby (most of us were, back > then) and > Ruby was in need of a good GUI toolkit, so working on > FXRuby provided > me with not only a good way to learn the ins and outs of > the language, > but also to get really plugged into the community. In > recent years, > however, working on FXRuby has become a chore. I'm a decade > older, at > a different place in my life and career, and there are > frankly just > too many other things that I'd rather be working on at this > point. > These feelings are compounded by the fact that FOX > development has, as > best I can tell, stalled out, and without anything new to > look forward > to on the FOX front there's little motivation for me to > continue > working on FXRuby. So it's time to make a clean break and > call it > quits. > > I would like to take this opportunity to thank everyone who > did > participate in the FXRuby community over the years. Knowing > that you > found my work of some value means a lot to me, and I > appreciate the > encouragement that I received from you along the way. I was > never > successful at organizing a development team around FXRuby, > something > which I regret, but a number of people contributed patches > or > third-party tools and extensions to FXRuby. If I tried to > name all of > those contributors, I would invariably leave someone off > the list by > accident, so let me just say: Thanks, you guys; you know > who you are. > A special thanks as well to those of you who bought the > book. And of > course, I owe an immense debt of gratitude to Jeroen van > der Zijp, > without whom there would be no FOX toolkit, and thus no > FXRuby. > > Someone on the mailing list asked whether FOX and FXRuby > are "pretty > much dead." I can't speak for Jeroen or the FOX project. As > for > FXRuby, however, that's up to you. FXRuby is, and always > has been, an > open source project. If you are interested in hacking on > FXRuby, or > even taking over maintenance of the project, please feel > free to fork > the project on GitHub (http://github.com/lylejohnson/fxruby) and > release updates as you see fit. The Wiki > (http://wiki.github.com/lylejohnson/fxruby/) has a lot > of information > about setting up a development and build environment on > Windows, Linux > and Mac OS X, and if you have specific questions about the > build chain > I'll do my best to help you get set up. > > If no one steps forward to maintain FXRuby, that?s fine > too. The code > has been pretty stable, if not bug-free, for quite awhile > now, and it > may the case that the code's "done" anyways. If you feel > that way and > want to continue using FXRuby, it's not going anywhere. If > on the > other hand, you have some fresh new ideas about how to move > ahead, go > for it! I will be cheering you on from the sidelines. > > In closing, thanks again for all of your support over the > last ten > years. I'm certainly not done with Ruby, and I'm looking > forward to > exploring other ways in which I can participate in the Ruby > community > in the future. > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > From dglnz at yahoo.com Wed Aug 4 22:51:50 2010 From: dglnz at yahoo.com (dave L) Date: Wed, 4 Aug 2010 19:51:50 -0700 (PDT) Subject: [fxruby-users] Moving On In-Reply-To: Message-ID: <315825.48582.qm@web30005.mail.mud.yahoo.com> may I add to the list the program Shoes. I used it before settling on fxruby. Shoes by _whytheluckystiff has been taken over by a community of programmers who loved it'd creator and the program so much. I don't know why _why shutdown shoes but the community has recovered. I have had the intention of revisiting it. rgds, Dave. --- On Thu, 5/8/10, Brian Wisti wrote: > From: Brian Wisti > Subject: Re: [fxruby-users] Moving On > To: "Ralph Shnelvar" , fxruby-users at rubyforge.org > Received: Thursday, 5 August, 2010, 4:38 AM > > What graphical platform would > you recommend porting to? > > > > Ralph > > Hey Ralph, I actually have an answer now that I've > recovered from > Lyle's announcement :-) > > For cross-platform GUI, FXRuby was always the best bet. > Other > libraries tend to work best on Unix+X11 systems. Still, > there are a > couple of options. > > Korundum's Qt4-Ruby bindings might work. Qt4 is an > excellent library, > although it might feel a little heavyweight after working > with FXRuby. > I mention Korundum because they pushed out a fresh release > of the > qt4-ruby gem a few days ago. There is also a great tutorial > available. > > * http://rubyforge.org/projects/korundum/ > * http://www.darshancomputing.com/qt4-qtruby-tutorial/ > > WxRuby is a set of bindings for the WxWidgets tookit. Not > bad, > although I had issues getting it to work on Windows > sometimes. Also, > the most recent release appears to be from September 2009. > > * http://wxruby.rubyforge.org/wiki/wiki.pl > > If you are not worried about Windows and don't like QT, you > could > check out Ruby-GNOME2. I think it is a useful set of > bindings, as long > as you are only concerned about writing GTK/Gnome apps. > Unfortunately, > Gnome development has never held my interest for long. > > * http://ruby-gnome2.sourceforge.jp/ > > Then of course, there's the standard Tk bindings. Your > applications > may not be pretty to look at, but the library itself is > easy to work > with and it is cross-platform. Plus, ruby-tk works on most > systems you > happen to have Ruby and a pointy-clicky GUI desktop. Okay, > it works > best on OS X if you are willing to fiddle a little bit. > > * http://rubylearning.com/satishtalim/ruby_tk_tutorial.html > > Which do I prefer on the rare occasions that I write GUI > projects in > Ruby? Well, FXRuby. But other than that, my personal > preference leans > towards qt4-ruby for the shininess factor, or ruby-tk for > the > "getting-stuff-done-everywhere" factor. > > Hope this helps. > > Kind Regards, > > Brian Wisti > http://coolnamehere.com > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > From matma.rex at gmail.com Thu Aug 5 01:17:30 2010 From: matma.rex at gmail.com (=?UTF-8?Q?Bartosz_Dziewo=C5=84ski?=) Date: Thu, 5 Aug 2010 07:17:30 +0200 Subject: [fxruby-users] Moving On In-Reply-To: <379342.47215.qm@web30007.mail.mud.yahoo.com> References: <379342.47215.qm@web30007.mail.mud.yahoo.com> Message-ID: Yeah, I'd like to mention Shoes too, but although it's a very nice and simple toolkit, I don't think it's quite powerful or even ready. It's perfect for your own tiny freetime projects, but I won't recommend it for anything bigger. And really, why look for anything else? As Lyle said, FXRuby isn't going anywhere, it's going to work just as it worked for years, it just will not be developed (and it wasn't, anyway). -- Matma Rex - http://matma-rex.prv.pl/ From tim_peterson_drafting at hotmail.com Thu Aug 5 02:11:30 2010 From: tim_peterson_drafting at hotmail.com (tim peterson) Date: Wed, 4 Aug 2010 23:11:30 -0700 Subject: [fxruby-users] (no subject) Message-ID: Hi, I've been trying to draw rotated text using: font = FXFont.new(app, "arial", 16) font.setAngle(2880) font.create dc.setFont(font) dc.drawText( 100, 200, "text") But all I get is unrotated text. Using puts font.hints gives 0 and puts font.angle gives 2880 Should I be including more arguments in FXFont.new to make the font rotatable? -------------- next part -------------- An HTML attachment was scrubbed... URL: From meinrad.recheis at gmail.com Thu Aug 5 02:42:46 2010 From: meinrad.recheis at gmail.com (Meinrad Recheis) Date: Thu, 5 Aug 2010 08:42:46 +0200 Subject: [fxruby-users] Moving On In-Reply-To: References: Message-ID: Lyle, Thanks for all the support (years ago) ... and I wish you good luck and much fun with whatever you are going to take on ;) Cheers, -- henon On Wed, Aug 4, 2010 at 4:20 PM, Lyle Johnson wrote: > 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 stand up and say something > that I've been putting off saying for too long. As a bonus, I could > visualize him calmly and quietly making one of those neat little > string figures while I tried decide exactly what it was I wanted to > say. > > It is with mixed feelings that I announce that I'm stepping away from > FXRuby development, effective immediately. I will no longer be > accepting bug reports, support requests, feature requests, or general > emails related to FXRuby. I will continue to follow the mailing list, > but I am no longer the maintainer of this project. > > When I started developing FXRuby back in late 2000, it was a lot of > fun for me. I was still new to Ruby (most of us were, back then) and > Ruby was in need of a good GUI toolkit, so working on FXRuby provided > me with not only a good way to learn the ins and outs of the language, > but also to get really plugged into the community. In recent years, > however, working on FXRuby has become a chore. I'm a decade older, at > a different place in my life and career, and there are frankly just > too many other things that I'd rather be working on at this point. > These feelings are compounded by the fact that FOX development has, as > best I can tell, stalled out, and without anything new to look forward > to on the FOX front there's little motivation for me to continue > working on FXRuby. So it's time to make a clean break and call it > quits. > > I would like to take this opportunity to thank everyone who did > participate in the FXRuby community over the years. Knowing that you > found my work of some value means a lot to me, and I appreciate the > encouragement that I received from you along the way. I was never > successful at organizing a development team around FXRuby, something > which I regret, but a number of people contributed patches or > third-party tools and extensions to FXRuby. If I tried to name all of > those contributors, I would invariably leave someone off the list by > accident, so let me just say: Thanks, you guys; you know who you are. > A special thanks as well to those of you who bought the book. And of > course, I owe an immense debt of gratitude to Jeroen van der Zijp, > without whom there would be no FOX toolkit, and thus no FXRuby. > > Someone on the mailing list asked whether FOX and FXRuby are "pretty > much dead." I can't speak for Jeroen or the FOX project. As for > FXRuby, however, that's up to you. FXRuby is, and always has been, an > open source project. If you are interested in hacking on FXRuby, or > even taking over maintenance of the project, please feel free to fork > the project on GitHub (http://github.com/lylejohnson/fxruby) and > release updates as you see fit. The Wiki > (http://wiki.github.com/lylejohnson/fxruby/) has a lot of information > about setting up a development and build environment on Windows, Linux > and Mac OS X, and if you have specific questions about the build chain > I'll do my best to help you get set up. > > If no one steps forward to maintain FXRuby, that?s fine too. The code > has been pretty stable, if not bug-free, for quite awhile now, and it > may the case that the code's "done" anyways. If you feel that way and > want to continue using FXRuby, it's not going anywhere. If on the > other hand, you have some fresh new ideas about how to move ahead, go > for it! I will be cheering you on from the sidelines. > > In closing, thanks again for all of your support over the last ten > years. I'm certainly not done with Ruby, and I'm looking forward to > exploring other ways in which I can participate in the Ruby community > in the future. > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From natarajsn at gmail.com Thu Aug 5 05:12:16 2010 From: natarajsn at gmail.com (Nataraj S Narayan) Date: Thu, 5 Aug 2010 14:42:16 +0530 Subject: [fxruby-users] Moving On In-Reply-To: References: <9210022.20100804091409@dos32.com> Message-ID: Hi Lyle All good things eventually come to an end. Feeling sad for fxruby. My acquaintence with fx-ruby became when I was facing a rather critical situation for me as well the company I am working for. A big project was coming in on Arm9 based handheld , kinda embedded arm-linux, and we had very less time for making a good show of our competence. I was keen on freepascal for Arm and betting on it when the company wanted an immediate demo and proto-type of the application on the Arm-linux board. I did shelve freepascal and jumped into ruby /fox/fxruby cross compilation and lo! I could whip up a decent App with mysql connectivity to a remote server , almost within a week. We got the plum order and I get to retain my job! Well after the initial euphoria, the management decided to go the QT way, since Nokia was backing it now. So, despite my objections, ruby and fx are under the wraps since and there are the C++ cats working on Qt-embedded-opensource-linux-4.5.2. Meanwhile I was still trying to duplicate what the Qt guys were trying, but my handycap being that Qt-embedded runs on frame buffer without X. Eventually I believe some one might embark on Foxlib with xserver functionality over frame buffer and get fxruby to work on the same. Thanks to you Lyle once again. Warm regards Nataraj On Wed, Aug 4, 2010 at 10:08 PM, Brian Wisti wrote: > > What graphical platform would you recommend porting to? > > > > Ralph > > Hey Ralph, I actually have an answer now that I've recovered from > Lyle's announcement :-) > > For cross-platform GUI, FXRuby was always the best bet. Other > libraries tend to work best on Unix+X11 systems. Still, there are a > couple of options. > > Korundum's Qt4-Ruby bindings might work. Qt4 is an excellent library, > although it might feel a little heavyweight after working with FXRuby. > I mention Korundum because they pushed out a fresh release of the > qt4-ruby gem a few days ago. There is also a great tutorial available. > > * http://rubyforge.org/projects/korundum/ > * http://www.darshancomputing.com/qt4-qtruby-tutorial/ > > WxRuby is a set of bindings for the WxWidgets tookit. Not bad, > although I had issues getting it to work on Windows sometimes. Also, > the most recent release appears to be from September 2009. > > * http://wxruby.rubyforge.org/wiki/wiki.pl > > If you are not worried about Windows and don't like QT, you could > check out Ruby-GNOME2. I think it is a useful set of bindings, as long > as you are only concerned about writing GTK/Gnome apps. Unfortunately, > Gnome development has never held my interest for long. > > * http://ruby-gnome2.sourceforge.jp/ > > Then of course, there's the standard Tk bindings. Your applications > may not be pretty to look at, but the library itself is easy to work > with and it is cross-platform. Plus, ruby-tk works on most systems you > happen to have Ruby and a pointy-clicky GUI desktop. Okay, it works > best on OS X if you are willing to fiddle a little bit. > > * http://rubylearning.com/satishtalim/ruby_tk_tutorial.html > > Which do I prefer on the rare occasions that I write GUI projects in > Ruby? Well, FXRuby. But other than that, my personal preference leans > towards qt4-ruby for the shininess factor, or ruby-tk for the > "getting-stuff-done-everywhere" factor. > > Hope this helps. > > Kind Regards, > > Brian Wisti > http://coolnamehere.com > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ned at productcreationstudio.com Thu Aug 5 17:44:58 2010 From: ned at productcreationstudio.com (Ned Konz) Date: Thu, 5 Aug 2010 14:44:58 -0700 Subject: [fxruby-users] extending keystroke response in FXOptionMenu Message-ID: <1281044699.24479.41.camel@linux-asus> I've just started working with FXRuby, and it looks to be quite useful. However, it's not clear to me how to go about extending the behavior of (say) a FXOptionMenu so that it responds to (say) Enter keystrokes in the same way that it responds to Space keystrokes. It looks like there might in general be two ways to handle this: * subclass FXOptionMenu (and maybe FXOption as well) and override its existing onKeyPress and onKeyRelease methods, or * use connect() to provide new blocks for SEL_KEYPRESS.0 and SEL_KEYRELEASE.0 for one or both of FXOptionMenu and FXOption As far as I can tell, doing either requires a reference to the fox sources, as far as I can tell, to see the existing FXDEFMAP/FXMAPFUNC commands and handlers. Is this a standard way to use fxruby (that is, with the sources for the Fox libraries at hand)? Or is there a simpler way that people who actually know what they're doing would use? Thanks, Ned Konz -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmelton at ball.com Fri Aug 6 11:20:54 2010 From: rmelton at ball.com (Melton, Ryan) Date: Fri, 6 Aug 2010 09:20:54 -0600 Subject: [fxruby-users] Moving On In-Reply-To: <2EC28B773AF39E47850AC45765483C2C111FF2F2@AEROMSG2.AERO.BALL.COM> References: <9210022.20100804091409@dos32.com> <2EC28B773AF39E47850AC45765483C2C111FF2F2@AEROMSG2.AERO.BALL.COM> Message-ID: <2EC28B773AF39E47850AC45765483C2C111FFB31@AEROMSG2.AERO.BALL.COM> The qtbindings gem is now available: gem install qtbindings Should be easy to install on windows with the binary windows gem. Please see the README on http://github.com/ryanmelt/qtbindings before attempting to install on Linux / Mac OSX. It is still easy, but you have to have all the prereqs. Enjoy! Ryan -----Original Message----- From: fxruby-users-bounces at rubyforge.org [mailto:fxruby-users-bounces at rubyforge.org] On Behalf Of Melton, Ryan Sent: Wednesday, August 04, 2010 10:51 AM To: fxruby-users at rubyforge.org Subject: Re: [fxruby-users] Moving On Hi everyone, First of all, I've been using FXRuby for the past 4 years on a large (60000 SLOC) Ruby application for my company, and it has worked nicely. Thanks are definitely owned to Lyle and Jeroen for the easy to use toolkit. However, it's been showing its age, and the writing on the wall has been there for a while that FOX wasn't really being developed anymore. I'm in the process of taking the KDE Bindings to the Qt GUI Toolkit for Ruby "QtRuby" and making it easier to install (which is its main drawback right now). The official qtruby4 only has a windows gem that works with the old Ruby Installer for Windows and a very hard to compile tarball for other platforms. I'm repackaging it into a gem that should be easy to install on Windows, Mac OSX, or Linux. (Hopefully... Feedback will be appreciated) You can get the code now on github at http://github.com/ryanmelt/qtbindings I'll have a gem ready in a couple days. For those who haven't heard of Qt... Its extremely nice, and relative similar to FOX. The learning curve to switching is not that high. There isn't nice RDoc documentation like Lyle put together for FxRuby, but the mapping from the C documentation to ruby is very easy. Best of all, its supported by a major company, Nokia, and isn't going anywhere. http://qt.nokia.com Ryan -----Original Message----- From: fxruby-users-bounces at rubyforge.org [mailto:fxruby-users-bounces at rubyforge.org] On Behalf Of Lyle Johnson Sent: Wednesday, August 04, 2010 10:15 AM To: fxruby-users at rubyforge.org Subject: Re: [fxruby-users] Moving On On Wed, Aug 4, 2010 at 10:14 AM, Ralph Shnelvar wrote: > What graphical platform would you recommend porting to? I don't have a recommendation as I don't really do any desktop GUI development with Ruby anymore. _______________________________________________ fxruby-users mailing list fxruby-users at rubyforge.org http://rubyforge.org/mailman/listinfo/fxruby-users This message and any enclosures are intended only for the addressee. Please notify the sender by email if you are not the intended recipient. If you are not the intended recipient, you may not use, copy, disclose, or distribute this message or its contents or enclosures to any other person and any such actions may be unlawful. Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address. _______________________________________________ fxruby-users mailing list fxruby-users at rubyforge.org http://rubyforge.org/mailman/listinfo/fxruby-users This message and any enclosures are intended only for the addressee. Please notify the sender by email if you are not the intended recipient. If you are not the intended recipient, you may not use, copy, disclose, or distribute this message or its contents or enclosures to any other person and any such actions may be unlawful. Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address. From bjorn.bergqvist at gmail.com Sat Aug 7 09:52:29 2010 From: bjorn.bergqvist at gmail.com (=?ISO-8859-1?Q?Bj=F6rn_Bergqvist?=) Date: Sat, 7 Aug 2010 15:52:29 +0200 Subject: [fxruby-users] Moving On In-Reply-To: <2EC28B773AF39E47850AC45765483C2C111FFB31@AEROMSG2.AERO.BALL.COM> References: <9210022.20100804091409@dos32.com> <2EC28B773AF39E47850AC45765483C2C111FF2F2@AEROMSG2.AERO.BALL.COM> <2EC28B773AF39E47850AC45765483C2C111FFB31@AEROMSG2.AERO.BALL.COM> Message-ID: Yeah! And then replace all occurrences of FX with QT in your ruby sources and you are done :-) (och and include "qt" instead include "fox16"...) Bj?rn 2010/8/6 Melton, Ryan > The qtbindings gem is now available: > > gem install qtbindings > > Should be easy to install on windows with the binary windows gem. > > Please see the README on http://github.com/ryanmelt/qtbindings before > attempting to install on Linux / Mac OSX. It is still easy, but you have to > have all the prereqs. > > Enjoy! > Ryan > > > -----Original Message----- > From: fxruby-users-bounces at rubyforge.org [mailto: > fxruby-users-bounces at rubyforge.org] On Behalf Of Melton, Ryan > Sent: Wednesday, August 04, 2010 10:51 AM > To: fxruby-users at rubyforge.org > Subject: Re: [fxruby-users] Moving On > > Hi everyone, > > First of all, I've been using FXRuby for the past 4 years on a large (60000 > SLOC) Ruby application for my company, and it has worked nicely. Thanks are > definitely owned to Lyle and Jeroen for the easy to use toolkit. > > However, it's been showing its age, and the writing on the wall has been > there for a while that FOX wasn't really being developed anymore. > > I'm in the process of taking the KDE Bindings to the Qt GUI Toolkit for > Ruby "QtRuby" and making it easier to install (which is its main drawback > right now). The official qtruby4 only has a windows gem that works with the > old Ruby Installer for Windows and a very hard to compile tarball for other > platforms. I'm repackaging it into a gem that should be easy to install on > Windows, Mac OSX, or Linux. (Hopefully... Feedback will be appreciated) > > You can get the code now on github at > http://github.com/ryanmelt/qtbindings > > I'll have a gem ready in a couple days. > > For those who haven't heard of Qt... Its extremely nice, and relative > similar to FOX. The learning curve to switching is not that high. There > isn't nice RDoc documentation like Lyle put together for FxRuby, but the > mapping from the C documentation to ruby is very easy. Best of all, its > supported by a major company, Nokia, and isn't going anywhere. > http://qt.nokia.com > > Ryan > > -----Original Message----- > From: fxruby-users-bounces at rubyforge.org [mailto: > fxruby-users-bounces at rubyforge.org] On Behalf Of Lyle Johnson > Sent: Wednesday, August 04, 2010 10:15 AM > To: fxruby-users at rubyforge.org > Subject: Re: [fxruby-users] Moving On > > On Wed, Aug 4, 2010 at 10:14 AM, Ralph Shnelvar wrote: > > > What graphical platform would you recommend porting to? > > I don't have a recommendation as I don't really do any desktop GUI > development with Ruby anymore. > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > > > > This message and any enclosures are intended only for the addressee. > Please > notify the sender by email if you are not the intended recipient. If you > are > not the intended recipient, you may not use, copy, disclose, or distribute > this > message or its contents or enclosures to any other person and any such > actions > may be unlawful. Ball reserves the right to monitor and review all > messages > and enclosures sent to or from this email address. > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > > > > This message and any enclosures are intended only for the addressee. > Please > notify the sender by email if you are not the intended recipient. If you > are > not the intended recipient, you may not use, copy, disclose, or distribute > this > message or its contents or enclosures to any other person and any such > actions > may be unlawful. Ball reserves the right to monitor and review all > messages > and enclosures sent to or from this email address. > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From natarajsn at gmail.com Mon Aug 9 02:21:17 2010 From: natarajsn at gmail.com (Nataraj S Narayan) Date: Mon, 9 Aug 2010 11:51:17 +0530 Subject: [fxruby-users] Moving On In-Reply-To: References: <9210022.20100804091409@dos32.com> <2EC28B773AF39E47850AC45765483C2C111FF2F2@AEROMSG2.AERO.BALL.COM> <2EC28B773AF39E47850AC45765483C2C111FFB31@AEROMSG2.AERO.BALL.COM> Message-ID: Hi Ryan,Bj?rn I am on qt-embedded-linux-opensource-4.6.2, working on linux framebuffer. My toolchain is arm-linux-uclibcgnueabi-. Working on a Arm9 CPU based handheld with OS linux + uclibc for Arm. I used Buildroot ( http://buildroot.org/) for building the filesystem with Qt-embedded and ruby. regards Nataraj 2010/8/7 Bj?rn Bergqvist > Yeah! > And then replace all occurrences of FX with QT in your ruby sources and you > are done :-) > (och and include "qt" instead include "fox16"...) > > Bj?rn > > 2010/8/6 Melton, Ryan > > The qtbindings gem is now available: >> >> gem install qtbindings >> >> Should be easy to install on windows with the binary windows gem. >> >> Please see the README on http://github.com/ryanmelt/qtbindings before >> attempting to install on Linux / Mac OSX. It is still easy, but you have to >> have all the prereqs. >> >> Enjoy! >> Ryan >> >> >> -----Original Message----- >> From: fxruby-users-bounces at rubyforge.org [mailto: >> fxruby-users-bounces at rubyforge.org] On Behalf Of Melton, Ryan >> Sent: Wednesday, August 04, 2010 10:51 AM >> To: fxruby-users at rubyforge.org >> Subject: Re: [fxruby-users] Moving On >> >> Hi everyone, >> >> First of all, I've been using FXRuby for the past 4 years on a large >> (60000 SLOC) Ruby application for my company, and it has worked nicely. >> Thanks are definitely owned to Lyle and Jeroen for the easy to use toolkit. >> >> However, it's been showing its age, and the writing on the wall has been >> there for a while that FOX wasn't really being developed anymore. >> >> I'm in the process of taking the KDE Bindings to the Qt GUI Toolkit for >> Ruby "QtRuby" and making it easier to install (which is its main drawback >> right now). The official qtruby4 only has a windows gem that works with the >> old Ruby Installer for Windows and a very hard to compile tarball for other >> platforms. I'm repackaging it into a gem that should be easy to install on >> Windows, Mac OSX, or Linux. (Hopefully... Feedback will be appreciated) >> >> You can get the code now on github at >> http://github.com/ryanmelt/qtbindings >> >> I'll have a gem ready in a couple days. >> >> For those who haven't heard of Qt... Its extremely nice, and relative >> similar to FOX. The learning curve to switching is not that high. There >> isn't nice RDoc documentation like Lyle put together for FxRuby, but the >> mapping from the C documentation to ruby is very easy. Best of all, its >> supported by a major company, Nokia, and isn't going anywhere. >> http://qt.nokia.com >> >> Ryan >> >> -----Original Message----- >> From: fxruby-users-bounces at rubyforge.org [mailto: >> fxruby-users-bounces at rubyforge.org] On Behalf Of Lyle Johnson >> Sent: Wednesday, August 04, 2010 10:15 AM >> To: fxruby-users at rubyforge.org >> Subject: Re: [fxruby-users] Moving On >> >> On Wed, Aug 4, 2010 at 10:14 AM, Ralph Shnelvar wrote: >> >> > What graphical platform would you recommend porting to? >> >> I don't have a recommendation as I don't really do any desktop GUI >> development with Ruby anymore. >> _______________________________________________ >> fxruby-users mailing list >> fxruby-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/fxruby-users >> >> >> >> This message and any enclosures are intended only for the addressee. >> Please >> notify the sender by email if you are not the intended recipient. If you >> are >> not the intended recipient, you may not use, copy, disclose, or distribute >> this >> message or its contents or enclosures to any other person and any such >> actions >> may be unlawful. Ball reserves the right to monitor and review all >> messages >> and enclosures sent to or from this email address. >> _______________________________________________ >> fxruby-users mailing list >> fxruby-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/fxruby-users >> >> >> >> This message and any enclosures are intended only for the addressee. >> Please >> notify the sender by email if you are not the intended recipient. If you >> are >> not the intended recipient, you may not use, copy, disclose, or distribute >> this >> message or its contents or enclosures to any other person and any such >> actions >> may be unlawful. Ball reserves the right to monitor and review all >> messages >> and enclosures sent to or from this email address. >> _______________________________________________ >> fxruby-users mailing list >> fxruby-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/fxruby-users >> > > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphs at dos32.com Fri Aug 13 16:34:39 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Fri, 13 Aug 2010 14:34:39 -0600 Subject: [fxruby-users] FXTextField: READONLY background is white Message-ID: <463072536.20100813143439@dos32.com> For a READONLY FXTextField the background is white. How do I turn it gray? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkinsella at ancillaryservices.com Fri Aug 13 16:40:25 2010 From: jkinsella at ancillaryservices.com (Joey Kinsella) Date: Fri, 13 Aug 2010 16:40:25 -0400 Subject: [fxruby-users] FXTextField: READONLY background is white In-Reply-To: <463072536.20100813143439@dos32.com> References: <463072536.20100813143439@dos32.com> Message-ID: I believe most, if not all FX widgets support the backColor attribute. myTextField.backColor = FXRGB(0xcc, 0xcc, 0xcc) On Fri, Aug 13, 2010 at 4:34 PM, Ralph Shnelvar wrote: > For a READONLY FXTextField the background is white. How do I turn it > gray? > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > -- If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or other use of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphs at dos32.com Sat Aug 14 10:22:39 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Sat, 14 Aug 2010 08:22:39 -0600 Subject: [fxruby-users] FXText & FRAME_SUNKEN Message-ID: <1742187691.20100814082239@dos32.com> FRAME_SUNKEN seems to work on FXTextField's. It does not appear to work on FXText. Is this by design? -------------- next part -------------- An HTML attachment was scrubbed... URL: From lyle at lylejohnson.name Sat Aug 14 16:59:18 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Sat, 14 Aug 2010 15:59:18 -0500 Subject: [fxruby-users] FXText & FRAME_SUNKEN In-Reply-To: <1742187691.20100814082239@dos32.com> References: <1742187691.20100814082239@dos32.com> Message-ID: <010FFCD8-D557-4A2B-82E8-E572B757DA10@lylejohnson.name> I don't think FXText inherits from FXFrame, so yes, it's by design. You just need to stick the FXText widget inside an FXHorizontal/vertical frame and set LAYOUT_FILL_XY on it. On Aug 14, 2010, at 9:22 AM, Ralph Shnelvar wrote: > FRAME_SUNKEN seems to work on FXTextField's. > > > > It does not appear to work on FXText. Is this by design? > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphs at dos32.com Sat Aug 14 20:02:35 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Sat, 14 Aug 2010 18:02:35 -0600 Subject: [fxruby-users] FXText & FRAME_SUNKEN In-Reply-To: <010FFCD8-D557-4A2B-82E8-E572B757DA10@lylejohnson.name> References: <1742187691.20100814082239@dos32.com> <010FFCD8-D557-4A2B-82E8-E572B757DA10@lylejohnson.name> Message-ID: <1307108530.20100814180235@dos32.com> Lyle, Saturday, August 14, 2010, 2:59:18 PM, you wrote: I don't think FXText inherits from FXFrame, so yes, it's by design. You just need to stick the FXText widget inside an FXHorizontal/vertical frame and set LAYOUT_FILL_XY on it. On Aug 14, 2010, at 9:22 AM, Ralph Shnelvar wrote: FRAME_SUNKEN seems to work on FXTextField's. It does not appear to work on FXText. Is this by design? _______________________________________________ fxruby-users mailing list fxruby-users at rubyforge.org http://rubyforge.org/mailman/listinfo/fxruby-users Thank you so much. Do you know off the top of your head if there is documentation for the hierarchy tree? Ralph -------------- next part -------------- An HTML attachment was scrubbed... URL: From lyle at lylejohnson.name Sun Aug 15 13:32:50 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Sun, 15 Aug 2010 12:32:50 -0500 Subject: [fxruby-users] FXText & FRAME_SUNKEN In-Reply-To: <1307108530.20100814180235@dos32.com> References: <1742187691.20100814082239@dos32.com> <010FFCD8-D557-4A2B-82E8-E572B757DA10@lylejohnson.name> <1307108530.20100814180235@dos32.com> Message-ID: <6A00554E-F681-4E9F-B6BA-D8159F53E124@lylejohnson.name> I assume this one's up to date: http://www.fox-toolkit.org/ref16/hierarchy.html On Aug 14, 2010, at 7:02 PM, Ralph Shnelvar wrote: > Lyle, > > > > > > Saturday, August 14, 2010, 2:59:18 PM, you wrote: > > > > > I don't think FXText inherits from FXFrame, so yes, it's by design. You just need to stick the FXText widget inside an FXHorizontal/vertical frame and set LAYOUT_FILL_XY on it. > > > > On Aug 14, 2010, at 9:22 AM, Ralph Shnelvar wrote: > > > > FRAME_SUNKEN seems to work on FXTextField's. > > > > It does not appear to work on FXText. Is this by design? > > _______________________________________________ > > fxruby-users mailing list > > fxruby-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/fxruby-users > > > > > > Thank you so much. > > > > Do you know off the top of your head if there is documentation for the hierarchy tree? > > > > Ralph > > > > > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphs at dos32.com Tue Aug 17 09:05:39 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Tue, 17 Aug 2010 07:05:39 -0600 Subject: [fxruby-users] Getting size of desktop Message-ID: <1848371677.20100817070539@dos32.com> How can I get the size of the desktop on which I can place an FXRuby Window? What I mean: When one has several monitors on a system and one "extend the desktop onto this monitor" .... this, of course, increases the real estate onto which one can drop an FXRuby window. In my app, I have a configuration file giving the position of the app position(xx, yy, ww, hh) show() This does a nice job of placing the window where I want it. If I move my configuration file from one machine that has several monitors to my laptop, the window may be placed somewhere in the ozone. So ... how can I get the size of the desktop so that I can compute that the window will be dragable and if not, can then do a show(PLACEMENT_SCREEN) to center the FXRuby window on the center of the smaller desktop on my laptop? Ralph -------------- next part -------------- An HTML attachment was scrubbed... URL: From dglnz at yahoo.com Tue Aug 17 17:21:45 2010 From: dglnz at yahoo.com (dave L) Date: Tue, 17 Aug 2010 14:21:45 -0700 (PDT) Subject: [fxruby-users] Getting size of desktop In-Reply-To: <1848371677.20100817070539@dos32.com> Message-ID: <17466.27755.qm@web30001.mail.mud.yahoo.com> Hi Ralph, I think by looking at the Rdocs you might get some pointers. (just been their) and think maybe FXWindow may havew something you are looking for - .default_height and .default_width are two methods that may help. also you have to realise that the screen resolution has to be right else you're program window will be off the screen too. If you're using windows then their maybe a system command or registry setting to read in that would give you the screen size. HTH, Dave. --- On Wed, 18/8/10, Ralph Shnelvar wrote: > From: Ralph Shnelvar > Subject: [fxruby-users] Getting size of desktop > To: fxruby-users at rubyforge.org > Received: Wednesday, 18 August, 2010, 1:05 AM > > Getting size of desktop > > > > > > > How can I get the size of the desktop on which I can > place an FXRuby Window? > > > > > What I mean: > > > When one has several monitors on a system and one > "extend the desktop onto this monitor" .... this, > of course, increases the real estate onto which one can drop > an FXRuby window. > > > In my app, I have a configuration file giving the > position of the app > ? ? ? position(xx, yy, ww, hh) > ? ? ? show() > This does a nice job of placing the window where I want > it. > > > If I move my configuration file from one machine that > has several monitors to my laptop, the window may be placed > somewhere in the ozone. > > > So ... how can I get the size of the desktop so that I > can compute that the window will be dragable and if not, > ?can then do a > ? ? ? show(PLACEMENT_SCREEN) > to center the FXRuby window on the center of the smaller > desktop on my laptop? > > > Ralph > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users From ralphs at dos32.com Tue Aug 17 18:29:27 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Tue, 17 Aug 2010 16:29:27 -0600 Subject: [fxruby-users] SEL_UPDATE not responsive Message-ID: <707597522.20100817162927@dos32.com> 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 or less ... similar to splitter.rb (just a lot more widgets and buttons) and a single SEL_UPDATE block with almost nothing in it ... and the block gets trigger once every four seconds rather than 4 times a second. That's unacceptably slow. How can I tell what's causing SEL _UPDATE to be so slow? (CPU usage is at 4%. I don't think I'm in a heavy loop.) -------------- next part -------------- An HTML attachment was scrubbed... URL: From michel at demazure.com Wed Aug 18 05:24:34 2010 From: michel at demazure.com (Michel Demazure) Date: Wed, 18 Aug 2010 11:24:34 +0200 Subject: [fxruby-users] SEL_UPDATE not responsive In-Reply-To: <707597522.20100817162927@dos32.com> References: <707597522.20100817162927@dos32.com> Message-ID: <000c01cb3eb7$2bcfd850$836f88f0$@com> I know this phenomenon. You have to forbid threads. There is a fxruby command for that. I forgot the exact syntax. Michel Demazure michel at demazure.com De : fxruby-users-bounces at rubyforge.org [mailto:fxruby-users-bounces at rubyforge.org] De la part de Ralph Shnelvar Envoy? : mercredi 18 ao?t 2010 00:29 ? : fxruby-users at rubyforge.org Objet : [fxruby-users] 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 or less ... similar to splitter.rb (just a lot more widgets and buttons) and a single SEL_UPDATE block with almost nothing in it ... and the block gets trigger once every four seconds rather than 4 times a second. That's unacceptably slow. How can I tell what's causing SEL _UPDATE to be so slow? (CPU usage is at 4%. I don't think I'm in a heavy loop.) -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphs at dos32.com Wed Aug 18 08:42:41 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Wed, 18 Aug 2010 06:42:41 -0600 Subject: [fxruby-users] Fwd: RE: Re[2]: SEL_UPDATE not responsive In-Reply-To: <001d01cb3ebf$cf78b0a0$6e6a11e0$@com> References: <707597522.20100817162927@dos32.com> <000c01cb3eb7$2bcfd850$836f88f0$@com> <1927983737.20100818035317@dos32.com> <001d01cb3ebf$cf78b0a0$6e6a11e0$@com> Message-ID: <130655880.20100818064241@dos32.com> This is a forwarded message From: Michel Demazure To: "'Ralph Shnelvar'" Date: Wednesday, August 18, 2010, 4:26:24 AM Subject: [fxruby-users] SEL_UPDATE not responsive ===8<==============Original message text=============== Yes, that?s the command. It solved my problems. Without it, for instance, the ?tips? took five seconds to appear when hovering over buttons. MD. De : Ralph Shnelvar [mailto:ralphs at dos32.com] Envoy? : mercredi 18 ao?t 2010 11:53 ? : Michel Demazure Objet : Re[2]: [fxruby-users] SEL_UPDATE not responsive Michel, I think the syntax is FXApp#threadsEnabled=false I have not tried this because, while waiting for an answer, I came up with a workaround that I like. Instead of using SEL_UPDATE, I create a getApp().addTimeout(500, method(:timeoutHandler), :repeat => true) . . . def timeoutHandler(sender, sel, ptr) #puts "#{__FILE__} @ #{__LINE__} #{Time.now}" # do something ever .5 second end The "sender, sel, ptr" won't be the same as in SEL_UPDATE, but that is a minor inconvenience compared to the added flexibility. Plus, converting the logic from SEL_UPDATE to a timeout handler was, for me, very easy and straightforward. Ralph Wednesday, August 18, 2010, 3:24:34 AM, you wrote: I know this phenomenon. You have to forbid threads. There is a fxruby command for that. I forgot the exact syntax. Michel Demazure michel at demazure.com De : fxruby-users-bounces at rubyforge.org [mailto:fxruby-users-bounces at rubyforge.org] De la part de Ralph Shnelvar Envoy? : mercredi 18 ao?t 2010 00:29 ? : fxruby-users at rubyforge.org Objet : [fxruby-users] 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 or less ... similar to splitter.rb (just a lot more widgets and buttons) and a single SEL_UPDATE block with almost nothing in it ... and the block gets trigger once every four seconds rather than 4 times a second. That's unacceptably slow. How can I tell what's causing SEL _UPDATE to be so slow? (CPU usage is at 4%. I don't think I'm in a heavy loop.) -- Best regards, Ralph mailto:ralphs at dos32.com ===8<===========End of original message text=========== -- Best regards, Ralph mailto:ralphs at dos32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphs at dos32.com Thu Aug 19 10:27:55 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Thu, 19 Aug 2010 08:27:55 -0600 Subject: [fxruby-users] Making a text filed editable and not editable dynamically Message-ID: <168574869.20100819082755@dos32.com> I want to set the backcolor of an editable text field ... and it does not seem to work. I have a TEXTFIELD_READONLY FXTextFiled and that seems to allow me to set the backcolor. So, how can I make an FXTextField READONLY or not READONLY on the fly? -------------- next part -------------- An HTML attachment was scrubbed... URL: From lyle at lylejohnson.name Thu Aug 19 11:27:41 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Thu, 19 Aug 2010 10:27:41 -0500 Subject: [fxruby-users] Making a text filed editable and not editable dynamically In-Reply-To: <168574869.20100819082755@dos32.com> References: <168574869.20100819082755@dos32.com> Message-ID: On Thu, Aug 19, 2010 at 9:27 AM, Ralph Shnelvar wrote: > So, how can I make an FXTextField READONLY or not READONLY on the fly? Setting the editable attribute to true/false should do this. Is that not working? See http://www.fxruby.org/doc/api/classes/Fox/FXTextField.html. From ralphs at dos32.com Thu Aug 19 12:50:25 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Thu, 19 Aug 2010 10:50:25 -0600 Subject: [fxruby-users] Making a text filed editable and not editable dynamically In-Reply-To: References: <168574869.20100819082755@dos32.com> Message-ID: <1738106663.20100819105025@dos32.com> Lyle, Thank you so much for pointing that out! Until now, I didn't get the gestalt of how the attributes work. And now the backcolor works! Ralph Thursday, August 19, 2010, 9:27:41 AM, you wrote: LJ> On Thu, Aug 19, 2010 at 9:27 AM, Ralph Shnelvar wrote: >> So, how can I make an FXTextField READONLY or not READONLY on the fly? LJ> Setting the editable attribute to true/false should do this. Is that LJ> not working? LJ> See http://www.fxruby.org/doc/api/classes/Fox/FXTextField.html. LJ> _______________________________________________ LJ> fxruby-users mailing list LJ> fxruby-users at rubyforge.org LJ> http://rubyforge.org/mailman/listinfo/fxruby-users -- Best regards, Ralph mailto:ralphs at dos32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphs at dos32.com Sat Aug 21 22:38:44 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Sat, 21 Aug 2010 20:38:44 -0600 Subject: [fxruby-users] FXFileDialog and directoreis Message-ID: <206254289.20100821203844@dos32.com> Assume a directory d:\XXX exists. How can I get FXFileDialog to open the root directory and position the selection on XXX? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mitfik at gmail.com Sun Aug 22 05:13:36 2010 From: mitfik at gmail.com (Robert Mitwicki) Date: Sun, 22 Aug 2010 11:13:36 +0200 Subject: [fxruby-users] FXFileDialog and directoreis In-Reply-To: <206254289.20100821203844@dos32.com> References: <206254289.20100821203844@dos32.com> Message-ID: Hi Ralph, use this method: getOpenFilename(owner, caption, path, patterns="*", initial=0) and set third parameter on "d:\XXX" so You can use it like this: FXFileDialog.getOpenFilename(self, "Open file", "d:\XXX", pattern,0) so the default directory will be d: and XXX will be selected. 2010/8/22 Ralph Shnelvar : > Assume a directory d:\XXX exists. > > How can I get FXFileDialog to open the root directory and position the > selection on XXX? > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > -- Robert Mitwicki Kontakt: ? ?? jid: mitfik at jabber.org ? ?? e-mail: mitfik at gmail.com ------------------------------------------ www.partiapiratow.org.pl From ralphs at dos32.com Sun Aug 22 17:03:43 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Sun, 22 Aug 2010 15:03:43 -0600 Subject: [fxruby-users] fileBoxStyle Message-ID: <1894809872.20100822150343@dos32.com> In the FXFileDialog documentation there is a reference to and attribute called fileBoxStyle. I can find no documentation as to what this does or what the valid values for fileBoxStyle should be. Anyone know? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mitfik at gmail.com Tue Aug 24 14:17:04 2010 From: mitfik at gmail.com (Robert Mitwicki) Date: Tue, 24 Aug 2010 20:17:04 +0200 Subject: [fxruby-users] fileBoxStyle In-Reply-To: <1894809872.20100822150343@dos32.com> References: <1894809872.20100822150343@dos32.com> Message-ID: Hi, ICONLIST_EXTENDEDSELECT = 0, /// Extended selection mode ICONLIST_SINGLESELECT = 0x00100000, /// At most one selected item ICONLIST_BROWSESELECT = 0x00200000, /// Always exactly one selected item ICONLIST_MULTIPLESELECT = 0x00300000, /// Multiple selection mode ICONLIST_AUTOSIZE = 0x00400000, /// Automatically size item spacing ICONLIST_DETAILED = 0, /// List mode ICONLIST_MINI_ICONS = 0x00800000, /// Mini Icon mode ICONLIST_BIG_ICONS = 0x01000000, /// Big Icon mode ICONLIST_ROWS = 0, /// Row-wise mode ICONLIST_COLUMNS = 0x02000000, /// Column-wise mode ICONLIST_NORMAL = ICONLIST_EXTENDEDSELECT This are all possibilities to style Yout file box just use it like: fd.fileBoxStyle = ICONLIST_BIG_ICONS I think all of this You can also manually chose from FileDialogBox window. Regard 2010/8/22 Ralph Shnelvar : > In the FXFileDialog documentation there is a reference to and attribute > called fileBoxStyle. > > I can find no documentation as to what this does or what the valid values > for fileBoxStyle should be. > > Anyone know? > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > -- Robert Mitwicki Kontakt: ? ?? jid: mitfik at jabber.org ? ?? e-mail: mitfik at gmail.com ------------------------------------------ www.partiapiratow.org.pl From ralphs at dos32.com Tue Aug 24 19:02:51 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Tue, 24 Aug 2010 17:02:51 -0600 Subject: [fxruby-users] Don't do nothin' .... Message-ID: <124744897.20100824170251@dos32.com> As I understand it ... a modal dialog box (e.g. FXMessageBox) is "modal" with respect to user input and not "modal" with respect to other events happening in the system. What I want/need ... and it simply may not be possible ... is for all event processing to stop ... except the ability to move the dialog around and for the user to click on one of the dialog buttons and then for all the events to start again. Is this possible? Basically, all I want is for "everything" to stop until the user responds. -------------- next part -------------- An HTML attachment was scrubbed... URL: From leslieviljoen at gmail.com Wed Aug 25 05:56:05 2010 From: leslieviljoen at gmail.com (Leslie Viljoen) Date: Wed, 25 Aug 2010 11:56:05 +0200 Subject: [fxruby-users] Don't do nothin' .... In-Reply-To: <124744897.20100824170251@dos32.com> References: <124744897.20100824170251@dos32.com> Message-ID: On Wed, Aug 25, 2010 at 1:02 AM, Ralph Shnelvar wrote: > As I understand it ... a modal dialog box (e.g. FXMessageBox) is "modal" > with respect to user input and not "modal" with respect to other events > happening in the system. > > What I want/need ... and it simply may not be possible ... is for all event > processing to stop ... except the ability to move the dialog around and for > the user to click on one of the dialog buttons and then for all the events > to start again. > > Is this possible? ?Basically, all I want is for "everything" to stop until > the user responds. Why? From ralphs at dos32.com Fri Aug 27 13:01:41 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Fri, 27 Aug 2010 11:01:41 -0600 Subject: [fxruby-users] How to get window focus? Message-ID: <310078467.20100827110141@dos32.com> Is there a way to easily determine which window in your app WILL HAVE focus when you return to the app? I have a timeout that triggers several times a second. When I click on a widow not in my app ... focus is lost ... or at least app.focusWindow reports nil. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphs at dos32.com Mon Aug 30 13:45:49 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Mon, 30 Aug 2010 11:45:49 -0600 Subject: [fxruby-users] FXRuby & 1.9 Message-ID: <941576043.20100830114549@dos32.com> Is FxRuby compatible with Ruby 1.9.2? -------------- next part -------------- An HTML attachment was scrubbed... URL: