fxruby-users Mailing List for FXRuby (Page 17)
Status: Inactive
Brought to you by:
lyle
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(75) |
Jul
(90) |
Aug
(61) |
Sep
(56) |
Oct
(56) |
Nov
(39) |
Dec
(83) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(56) |
Feb
(45) |
Mar
(61) |
Apr
(40) |
May
(95) |
Jun
(79) |
Jul
(63) |
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
From: Lyle J. <jl...@cf...> - 2004-01-20 16:08:06
|
Emmanuel Touzery wrote: > on > http://sourceforge.net/project/shownotes.php?group_id=20243&release_id=211091 > you mention a tutorial for using the clipboard, but the link given > (http://sourceforge.net/project/clipboardtut.html) triggers a 404? Thanks! Fixed it. |
From: Emmanuel T. <emm...@wa...> - 2004-01-20 15:53:12
|
ly...@kn... wrote: >All, > >The latest version of FXRuby is now available for download from the >SourceForge repository: > >http://sourceforge.net/project/showfiles.php?group_id=20243&package_id=14608&release_id=211091 > >For a list of changes in this release, see: > >http://sourceforge.net/project/shownotes.php?group_id=20243&release_id=211091 > >Enjoy, > >Lyle > on http://sourceforge.net/project/shownotes.php?group_id=20243&release_id=211091 you mention a tutorial for using the clipboard, but the link given (http://sourceforge.net/project/clipboardtut.html) triggers a 404? congratulations on the release otherwise! :O) emmanuel |
From: <ly...@kn...> - 2004-01-20 15:47:46
|
All, The latest version of FXRuby is now available for download from the SourceForge repository: http://sourceforge.net/project/showfiles.php?group_id=20243&package_id=14608&release_id=211091 For a list of changes in this release, see: http://sourceforge.net/project/shownotes.php?group_id=20243&release_id=211091 Enjoy, Lyle |
From: Lyle J. <ly...@kn...> - 2004-01-20 00:53:21
|
On Jan 19, 2004, at 6:28 PM, Joel VanderWerf wrote: > Some minor things: > > - The index.html is broken. It's looking for a web/ dir. Oops, yep. I'll add that directory to the source tarball. > - The book copyright should extend thru 2004. Yes, got it. > Question: Can we generate the API docs from the tarball or is the > sourceforge repository still the place to get them? Well, you'd need the rdoc-sources subdirectory which (as you know) isn't in the source tarball. But that directory's contents (the *.rb files) aren't all that large, and I could probably start including them now that RDoc is getting all respectable and all ;) > And, thanks for the Clipboard tutorial! You're welcome! And thanks for checking out things. I'll wait for some other reports to come in before making another drop... |
From: Lyle J. <ly...@kn...> - 2004-01-20 00:43:42
|
On Jan 19, 2004, at 5:59 PM, Joel VanderWerf wrote: > I'm curious about the following entry in the ChangeLog. Where is this > file? Does it have anything to do with the author of ruby's YAML > parser? > > 2003-12-29 16:46 lyle > > * examples/WhatAQuietStiff.rb: [no log message] No, nothing to do with YAML. Why has a special offshoot of his web log (http://whytheluckystiff.net) called "What A Quiet Stiff" (http://whytheluckystiff.net/quiet) that just shows a bunch of interesting images. The WhatAQuietStiff.rb example program is still under development, but it's basically an FXRuby-based viewer for those images. I didn't want to include it in the official distro yet, but I can send you a copy if you're interested. |
From: Lyle J. <ly...@kn...> - 2004-01-20 00:40:14
|
On Jan 19, 2004, at 5:47 PM, Christopher Sawtell wrote: > On Tue, 20 Jan 2004 11:55, ly...@kn... wrote: >> All, >> >> I've uploaded a release candidate for FXRuby-1.0.28 and the source >> tarball >> can be downloaded here: >> >> >> http://osdn.dl.sourceforge.net/sourceforge/fxruby/FXRuby >> -1.0.28.tar.gz > > What version of fox does this require please? Any version of FOX 1.0.x should be fine. The latest version of FOX 1.0 is version 1.0.49, available for download from the FOX home page (http://www.fox-toolkit.org). |
From: Joel V. <vj...@PA...> - 2004-01-20 00:28:30
|
Lyle, Some minor things: - The index.html is broken. It's looking for a web/ dir. - The book copyright should extend thru 2004. Question: Can we generate the API docs from the tarball or is the sourceforge repository still the place to get them? And, thanks for the Clipboard tutorial! |
From: Joel V. <vj...@PA...> - 2004-01-19 23:59:49
|
ly...@kn... wrote: > All, > > I've uploaded a release candidate for FXRuby-1.0.28 and the source tarball > can be downloaded here: > > http://osdn.dl.sourceforge.net/sourceforge/fxruby/FXRuby-1.0.28.tar.gz I'm curious about the following entry in the ChangeLog. Where is this file? Does it have anything to do with the author of ruby's YAML parser? 2003-12-29 16:46 lyle * examples/WhatAQuietStiff.rb: [no log message] |
From: Christopher S. <csa...@pa...> - 2004-01-19 23:47:35
|
On Tue, 20 Jan 2004 11:55, ly...@kn... wrote: > All, > > I've uploaded a release candidate for FXRuby-1.0.28 and the source tarball > can be downloaded here: > > http://osdn.dl.sourceforge.net/sourceforge/fxruby/FXRuby-1.0.28.tar.gz What version of fox does this require please? -- Sincerely etc. Christopher Sawtell NB. This PC runs Linux. If you find a virus apparently from me, it has forged the e-mail headers on someone else's machine. Please do not notify me when this occurs. Thanks. |
From: <ly...@kn...> - 2004-01-19 23:02:26
|
All, I've uploaded a release candidate for FXRuby-1.0.28 and the source tarball can be downloaded here: http://osdn.dl.sourceforge.net/sourceforge/fxruby/FXRuby-1.0.28.tar.gz I hope to get the Windows builds (for Ruby 1.6.8, Ruby 1.8.0 and Ruby 1.8.1) uploaded sometime tomorrow (Tuesday). If you have a chance to try it out, please let me know if you run into anything tragic. Otherwise, I'll officially announce it in a few days. Thanks, Lyle |
From: Lyle J. <ly...@kn...> - 2004-01-15 05:10:23
|
On Jan 14, 2004, at 10:57 PM, Tom wrote: > I took a look over the web page and saw nice stuff about FOX 1.2. Is > there a guestimate as to when it will be out and/or a matching FXRuby? I cannot estimate when FOX 1.2 will be out, that's obviously out of my hands. I can tell you, however, that I'm tracking the FOX development versions pretty closely in the FXRuby development CVS, i.e. I try to keep that version of FXRuby in sync with the latest available version of FOX 1.1.x. So when FOX 1.2 does officially become available (with a frozen API) it shouldn't be too much of a lag before a compatible FXRuby is also available. |
From: Tom <tku...@so...> - 2004-01-15 04:58:33
|
I took a look over the web page and saw nice stuff about FOX 1.2. Is there a guestimate as to when it will be out and/or a matching FXRuby? Thanks, Tom |
From: Martin H. <ma...@zs...> - 2004-01-14 10:28:38
|
On Tuesday 13 January 2004 20:54, Stef wrote: > > Well, there is nothing in the base 1.0 Fox and i dont > -think- that there is anyting in 1.1.x Fox (please > feel free to correct if thats wrong ;), however, > recently a project i was working on called for > a date/time widget almost the same, well, > you will see what i ended up with. It > may not be 100% what you are after, > however it does remind me of the > gnome v1.x datetime widget, which > is what i was after. It also includes > some sanity checks (end date cant be before > start date, hour cant be over 23, minutes cant > be over 59, etc etc :) > thanks very much for the code Stef - this is pretty cool! Although it does not match exactly what I had in mind (i was thinking of = a=20 single box), it has certainly given me some ideas. We have a requirement to be mainly keyboard driven - so I can't use the p= opup=20 calendar control directly (as much as I'd like to), but I like the idea o= f=20 using separate text boxes for the time components. With some automatic f= ocus=20 switching to the next box when the user has filled in the first one I thi= nk=20 this would work fine with the date as well as the time. Once again thanks very much - I should be able to get something going bas= ed on=20 this. Cheers, Martin --=20 Martin Hart ma...@zs... |
From: Rich <ri...@li...> - 2004-01-14 04:01:38
|
What about when you need the splitter to give _equal_ space to each child - but you don't know how much that is to start, or how much it will be later? I'm looking for something like a FXMatrix widget with PACK_UNIFORM_WIDTH and the children with LAYOUT_FILL_X|LAYOUT_FILL_Y. Can you make the FXMatrix widget dynamically resizable by the user - something like FXSplitter is? -Rich ----- Original Message ----- From: "Lyle Johnson" <jl...@cf...> To: "Steve Tuckner" <STU...@MU...> Cc: <fxr...@li...> Sent: Tuesday, January 13, 2004 8:33 AM Subject: Re: [Fxruby-users] FXSplitterWindow move splitter programatically > Steve Tuckner wrote: > > > So here is my test program to try to do as your link says. What am I doing > > wrong? > > The two direct child widgets of the splitter are the vertical frames > (frame1 and frame2), and you want to set the height of the top frame > (frame1) to be 500 pixels; so instead of this: > > text1.setHeight 500 > > you need this: > > frame1.setHeight 500 > > Hope this helps, > > Lyle > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users > |
From: Stef <st...@ch...> - 2004-01-13 20:54:33
|
> Hi all, > Hello Martin, > I need 2 textfield type controls - one which can accept a date (e.g. > 01-01-2000), and the other which can accept a time (e.g. 12:15). Their > functionality needs to be similar to the microsoft Masked Edit control. > > Before i start wrestling with Fox and writing my own (based on an FXTextField > I suppose), I am just wondering if such a thing already exists? > Well, there is nothing in the base 1.0 Fox and i dont -think- that there is anyting in 1.1.x Fox (please feel free to correct if thats wrong ;), however, recently a project i was working on called for a date/time widget almost the same, well, you will see what i ended up with. It may not be 100% what you are after, however it does remind me of the gnome v1.x datetime widget, which is what i was after. It also includes some sanity checks (end date cant be before start date, hour cant be over 23, minutes cant be over 59, etc etc :) hope this helps. -extensive- documentation is contained inside :) regards Stef |
From: Steve T. <STU...@MU...> - 2004-01-13 17:35:46
|
Thanks, that did the trick! > -----Original Message----- > From: Lyle Johnson [mailto:jl...@cf...] > Sent: Tuesday, January 13, 2004 9:33 AM > To: Steve Tuckner > Cc: fxr...@li... > Subject: Re: [Fxruby-users] FXSplitterWindow move splitter > programatically > > > Steve Tuckner wrote: > > > So here is my test program to try to do as your link says. What am I > doing > > wrong? > > The two direct child widgets of the splitter are the vertical frames > (frame1 and frame2), and you want to set the height of the top frame > (frame1) to be 500 pixels; so instead of this: > > text1.setHeight 500 > > you need this: > > frame1.setHeight 500 > > Hope this helps, > > Lyle |
From: Martin H. <ma...@zs...> - 2004-01-13 17:27:05
|
Hi all, I need 2 textfield type controls - one which can accept a date (e.g.=20 01-01-2000), and the other which can accept a time (e.g. 12:15). Their=20 functionality needs to be similar to the microsoft Masked Edit control. Before i start wrestling with Fox and writing my own (based on an FXTextF= ield=20 I suppose), I am just wondering if such a thing already exists? I have had a look at the FXRuby API but cannot see anything that obviousl= y=20 matches my requirements TIA Martin --=20 Martin Hart ma...@zs... |
From: Lyle J. <jl...@cf...> - 2004-01-13 15:33:42
|
Steve Tuckner wrote: > So here is my test program to try to do as your link says. What am I doing > wrong? The two direct child widgets of the splitter are the vertical frames (frame1 and frame2), and you want to set the height of the top frame (frame1) to be 500 pixels; so instead of this: text1.setHeight 500 you need this: frame1.setHeight 500 Hope this helps, Lyle |
From: Steve T. <STU...@MU...> - 2004-01-13 15:07:06
|
So here is my test program to try to do as your link says. What am I doing wrong? Steve Tuckner ------------------------------------------------------------------ require "fox" include Fox class FxTestWindow < FXMainWindow TIMER_INTERVAL = 20 def initialize(app) # Invoke base class initialize first super(app, "FxSplitterTest", nil, nil, DECOR_ALL, 0, 0, 600, 600) splitter = FXSplitter.new(self, LAYOUT_SIDE_TOP|LAYOUT_FILL_X|LAYOUT_FILL_Y|SPLITTER_TRACKING|SPLITTER_VERTI CAL) frame1 = FXVerticalFrame.new(splitter, FRAME_SUNKEN|FRAME_THICK|LAYOUT_FILL_X|LAYOUT_FILL_Y) text1 = FXText.new(frame1, nil, 0, LAYOUT_FILL_X|LAYOUT_FILL_Y, 0, 0, 600, 50) text1.setHeight 500 frame2 = FXVerticalFrame.new(splitter, FRAME_SUNKEN|FRAME_THICK|LAYOUT_FILL_X|LAYOUT_FILL_Y) text2 = FXText.new(frame2, nil, 0, LAYOUT_FILL_X|LAYOUT_FILL_Y, 0, 0, 600, 50) end # Start def create super show(PLACEMENT_SCREEN) end end def runGUI $application = FXApp.new("Dialog", "FxSplitterTest") $application.init(ARGV) FxTestWindow.new($application) $application.create $application.run end runGUI > -----Original Message----- > From: Lyle Johnson [mailto:ly...@kn...] > Sent: Sunday, January 11, 2004 8:26 PM > To: Steve Tuckner > Cc: fxr...@li... > Subject: Re: [Fxruby-users] FXSplitterWindow move splitter > programatically > > > > > On Jan 11, 2004, at 3:32 PM, Steve Tuckner wrote: > > > > Is there a way to programatically set the position of the splitter > > bar? > > > > Thanks in advance (and also for all your work on this framework) > > > > Steve Tuckner > > > > > > > Steve, > > Please see the note on this page: > > > http://www.fifthplanet.net/cgi-bin/wiki.pl?Cookbook/Setting_Th e_Relative _Sizes_Of_Panes_In_An_FXSplitter about how to set the split sizes programmatically. Hope this helps, Lyle |
From: Chris M. <ze...@gm...> - 2004-01-12 14:14:41
|
Hi! On Mon, Jan 05, 2004 at 10:59:42PM -0800, Joel VanderWerf wrote: > >Using ruby 1.8.{0,1}, fox-1.0.{43,48}, FXRuby-1.0.{25,27} on > >Linux/Intel and Solaris/Intel and WindowsXP: > > > >I have a FOX application, everything works fine. But as soon as > >I call 'exit' from within (or send a FXApp::ID_QUIT to getApp()) > >I get something like: > > > >------------------------------------------------ > >./rootwindow.rb:133: [BUG] Segmentation fault > >ruby 1.8.1 (2003-12-25) [i686-linux-gnu] > > > >Aborted > >------------------------------------------------ > > > >Since this is not a very expressive error message: > > > >Is this behaviour known to anyone? Any hints in which direction > >I should go finding this error? > > What I always try first in these situations is: turn off garbage > collection with GC.disable. If that stops the segfault, then it's a good > bet there's a bug somewhere in the mark/free funcs within FXRuby. Ok, tried that, no change. > Other than that, I would try paring down the app to the minimal code > that will reliably cause the problem, and then post it here. Of course, > that can be hard work.... So far I just can say this: I use the method FXTreeItem *addItemLast(FXTreeItem *p, FXTreeItem *item, ...) to insert an (from FXTableItem derived) item into an FXTreeList. When i use FXTreeItem *addItemLast(FXTreeItem *p, const FXString &text, ...) it works just fine. As soon as I find some spare time I'll try to break this down into a smaller example. Anyway, thanks for your answer! -- chris |
From: Lyle J. <ly...@kn...> - 2004-01-12 02:37:24
|
On Jan 11, 2004, at 7:16 PM, Joel VanderWerf wrote: > Steve Tuckner wrote: >> Is there a way to programatically set the position of the splitter >> bar? > > I don't see any "setSplit" or equivalent methods in FXSplitter, either. I think Jeroen has added a setSplit() method for fox-1.2 but it's not that direct in fox-1.0. Please see my separate response to Steve for more information about how to programmatically set the split size in fox-1.0. > FWIW, FX4Splitter has methods #getVSplit, #setVSplit, #getHSplit, and > #setHSplit. > > The API doc says there should also be accessors for vSplit and hSplit, > but these aren't defined. Hmm, worse than that, it doesn't look like any of the attribute accessors for FX4Splitter are defined. I'll get this fixed. > The setters take a number representing the proportion of split. The > max is 10_000 (so 5_000 means 50% split). (This is by experimentation. > I didn't see anything in the docs that would explain this.) Yes, this appears to be how it works (looking at the FOX source code for FX4Splitter). I'll add something to the FXRuby API docs for this as well. |
From: Lyle J. <ly...@kn...> - 2004-01-12 02:26:34
|
On Jan 11, 2004, at 3:32 PM, Steve Tuckner wrote: > Is there a way to programatically set the position of the splitter = bar? > =A0 > Thanks in advance (and also for all your work on this framework) > > Steve Tuckner > Steve, Please see the note on this page: http://www.fifthplanet.net/cgi-bin/wiki.pl?Cookbook/=20 Setting_The_Relative_Sizes_Of_Panes_In_An_FXSplitter about how to set the split sizes programmatically. Hope this helps, Lyle |
From: Joel V. <vj...@PA...> - 2004-01-12 01:16:40
|
Steve Tuckner wrote: > Is there a way to programatically set the position of the splitter bar? I don't see any "setSplit" or equivalent methods in FXSplitter, either. FWIW, FX4Splitter has methods #getVSplit, #setVSplit, #getHSplit, and #setHSplit. The API doc says there should also be accessors for vSplit and hSplit, but these aren't defined. The setters take a number representing the proportion of split. The max is 10_000 (so 5_000 means 50% split). (This is by experimentation. I didn't see anything in the docs that would explain this.) -- Joel VanderWerf California PATH, UC Berkeley mailto:vj...@pa... Ph. (510) 231-9446 http://www.path.berkeley.edu FAX (510) 231-9565 |
From: Steve T. <STU...@MU...> - 2004-01-11 21:32:28
|
Is there a way to programatically set the position of the splitter bar? Thanks in advance (and also for all your work on this framework) Steve Tuckner |
From: Rich <ri...@li...> - 2004-01-10 04:18:51
|
Thanks a ton for your response... I'm really impressed with FOX - until now I haven't really had much hope of ever being able to code a GUI... this rocks!! -Rich ----- Original Message ----- From: "Lyle Johnson" <jl...@cf...> To: <ri...@li...> Cc: <fxr...@li...> Sent: Friday, January 09, 2004 9:26 AM Subject: Re: [Fxruby-users] reparent/linkAfter in FXFileSelector widget > Rich wrote: > > > I'm trying to insert my own FXTextField right after the directory drop > > down in the first FXHorizontalFrame... but I've only found the > > 'children()' method as the way to navigate through the existing > > structure... and that returns an FXWindow... reparent and linkAfter > > require an FXComposite type as the parameter... > > <snip code examples> > > > What are my options? Is there an easy/easier way to 'insert' something > > into an existing widget like the FXFileSelector? > > The approaches that you're trying are correct, but there is a problem > with the return values for FXWindow#children. The first child widget for > the FXFileSelector is supposed to be an FXHorizontalFrame but it's being > returned to you as an FXWindow instance instead. I know what's wrong, > but I don't think there's a workaround for FXRuby-1.0.27. I have added > this to the bug list and it should be fixed in the next release. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users > |