From ralphs at dos32.com Fri Sep 3 08:57:39 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Fri, 3 Sep 2010 06:57:39 -0600 Subject: [fxruby-users] removeTimeout in a timeout handler Message-ID: <943340246.20100903065739@dos32.com> I have timeout_ = @app.addTimeout(milliseconds, method_, :repeat => true) My analysis shows that removeTimeout(timeout_) does not seem to work inside of the method_. In other words, you can't remove a repeating timeout inside a timeout. Could someone confirm, please. I have worked around this problem by schedule a chore to remove the timeout ... but that seems ugly. Anyone have a better solution? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dglnz at yahoo.com Sat Sep 4 17:56:46 2010 From: dglnz at yahoo.com (dave L) Date: Sat, 4 Sep 2010 14:56:46 -0700 (PDT) Subject: [fxruby-users] removeTimeout in a timeout handler In-Reply-To: <943340246.20100903065739@dos32.com> References: <943340246.20100903065739@dos32.com> Message-ID: <198694.36987.qm@web30003.mail.mud.yahoo.com> From: Ralph Shnelvar To: fxruby-users at rubyforge.org Sent: Sat, 4 September, 2010 12:57:39 AM Subject: [fxruby-users] removeTimeout in a timeout handler removeTimeout in a timeout handler I have timeout_ = @app.addTimeout(milliseconds, method_, :repeat => true) My analysis shows that removeTimeout(timeout_) does not seem to work inside of the method_. In other words, you can't remove a repeating timeout inside a timeout. Could someone confirm, please. I have worked around this problem by schedule a chore to remove the timeout ... but that seems ugly. Anyone have a better solution? in code I have this when a user presses a set of keys (escape key lets say) do it's a test on @timer Keypress method handler case pressed when 65535, 65307, 65360 , 65365..65367, 65379 # Page Up, Page Down Home, End, Insert, Delete and Escape if @timer == false $fxapp.addTimeout(2000*12, :repeat => true) do |sender, sel, data| else $fxapp.removeTimeout(@timeout) @timer = false end end Well that's how I handle it HTH. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mitfik at gmail.com Sun Sep 5 16:23:22 2010 From: mitfik at gmail.com (Robert Mitwicki) Date: Sun, 5 Sep 2010 22:23:22 +0200 Subject: [fxruby-users] Adding dynamic widget Message-ID: Hi, I looking for good solution for this functionality: I have application with one text field and one button widget When I click on the button I would like to add next text field, and so on ... So I need add new widget on form during application working. I will be grateful for any example ... thx. -- Robert Mitwicki Kontakt: ? ?? jid: mitfik at jabber.org ? ?? e-mail: mitfik at gmail.com ------------------------------------------ www.partiapiratow.org.pl From ralphs at dos32.com Mon Sep 6 03:51:27 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Mon, 6 Sep 2010 01:51:27 -0600 Subject: [fxruby-users] Multiline text widget with text wrap without scroll bars? Message-ID: <388306704.20100906015127@dos32.com> Does a multiline widget with text wrap capability exist that does not have scroll bars? I attempted to set the visible attribute to the child scroll bars to false in an FXText tool .... but that does not seem to work. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dglnz at yahoo.com Mon Sep 6 04:48:02 2010 From: dglnz at yahoo.com (dave L) Date: Mon, 6 Sep 2010 01:48:02 -0700 (PDT) Subject: [fxruby-users] Multiline text widget with text wrap without scroll bars? In-Reply-To: <388306704.20100906015127@dos32.com> References: <388306704.20100906015127@dos32.com> Message-ID: <985750.34458.qm@web30006.mail.mud.yahoo.com> the FXtext tool does have a wrap option, Have you looked for that? checked out google ? or even gone to http://www.fxruby.org/doc/examples.html check out the examples their? below is a snippet from the babelfish.rb script. FXText.new(sunkenFrame, :opts => LAYOUT_FILL_X|LAYOUT_FILL_Y) last tip is this www.fxruby.org/doc/api/classes/Fox/FXText.html HTH Dave. ________________________________ From: Ralph Shnelvar To: fxruby-users at rubyforge.org Sent: Mon, 6 September, 2010 7:51:27 PM Subject: [fxruby-users] Multiline text widget with text wrap without scroll bars? Multiline text widget with text wrap without scroll bars? Does a multiline widget with text wrap capability exist that does not have scroll bars? I attempted to set the visible attribute to the child scroll bars to false in an FXText tool .... but that does not seem to work. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matma.rex at gmail.com Mon Sep 6 12:07:51 2010 From: matma.rex at gmail.com (=?UTF-8?Q?Bartosz_Dziewo=C5=84ski?=) Date: Mon, 6 Sep 2010 18:07:51 +0200 Subject: [fxruby-users] Adding dynamic widget In-Reply-To: References: Message-ID: 2010/9/5 Robert Mitwicki : > Hi, > > I looking for good solution for this functionality: > > I have application with one text field and one button widget > > When I click on the button I would like to add next text field, and so on ... You connect a click event handler in regular way and then add widgets the regular way as well. You just need to call "recalc" or "refresh" (or both; check that in the docs or just try which works) on parent widget (probably the main window) later. -- Matma Rex - http://matma-rex.prv.pl/ From ralphs at dos32.com Mon Sep 6 12:54:08 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Mon, 6 Sep 2010 10:54:08 -0600 Subject: [fxruby-users] Adding dynamic widget In-Reply-To: References: Message-ID: <16838514.20100906105408@dos32.com> Monday, September 6, 2010, 10:07:51 AM, you wrote: BD> 2010/9/5 Robert Mitwicki : >> Hi, >> I looking for good solution for this functionality: >> I have application with one text field and one button widget >> When I click on the button I would like to add next text field, and so on ... BD> You connect a click event handler in regular way and then add widgets BD> the regular way as well. You just need to call "recalc" or "refresh" BD> (or both; check that in the docs or just try which works) on parent BD> widget (probably the main window) later. The thing that causes most bugs with dynamically created widgets is a failure to call "create". I highly recommend Lyle Johnson's (e)Book for a full explanation about how to do what you want. Btw ... the creation of dynamically created widgets is beyond my skill set or I would provide an example. I have not, as yet, gotten that to work. Lyle, can I post the example from your book? Yuo'll want to focus on section 7.7 of his book: Client-Side vs. Server-Side Objects Ralph -------------- next part -------------- An HTML attachment was scrubbed... URL: From meinrad.recheis at gmail.com Tue Sep 7 02:51:55 2010 From: meinrad.recheis at gmail.com (Meinrad Recheis) Date: Tue, 7 Sep 2010 08:51:55 +0200 Subject: [fxruby-users] Adding dynamic widget In-Reply-To: References: Message-ID: On Sun, Sep 5, 2010 at 10:23 PM, Robert Mitwicki wrote: > Hi, > > I looking for good solution for this functionality: > > I have application with one text field and one button widget > > When I click on the button I would like to add next text field, and so on > ... > > So I need add new widget on form during application working. > I will be grateful for any example ... > You might want to take a look at foxguib source code which does dynamic manipulation of the widget tree all the time. Tip, search for "relink" (if I remember correctly ;) http://fox-tool.rubyforge.org/ hth, -- henon > > thx. > > > > > -- > Robert Mitwicki > Kontakt: > jid: mitfik at jabber.org > e-mail: mitfik at gmail.com > ------------------------------------------ > > www.partiapiratow.org.pl > _______________________________________________ > 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 philippe.lang at attiksystem.ch Tue Sep 7 02:09:31 2010 From: philippe.lang at attiksystem.ch (Philippe Lang) Date: Tue, 7 Sep 2010 08:09:31 +0200 Subject: [fxruby-users] Adding dynamic widget In-Reply-To: References: Message-ID: <8AE5A725DAF7364F97FF75D99E45B6575B9840CD@SBS1.attiksystem.local> Hi Robert, Look for a post called "Adding / Deleting controls dynamically", there is the example you are searching for. Best regards, Philippe Lang ------------------------------------------------------------- Attik System web : http://www.attiksystem.ch Philippe Lang phone: +41 26 422 13 75 rte de la Fonderie 2 gsm : +41 79 351 49 94 1700 Fribourg pgp : http://keyserver.pgp.com > -----Message d'origine----- > De?: fxruby-users-bounces at rubyforge.org [mailto:fxruby-users- > bounces at rubyforge.org] De la part de Robert Mitwicki > Envoy??: dimanche 5 septembre 2010 22:23 > ??: fxruby-users at rubyforge.org > Objet?: [fxruby-users] Adding dynamic widget > > Hi, > > I looking for good solution for this functionality: > > I have application with one text field and one button widget > > When I click on the button I would like to add next text field, and so > on ... > > So I need add new widget on form during application working. > I will be grateful for any example ... > > thx. > > > > > -- > Robert Mitwicki > Kontakt: > ? ?? jid: mitfik at jabber.org > ? ?? e-mail: mitfik at gmail.com > ------------------------------------------ > > www.partiapiratow.org.pl > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 474 bytes Desc: not available URL: From ralphs at dos32.com Tue Sep 7 16:07:13 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Tue, 7 Sep 2010 14:07:13 -0600 Subject: [fxruby-users] Multiline text widget with text wrap without scroll bars? In-Reply-To: <985750.34458.qm@web30006.mail.mud.yahoo.com> References: <388306704.20100906015127@dos32.com> <985750.34458.qm@web30006.mail.mud.yahoo.com> Message-ID: <835234544.20100907140713@dos32.com> dave, Of course I tried. I spent hours. I have scoured the 'Net, read Lyle's book, looked at the hierarchies. Nothing I have tried has turned off the damned scroll bars in a FXText object. I, of course, tried to run babelfish.rb. Of course, it wouldn't run ... - - - babelfish.rb:4:in `require': no such file to load -- tranexp (LoadError) from babelfish.rb:4 - - - So I installed the gem. Reran ... - - - babelfish.rb:4:in `require': no such file to load -- tranexp (LoadError) from babelfish.rb:4 - - - A mystery since gem list --local produces (in part) tranexp (1.0.1) I don't know what screen output babelfish is supposed to generate, but I am simply unable to create a FXText object that does not present scroll bars to the user. Ralph Monday, September 6, 2010, 2:48:02 AM, you wrote: the FXtext tool does have a wrap option, Have you looked for that? checked out google ? or even gone to http://www.fxruby.org/doc/examples.html check out the examples their? below is a snippet from the babelfish.rb script. FXText.new(sunkenFrame, :opts => LAYOUT_FILL_X|LAYOUT_FILL_Y) last tip is this www.fxruby.org/doc/api/classes/Fox/FXText.html HTH Dave. From: Ralph Shnelvar To: fxruby-users at rubyforge.org Sent: Mon, 6 September, 2010 7:51:27 PM Subject: [fxruby-users] Multiline text widget with text wrap without scroll bars? Does a multiline widget with text wrap capability exist that does not have scroll bars? I attempted to set the visible attribute to the child scroll bars to false in an FXText tool .... but that does not seem to work. -- Best regards, Ralph mailto:ralphs at dos32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lyle at lylejohnson.name Tue Sep 7 16:43:10 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Tue, 7 Sep 2010 15:43:10 -0500 Subject: [fxruby-users] Multiline text widget with text wrap without scroll bars? In-Reply-To: <835234544.20100907140713@dos32.com> References: <388306704.20100906015127@dos32.com> <985750.34458.qm@web30006.mail.mud.yahoo.com> <835234544.20100907140713@dos32.com> Message-ID: On Tue, Sep 7, 2010 at 3:07 PM, Ralph Shnelvar wrote: > Does a multiline widget with text wrap capability exist that does not have scroll bars? > > I attempted to set the visible attribute to the child scroll bars to false in an FXText tool .... but that does not seem to work. The code for my first attempt, just seeing what an FXText with wordwrap turned on looks like, is here: http://gist.github.com/569051 When I run this one, I don't get a horizontal scrollbar but I do see a vertical one. So I looked at the API documentation and saw that FXText is a subclass of FXScrollArea, then looked at that class' documentation to see what its options are. The code for my second attempt is here: http://gist.github.com/569058 The only difference here is in the options passed to FXText.new (I mixed-in VSCROLLER_NEVER to turn off the vertical scrollbar). When I run this version, I don't get either scrollbar. Hope this helps, Lyle From ralphs at dos32.com Wed Sep 8 22:25:04 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Wed, 8 Sep 2010 20:25:04 -0600 Subject: [fxruby-users] Multiline text widget with text wrap without scroll bars? In-Reply-To: References: <388306704.20100906015127@dos32.com> <985750.34458.qm@web30006.mail.mud.yahoo.com> <835234544.20100907140713@dos32.com> Message-ID: <712645771.20100908202504@dos32.com> Lyle, It isn't perfectly what I want ... but it got close. Thank you ever so much! Ralph Tuesday, September 7, 2010, 2:43:10 PM, you wrote: LJ> On Tue, Sep 7, 2010 at 3:07 PM, Ralph Shnelvar wrote: >> Does a multiline widget with text wrap capability exist that does not have scroll bars? >> I attempted to set the visible attribute to the child scroll bars to false in an FXText tool .... but that does not seem to work. LJ> The code for my first attempt, just seeing what an FXText with LJ> wordwrap turned on looks like, is here: LJ> http://gist.github.com/569051 LJ> When I run this one, I don't get a horizontal scrollbar but I do see a LJ> vertical one. So I looked at the API documentation and saw that FXText LJ> is a subclass of FXScrollArea, then looked at that class' LJ> documentation to see what its options are. The code for my second LJ> attempt is here: LJ> http://gist.github.com/569058 LJ> The only difference here is in the options passed to FXText.new (I LJ> mixed-in VSCROLLER_NEVER to turn off the vertical scrollbar). When I LJ> run this version, I don't get either scrollbar. LJ> Hope this helps, LJ> Lyle 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 mitfik at gmail.com Thu Sep 9 11:29:34 2010 From: mitfik at gmail.com (Robert Mitwicki) Date: Thu, 9 Sep 2010 17:29:34 +0200 Subject: [fxruby-users] Adding dynamic widget In-Reply-To: <8AE5A725DAF7364F97FF75D99E45B6575B9840CD@SBS1.attiksystem.local> References: <8AE5A725DAF7364F97FF75D99E45B6575B9840CD@SBS1.attiksystem.local> Message-ID: Thanks a lot this post help me a lot "Adding / Deleting controls dynamically" 2010/9/7 Philippe Lang : > Hi Robert, > > Look for a post called "Adding / Deleting controls dynamically", there is the example you are searching for. > > Best regards, > > Philippe Lang > > ------------------------------------------------------------- > Attik System ? ? ? ? ? ? ?web ?: http://www.attiksystem.ch > Philippe Lang ? ? ? ? ? ? phone: +41 26 422 13 75 > rte de la Fonderie 2 ? ? ?gsm ?: +41 79 351 49 94 > 1700 Fribourg ? ? ? ? ? ? pgp ?: http://keyserver.pgp.com > > >> -----Message d'origine----- >> De?: fxruby-users-bounces at rubyforge.org [mailto:fxruby-users- >> bounces at rubyforge.org] De la part de Robert Mitwicki >> Envoy??: dimanche 5 septembre 2010 22:23 >> ??: fxruby-users at rubyforge.org >> Objet?: [fxruby-users] Adding dynamic widget >> >> Hi, >> >> I looking for good solution for this functionality: >> >> I have application with one text field and one button widget >> >> When I click on the button I would like to add next text field, and so >> on ... >> >> So I need add new widget on form during application working. >> I will be grateful for any example ... >> >> thx. >> >> >> >> >> -- >> Robert Mitwicki >> Kontakt: >> ? ?? jid: mitfik at jabber.org >> ? ?? e-mail: mitfik at gmail.com >> ------------------------------------------ >> >> www.partiapiratow.org.pl >> _______________________________________________ >> 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 > -- Robert Mitwicki Kontakt: ? ?? jid: mitfik at jabber.org ? ?? e-mail: mitfik at gmail.com ------------------------------------------ www.partiapiratow.org.pl From lyle at lylejohnson.name Thu Sep 16 07:49:40 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Thu, 16 Sep 2010 06:49:40 -0500 Subject: [fxruby-users] FOX In-Reply-To: References: Message-ID: On Thu, Sep 16, 2010 at 1:35 AM, Mohammed Rashad wrote: > I am going to start a project in C++ or Ruby (not yet decided). First > I choose Qt for gui but latter I am impressed with FOX and also FXRuby. > I had contributed to some opensource projects like GRASS GIS and created two > projects on sourceforge. > From you blog I heard that you signed off from FOX and FXRuby and also FOX > is dead. I would like to maintain FXRuby and FXpy bindings. Great! > What should I do to be the maintainer and coordinator of FOX bindings for > python and Ruby.? Can you give me spark or start for becoming the maintainer > of FOX bindings? The first thing I'd do is reach out to the community (via the foxgui-users and fxruby-users mailing lists) to see if anyone else wanted to help. This was a mistake I made with FXRuby, not doing more to involve other potential contributors. Maintaining a library like FXRuby is a lot of work for one person to do on their own. Around the same time, though, I'd start by getting to know how the code works. I would set up my build and development environment, and make sure that I could build FXRuby from source code. After that I'd need to become pretty intimately familiar with FOX, C++, Ruby (and its extension API), and SWIG, if I wasn't already. After I'd done those things, or maybe even sooner, I'd fork the project on FXRuby and start looking for little bugs to fix, or features to add. I would continue to reach out to the community, to see if anyone else wanted to pitch in and help. Eventually, I'd work my way up to making a new release of the code. Community involvement can be especially helpful here, in terms of getting the ports done. For example, if I worked primarily on Linux, I'd see if someone else was willing to make sure it's working properly on Windows or OS X. Over time, if I was successful, the world would come to recognize my fork of FXRuby as the "good" one, and that's the one that they'd all use. > Is FOX c++ gui better than Qt gui. ? I have never used Qt and am therefore unqualified to answer this question. Hope this helps, Lyle From lyle at lylejohnson.name Thu Sep 16 07:51:10 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Thu, 16 Sep 2010 06:51:10 -0500 Subject: [fxruby-users] FOX In-Reply-To: References: Message-ID: On Thu, Sep 16, 2010 at 6:49 AM, Lyle Johnson wrote: > After I'd done those things, or maybe even sooner, I'd fork the > project on FXRuby and start looking for little bugs to fix, or > features to add. Ah, a typo. That of course should read, "I'd fork the project on GitHub...". From bjorn.bergqvist at gmail.com Thu Sep 16 08:35:26 2010 From: bjorn.bergqvist at gmail.com (=?ISO-8859-1?Q?Bj=F6rn_Bergqvist?=) Date: Thu, 16 Sep 2010 14:35:26 +0200 Subject: [fxruby-users] [Foxgui-users] FOX In-Reply-To: References: Message-ID: Great news! Bj?rn 2010/9/16 Lyle Johnson > On Thu, Sep 16, 2010 at 1:35 AM, Mohammed Rashad > wrote: > > > I am going to start a project in C++ or Ruby (not yet decided). First > > I choose Qt for gui but latter I am impressed with FOX and also FXRuby. > > I had contributed to some opensource projects like GRASS GIS and created > two > > projects on sourceforge. > > From you blog I heard that you signed off from FOX and FXRuby and also > FOX > > is dead. I would like to maintain FXRuby and FXpy bindings. > > Great! > > > What should I do to be the maintainer and coordinator of FOX bindings for > > python and Ruby.? Can you give me spark or start for becoming the > maintainer > > of FOX bindings? > > The first thing I'd do is reach out to the community (via the > foxgui-users and fxruby-users mailing lists) to see if anyone else > wanted to help. This was a mistake I made with FXRuby, not doing more > to involve other potential contributors. Maintaining a library like > FXRuby is a lot of work for one person to do on their own. > > Around the same time, though, I'd start by getting to know how the > code works. I would set up my build and development environment, and > make sure that I could build FXRuby from source code. After that I'd > need to become pretty intimately familiar with FOX, C++, Ruby (and its > extension API), and SWIG, if I wasn't already. > > After I'd done those things, or maybe even sooner, I'd fork the > project on FXRuby and start looking for little bugs to fix, or > features to add. I would continue to reach out to the community, to > see if anyone else wanted to pitch in and help. Eventually, I'd work > my way up to making a new release of the code. Community involvement > can be especially helpful here, in terms of getting the ports done. > For example, if I worked primarily on Linux, I'd see if someone else > was willing to make sure it's working properly on Windows or OS X. > > Over time, if I was successful, the world would come to recognize my > fork of FXRuby as the "good" one, and that's the one that they'd all > use. > > > Is FOX c++ gui better than Qt gui. ? > > I have never used Qt and am therefore unqualified to answer this question. > > Hope this helps, > > Lyle > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Foxgui-users mailing list > Foxgui-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/foxgui-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lyle at lylejohnson.name Thu Sep 16 08:38:01 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Thu, 16 Sep 2010 07:38:01 -0500 Subject: [fxruby-users] [Foxgui-users] FOX In-Reply-To: References: Message-ID: <8B738DD9-9534-49C7-A68A-C5FB38F4771F@lylejohnson.name> On Sep 16, 2010, at 7:05 AM, Mohammed Rashad wrote: > Okand Thanks for your valuable reply. From where can I get right access? > I am ready to maintain ruby and python bindings i am good with swig too :) If you let me know your SourceForge user name, I'll be glad to add you as a developer on FXPy. And of course, since you're going to be forking FXRuby on GitHub, you don't need anything from me on that. From lyle at lylejohnson.name Thu Sep 16 09:15:32 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Thu, 16 Sep 2010 08:15:32 -0500 Subject: [fxruby-users] [Foxgui-users] FOX In-Reply-To: References: <8B738DD9-9534-49C7-A68A-C5FB38F4771F@lylejohnson.name> Message-ID: <40FF4C8B-56BC-462E-BCDA-76E9E59D50A7@lylejohnson.name> On Sep 16, 2010, at 8:06 AM, Mohammed Rashad wrote: > my sourceforge id is rashadkm OK, I've just added you as a developer on the FXPy project at SourceForge. > Why id not needed for FXRuby? Dont know that what I am asking.. :) FXRuby is hosted on GitHub (http://github.com/), not SourceForge. You will need a GitHub account when you get ready to create your fork of FXRuby, but you do not need my permission or assistance to do that. If you are unfamiliar with how Git and GitHub work, you should start at this page: http://help.github.com/ and then when you're ready to fork FXRuby, to start working on your fork, check the info on this page: http://help.github.com/forking/ Hope this helps, Lyle From mitfik at gmail.com Thu Sep 16 09:30:09 2010 From: mitfik at gmail.com (Robert Mitwicki) Date: Thu, 16 Sep 2010 15:30:09 +0200 Subject: [fxruby-users] [Foxgui-users] FOX In-Reply-To: References: Message-ID: >> The first thing I'd do is reach out to the community (via the >> foxgui-users and fxruby-users mailing lists) to see if anyone else >> wanted to help. I want to help :) and I am also intresting in developing FXRuby especial that our company will use it in our main application. >> > Is FOX c++ gui better than Qt gui. ? of course is better ;) >> "I'd fork the project on GitHub...". http://github.com/mitfik/fxruby this is my fork Regards. - Robert Mitwicki Kontakt: ? ?? jid: mitfik at jabber.org ? ?? e-mail: mitfik at gmail.com ------------------------------------------ www.partiapiratow.blog.pl From lyle at lylejohnson.name Thu Sep 16 09:32:04 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Thu, 16 Sep 2010 08:32:04 -0500 Subject: [fxruby-users] [Foxgui-users] FOX In-Reply-To: References: <8B738DD9-9534-49C7-A68A-C5FB38F4771F@lylejohnson.name> <40FF4C8B-56BC-462E-BCDA-76E9E59D50A7@lylejohnson.name> Message-ID: On Sep 16, 2010, at 8:24 AM, Mohammed Rashad wrote: > thanks a lot for you great help. Bunch of thanks :) > Expecting a long lasting relationship from you... Mohammed, I'm glad that you are enthusiastic about these project(s), but in the interest of setting expectations appropriately, let me remind you that as I said on my blog [1], and on the mailing lists, I personally will no longer be accepting bug reports, support requests, feature requests, or general emails related to FXRuby. I have made an exception in this case, but I'm not going to be answering any more personal emails on the subject. I *will* continue to follow the mailing lists for FOX and FXRuby, and if you post questions there I might respond---or I might not. Cheers, and best of luck, Lyle [1] http://lylejohnson.name/blog/2010/08/04/moving-on/ From lyle at lylejohnson.name Thu Sep 16 10:30:43 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Thu, 16 Sep 2010 09:30:43 -0500 Subject: [fxruby-users] [Foxgui-users] FOX In-Reply-To: References: Message-ID: On Sep 16, 2010, at 8:30 AM, Robert Mitwicki wrote: >>> "I'd fork the project on GitHub...". > > http://github.com/mitfik/fxruby this is my fork This is great! I'm looking forward to seeing how things go for you guys. From ralphs at dos32.com Thu Sep 16 14:13:50 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Thu, 16 Sep 2010 12:13:50 -0600 Subject: [fxruby-users] [Foxgui-users] FOX In-Reply-To: References: Message-ID: <707487528.20100916121350@dos32.com> Thursday, September 16, 2010, 8:30:43 AM, you wrote: LJ> On Sep 16, 2010, at 8:30 AM, Robert Mitwicki wrote: >>>> "I'd fork the project on GitHub...". >> http://github.com/mitfik/fxruby this is my fork LJ> This is great! I'm looking forward to seeing how things go for you guys. LJ> _______________________________________________ Lyle and all: I am interested in helping but I am very much of a novice when it comes to many of the tools that are used. I am, though, a really good C++ programmer. I am clueless, for instance, on the weltanschauung of gitHub, forking, etc. I am clueless, at this time, of how to build FXRuby on a Windows platform. Would you guys be willing to bring me up to speed on these tools? - - - - - Nonetheless, I'm a bit confused about the "age" of FXRuby (which seems to be remarkably stable). Isn't it the case that FXRuby is "old technology"? Is this the way to go? Let me be clear. I don't have an opinion about this, I simply want to hear other people's opinions. Ralph -------------- next part -------------- An HTML attachment was scrubbed... URL: From lyle at lylejohnson.name Thu Sep 16 15:48:10 2010 From: lyle at lylejohnson.name (Lyle Johnson) Date: Thu, 16 Sep 2010 14:48:10 -0500 Subject: [fxruby-users] [Foxgui-users] FOX In-Reply-To: <707487528.20100916121350@dos32.com> References: <707487528.20100916121350@dos32.com> Message-ID: On Sep 16, 2010, at 1:13 PM, Ralph Shnelvar wrote: > I am interested in helping but I am very much of a novice when it comes to many of the tools that are used. I am, though, a really good C++ programmer. > > I am clueless, for instance, on the weltanschauung of gitHub, forking, etc. Start here: http://help.github.com/ and then ask questions on the mailing list (or in the #github IRC channel, or whatever). Lots of folks in the Ruby community are using Git and GitHub. > I am clueless, at this time, of how to build FXRuby on a Windows platform. Start here: http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Windows-Build-Environment and then ask questions. ;) > Nonetheless, I'm a bit confused about the "age" of FXRuby (which seems to be remarkably stable). > > Isn't it the case that FXRuby is "old technology"? Is this the way to go? I'm not 100% sure that I understand the question, but I'll try to answer the question I think you're asking. ;) FOX's underlying architecture, in terms of how widgets communicate via message passing, is an incredibly elegant way of doing things. Jeroen's design for this drew in part from his experiences with the NeXT operating system, and its NeXTStep UI. And of course, NeXT was also the basis for Apple's Cocoa framework, so there's a lot of similarity there. So in that sense, FOX is very much current. Likewise for the GUI update mechanism, data targets, and other neat things. I've learned a lot about software design by reading through the FOX source code, and it can be an elegant platform for building GUI applications. On the other hand... you have issues like look and feel. FOX looks vaguely like a Windows 95-era user interface, which is to say, pretty darned aged. There is a discussion taking place on the FOX mailing list as we speak, about whether FOX should incorporate theming so that FOX-based GUI applications could be made to look more like platform-native apps (especially on OS X). I can tell you as a FOX "veteran" that if you're waiting for theming in FOX, you ought not hold your breath. So if having a native "look and feel" for your application is an issue, you should be looking elsewhere. Likewise for things like strong i18n support, or whatever. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphs at dos32.com Thu Sep 16 20:36:00 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Thu, 16 Sep 2010 18:36:00 -0600 Subject: [fxruby-users] [Foxgui-users] FOX In-Reply-To: References: <707487528.20100916121350@dos32.com> Message-ID: <15415180.20100916183600@dos32.com> Lyle, You answered the question I intended to ask. Thanks! In terms of i18n support, I thought Ruby's/Rails i18n support was pretty good. I just don't remember if i18n is a rails thing or a "native" ruby thing. Ralph Thursday, September 16, 2010, 1:48:10 PM, you wrote: On Sep 16, 2010, at 1:13 PM, Ralph Shnelvar wrote: I am interested in helping but I am very much of a novice when it comes to many of the tools that are used. I am, though, a really good C++ programmer. I am clueless, for instance, on the weltanschauung of gitHub, forking, etc. Start here: http://help.github.com/ and then ask questions on the mailing list (or in the #github IRC channel, or whatever). Lots of folks in the Ruby community are using Git and GitHub. I am clueless, at this time, of how to build FXRuby on a Windows platform. Start here: http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Windows-Build-Environment and then ask questions. ;) Nonetheless, I'm a bit confused about the "age" of FXRuby (which seems to be remarkably stable). Isn't it the case that FXRuby is "old technology"? Is this the way to go? I'm not 100% sure that I understand the question, but I'll try to answer the question I think you're asking. ;) FOX's underlying architecture, in terms of how widgets communicate via message passing, is an incredibly elegant way of doing things. Jeroen's design for this drew in part from his experiences with the NeXT operating system, and its NeXTStep UI. And of course, NeXT was also the basis for Apple's Cocoa framework, so there's a lot of similarity there. So in that sense, FOX is very much current. Likewise for the GUI update mechanism, data targets, and other neat things. I've learned a lot about software design by reading through the FOX source code, and it can be an elegant platform for building GUI applications. On the other hand... you have issues like look and feel. FOX looks vaguely like a Windows 95-era user interface, which is to say, pretty darned aged. There is a discussion taking place on the FOX mailing list as we speak, about whether FOX should incorporate theming so that FOX-based GUI applications could be made to look more like platform-native apps (especially on OS X). I can tell you as a FOX "veteran" that if you're waiting for theming in FOX, you ought not hold your breath. So if having a native "look and feel" for your application is an issue, you should be looking elsewhere. Likewise for things like strong i18n support, or whatever. -- Best regards, Ralph mailto:ralphs at dos32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From natarajsn at gmail.com Fri Sep 17 00:31:14 2010 From: natarajsn at gmail.com (Nataraj S Narayan) Date: Fri, 17 Sep 2010 10:01:14 +0530 Subject: [fxruby-users] [Foxgui-users] FOX In-Reply-To: References: Message-ID: Hi Robert Could you substantiate that? I mean Fox being better than Qt-4.6.x? Is it the design? Since Qt is with Nokia ,lots of takers for Qt. Even my own boss made me switch to Qt for the Nokia patronage. Warm regards Nataraj On Thu, Sep 16, 2010 at 7:00 PM, Robert Mitwicki wrote: > >> The first thing I'd do is reach out to the community (via the > >> foxgui-users and fxruby-users mailing lists) to see if anyone else > >> wanted to help. > > I want to help :) and I am also intresting in developing FXRuby > especial that our company will use it in our main application. > > > >> > Is FOX c++ gui better than Qt gui. ? > > of course is better ;) > > >> "I'd fork the project on GitHub...". > > http://github.com/mitfik/fxruby this is my fork > > Regards. > > - > Robert Mitwicki > Kontakt: > jid: mitfik at jabber.org > e-mail: mitfik at gmail.com > ------------------------------------------ > > www.partiapiratow.blog.pl > _______________________________________________ > 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 Fri Sep 17 00:37:12 2010 From: natarajsn at gmail.com (Nataraj S Narayan) Date: Fri, 17 Sep 2010 10:07:12 +0530 Subject: [fxruby-users] [Foxgui-users] FOX In-Reply-To: References: <707487528.20100916121350@dos32.com> Message-ID: Hi Lyle I have mentioned this already a few times :-- I need to get Fox and fxruby to work on Framebuffer devices without X, just as Qt-4.6.3 does for me. That is, on my Arm9 based handheld based on Linux and uclibc. I am sure I can also get into a bit of coding myself if somebody can give me a few pointers in this direction. I was in love with Ruby and fxruby. The romance was stifled by the prevailing bias towards established tools. regards Nataraj On Fri, Sep 17, 2010 at 1:18 AM, Lyle Johnson wrote: > > On Sep 16, 2010, at 1:13 PM, Ralph Shnelvar wrote: > > I am interested in helping but I am very much of a novice when it comes to > many of the tools that are used. I am, though, a really good C++ > programmer. > > I am clueless, for instance, on the weltanschauung of gitHub, forking, etc. > > > Start here: > > http://help.github.com/ > > and then ask questions on the mailing list (or in the #github IRC channel, > or whatever). Lots of folks in the Ruby community are using Git and GitHub. > > I am clueless, at this time, of how to build FXRuby on a Windows platform. > > > Start here: > > > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Windows-Build-Environment > > and then ask questions. ;) > > Nonetheless, I'm a bit confused about the "age" of FXRuby (which seems to > be remarkably stable). > > Isn't it the case that FXRuby is "old technology"? Is this the way to go? > > > I'm not 100% sure that I understand the question, but I'll try to answer > the question I think you're asking. ;) > > FOX's underlying architecture, in terms of how widgets communicate via > message passing, is an incredibly elegant way of doing things. Jeroen's > design for this drew in part from his experiences with the NeXT operating > system, and its NeXTStep UI. And of course, NeXT was also the basis for > Apple's Cocoa framework, so there's a lot of similarity there. So in that > sense, FOX is very much current. Likewise for the GUI update mechanism, data > targets, and other neat things. I've learned a lot about software design by > reading through the FOX source code, and it can be an elegant platform for > building GUI applications. > > On the other hand... you have issues like look and feel. FOX looks vaguely > like a Windows 95-era user interface, which is to say, pretty darned aged. > There is a discussion taking place on the FOX mailing list as we speak, > about whether FOX should incorporate theming so that FOX-based GUI > applications could be made to look more like platform-native apps > (especially on OS X). I can tell you as a FOX "veteran" that if you're > waiting for theming in FOX, you ought not hold your breath. So if having a > native "look and feel" for your application is an issue, you should be > looking elsewhere. Likewise for things like strong i18n support, or > whatever. > > _______________________________________________ > 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 mitfik at gmail.com Fri Sep 17 10:33:59 2010 From: mitfik at gmail.com (Robert Mitwicki) Date: Fri, 17 Sep 2010 16:33:59 +0200 Subject: [fxruby-users] [Foxgui-users] FOX In-Reply-To: References: Message-ID: 2010/9/17 Nataraj S Narayan : > Hi Robert > > Could you substantiate that? I mean Fox being better than Qt-4.6.x? Is it > the design? Since Qt is with Nokia ,lots of takers for Qt. Even my own boss > made me switch to Qt for the Nokia patronage. for me there is few reason why I think that fxruby is better then qt 1) implementation of qt in ruby is very poor 2) qt is too big (there is a lot of features but if someone want very simple design qt is not for him) also if You want to pack it on some very smapl devices it can be problem with all qt lib which are sometime very big. 3) fxruby is much more easier to learn then qt 4) I don't like if project is developed by huge company it's hard to communicate with developers :P -- Robert Mitwicki Kontakt: ? ?? jid: mitfik at jabber.org ? ?? e-mail: mitfik at gmail.com ------------------------------------------ www.partiapiratow.blog.pl From ralphs at dos32.com Fri Sep 24 08:56:23 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Fri, 24 Sep 2010 06:56:23 -0600 Subject: [fxruby-users] FXProgressBar slow update; FXDataTarget Message-ID: <1019198642.20100924065623@dos32.com> This is not a question but a mini-report on an issue (and solution) I had with FXProgressBar. I have some code that puts up an FXProgressBar and then uses FXDataTarget#value to update the amount of progress. I also have an FXLabel object and used FXLabel#text to update the label. The LABEL would change "instantly" but the FXProgressBar object being displayed was very far behind the FXLabel object being displayed. The FXProgress bar object reported on the percentage completion of a CPU intensive thread. I played with priorities. I played with having the CPU intensive thread go to sleep. Nothing worked. To make a long story short ... the problem is in the FXDataTarget. It appears (and this is by observation and not by code inspection) that FXDataTarget objects get updated somewhat like chores get executed. That is, the various objects "connected" to the instantiated FXDataTarget variable get updated "whenever." Indeed, I am guessing that all the synchronizations occur at SEL_UPDATE time. SEL_UPDATE on my machine gets triggered about once every 5 seconds rather that several times a second. Thus, the solution to my problem was to get rid of the FXDataTarget for the progress bar and do a direct assign to FXProgressBar#progress. Works like a champ. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphs at dos32.com Mon Sep 27 11:44:52 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Mon, 27 Sep 2010 09:44:52 -0600 Subject: [fxruby-users] FXMessageBox & Threads Message-ID: <589082004.20100927094452@dos32.com> Is it safe to use FXMessageBox from something other than the main thread? -------------- next part -------------- An HTML attachment was scrubbed... URL: