World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Volker 18-Jun-2006 [3899] | did he know full source is available? |
Pekr 18-Jun-2006 [3900] | probably not ... I now write longer letter to him, as he thought that it is a kind of protecting source code :-) |
Volker 18-Jun-2006 [3901] | performance. Once you are used to it, you optimize everything.. a single file for installation is good, and while we areat it, why not kill all this whitespaces? source is available anyway. (thinking loudwith Ashleys voice ;) |
Pekr 18-Jun-2006 [3902x2] | as for get-rebgui - problem is with path ... could it be extended so that it would save get-rebgui itself into HOME directory, so that next-time I simply get-rebgui, instead of going to Dobeash.com and looking-up for url? |
whitespace? what not to compress it? :-) | |
Volker 18-Jun-2006 [3904x3] | i guess he does that too, no? have not looked. |
or maybe he really tried a new obfuscation-scheme? | |
where do you get get-rebgui currently? (messed up my bookmarks) | |
Robert 18-Jun-2006 [3907x2] | get-rebgui.r and create-distribution.r are two different things. The later creates the rebgui.r file. And yes, whitespaces can be stripped and even the whole thing than be compressed. |
The former get's the latest stable release with images etc. | |
Pekr 18-Jun-2006 [3909] | how do you guys use get-rebgui? do you download it to your rebol directory? Because - in other case, I still struggle with not remembering the url to run it .... |
Volker 18-Jun-2006 [3910] | I use the cvs.. |
Pekr 18-Jun-2006 [3911x2] | CVS means external sw usage .... that is for RebGUI devolopers, should not be needed for RebGUI users ... |
imo it is typical example, how we made simple thing a bit more complicated, or I would not met with such reaction ... | |
Volker 18-Jun-2006 [3913x2] | http://www.dobeash.com/RebGUI/get-rebgui.rthis could be easily changed to store in your own dir. |
a trick i started to use is to set view-root to the current directory. theni have a %public/ there with all the downloaded stuff nicely sorted by server, by using *-thru | |
Robert 18-Jun-2006 [3915x2] | Petr, I agree, that get-rebgui.r should download the current directory. |
I can't remember the location as well. | |
Pekr 18-Jun-2006 [3917x2] | hmm, I found varous paths are mentioned in - probe system/options .... maybe view-root could be exposed there too? That way rebol developer could be sure, where the hell all his files are spreaded around :-) |
So please, could I ask for get-rebgui change, to place itself in rebol home dir, simply to allow ">> do %get-rebgui.r" with next usage? Thanks eventually ... | |
Robert 18-Jun-2006 [3919x2] | Petr, go for it and change it. |
And show up a requester to let the user choose. | |
Pekr 18-Jun-2006 [3921] | I can, and probably will do so tomorrow, just got back from 3 days trip, tired, so just relaxing today ... just dunno if other would not object. As for me, I can miss the requester ... |
Robert 18-Jun-2006 [3922] | Than add the feature, with command line options or something like this. Just provide both ways and let the user choose. There is no wrong/right here. |
Volker 18-Jun-2006 [3923] | wouldnt download to current directory be sufficient? |
Pekr 18-Jun-2006 [3924x3] | yes, it should be ... |
maybe I will even download it as-is now, and change also target location .... using cache directory does not work for me, I organise "library packages" a bit different way ... | |
maybe then it should check first, if new get-rebgui.r is not awailable? Not sure it is needed though ... | |
Ashley 18-Jun-2006 [3927] | Great work guys, just going through all the changes now. |
Graham 20-Jun-2006 [3928] | How to change the label font colour? |
Graham 21-Jun-2006 [3929x2] | How to get the label from a selected radio-group ? |
radio-group/pane/n/text ... | |
Ashley 21-Jun-2006 [3931] | display "" [ l: label "Test" font [color: red] button "Change" [l/font/color: random 255.255.255 show l] ] |
Graham 22-Jun-2006 [3932x4] | Thanks .. is there going to be a formal syntax description for the rebgui dialect ? |
This looks useful ... | |
Cyphre: now you can just change the data content and do show on the radio-group like: my-radio-group/data: ["item1" "item2" "item3" "item4"] show my-radio-group Note that it won't react on change of number of items. Just change of texts. FIXED *radio-group: Add a way to select one radio field at run-time added accesor select-item item [integer!] usage: my-radio-group/select-item 2 show my-radio-group note: you can get the selected item using my-radio-group/picked, you can get the text of selected item using my-radio-group/selected | |
rats .. using Cyphre's radio-group.r gives me an error. I guess there must be dependencies elsewhere. | |
Cyphre 22-Jun-2006 [3936] | Graham, what exact error are you getting? |
Graham 22-Jun-2006 [3937x5] | just rebuilding ... |
** Script Error: Cannot use add on block! value ** Where: action ** Near: set-sizes 2 + guisizerg/data set-fonts/size ** Press enter to quit... | |
now this is my code .. but it works with Ashley's radio-group | |
label "Gui Size" 20 guisizerg: radio-group 30x5 data [2 3 4 5] [ ] return | |
I am asking the user to set the gui size at start up. | |
Cyphre 22-Jun-2006 [3942x2] | >> guisizerg/data == [3 4 5] so you cannod add on block as the error tells you ;) |
didn't you want guisizerg/picked instead of data? | |
Graham 22-Jun-2006 [3944x3] | yep .. it was not a block before. |
picked is new?? | |
yeah .. looks like it. | |
Cyphre 22-Jun-2006 [3947] | from the message above: "you can get the selected item using my-radio-group/picked" |
Graham 22-Jun-2006 [3948] | I guess that's why we should have accessors and standard ways of accessing data so nothing breaks. |
older newer | first last |