Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

More view questions...

 [1/11] from: andy:flyingcat at: 28-Aug-2002 13:04


As long as I'm asking questions... Is there any way to get a list of all the possible facets (fields) for a face ? I am doing scrolling without using scroll bars, so it would be nice if I could stop the scroll at the end of the data by being able to check the values in the face itself to see where I need to stop. Thanks, Andy

 [2/11] from: greggirwin:mindspring at: 28-Aug-2002 12:31


Hi Andy, << Is there any way to get a list of all the possible facets (fields) for a face ? >> view layout [b: button [print mold first b]] You don't want to use PROBE on faces, because there are circular references in VID that confuse it and make it print for a very long time. :) << I am doing scrolling without using scroll bars, so it would be nice if I could stop the scroll at the end of the data by being able to check the values in the face itself to see where I need to stop. >> OFFSET is what you want to look at to see where a face is located. --Gregg

 [3/11] from: petr:krenzelok:trz:cz at: 28-Aug-2002 20:34


Andy Finkel wrote:
>As long as I'm asking questions... >Is there any way to get a list of all the possible facets (fields) for a
<<quoted lines omitted: 4>>
>Thanks, >Andy
print mold get-style 'button .... in a first place, or directly: print mold get in get-style 'button 'facets foreach [style-name style] system/view/vid/vid-styles [ print [ style-name newline "---------------" newline mold style/facets ] ] but if I understand you correctly, you are interested in all possible facets for certain styles. There may be some old doc explaining it a bit. Also - try to download %browse-system.r (http://www.rebol.org/script/browse-system.html) script (or even %ana-monitor.r?) and lurk a bit in system structure. It could help you a bit understand, how Rebol is organised ... -pekr-

 [4/11] from: andy:flyingcat at: 28-Aug-2002 15:28


Thanks, I'll check the browser out and see if it helps my understanding any. I've been downloading all the docs I can find from the rebol.com and rebol forces. Do you know of any "must not be missed" documentation I should look out for ? Thanks, Andy

 [5/11] from: andy:flyingcat at: 28-Aug-2002 15:22


Thanks. Probe was taking quite a while, so I'd concluded that it wasn't the right function for the job :-) (I'm using the commercial version, btw, which I understand is somewhat out of date) Using your method, I can see the SIZE facet should be just what I want to get the maximum area I should be scrolling. Thanks, Andy

 [6/11] from: louisaturk::coxinet::net at: 28-Aug-2002 15:39


Hi view experts, At 03:28 PM 8/28/2002 -0400, Andy wrote:
>Do you know of any "must not be missed" documentation I >should look out for ?
I have a similar question: What are the best docs for learning view, and what is the best order for reading them? I've been waiting for a view manual to come out, but so far nothing. Louis

 [7/11] from: jason:cunliffe:verizon at: 28-Aug-2002 17:55


Hi Andy The English edition of Olivier Auverlot's French book is due out _sometime_ soon. It's very well written, and the only one which covers View/VID in print. http://www.rebolfrance.org/livre/livre.html His site RebolFrance has great stuff, much if it a by-product of articles written for the superb LOGIN magazine. http://www.rebolfrance.org http://www.rebolfrance.org/telechargement.html Unfortunately since there are few francophiles here, RebolFrance contributions tends to be overlooked. If I find/make time, I can help translate more goodies from there into English. This is partly what triggered the recent 'locale' thread following %Maoww.r, the French jabber client written in /View In case you have not already, check: http://www.rebol.com/view/docs/../demos/easy-vid.r It's pretty easy to adapt that mechanism to your own use and the source is instructive. For example you can generalize it in 5 minutes so it can load a library of external files. These could be anywhere and shared.The rare magic of easy-vid is being able to interpret and visualize GUI code in the middle of a document. I can think of few other programming environments which offer such a wonderful intuitive transparent feature. 'Mathematica' is perhaps the golden example. I know that Kevin Altis and the PythonCard team are hard at work to enable this. They have their sights set on the needs of teaching programming in education. Also looking under the hood of %easy-draw.r and %easy-plot.r might be helpful to you.. <start YARDR: Yet-another-rebol-documentation-rant> For reasons that are still beyond me, REBOL is almost off the Internet~web radar. Google, which is otherwise fucking brilliant, seems to have a rebol blind-spot. I almost always have to work it hard 'manually' to track down rebol help with it. One reason is that a lot of code exists on rebsites which you access from /View desktop. There is no built-in search, indexing or sensible filtering mechanism in /View for rebsites. Neither is there any sensible gateway between rebsites and wiki/blogs as is happening EVERYWHERE else these days [compare PHP and FLashMX communities]... And of course the fabulous developments happening between Jabber and XML-RPC folks. [see my recent post http://www.escribe.com/internet/rebol/m24848.html ] Truly it's a crying shame as it is easy to do in Rebol and would show off many of its virtues to a larger public. RT have applied their brilliant talents, but very limited human resources and effort into /IOS. So /View is packed off to the orphanage/boardingschool in the meantime. Even RT's own site hides the link for this in a counter-intuitive place: http://www.rebol.com Then listed under "Company" click on "support" Half way down that page in the "Email List Archive" paragraph is a pale khaki link :-(( I think this community and REBOL deserve and NEED much better than E-Scribes default search tools. [it sucks imo]. So the mailing list being a small community does a heroic and humane job. Recently someone was also trying to process the list archives to extract and distill the accrued rebol knowledge. "black gold that is!" </end YARDR> Someone did put up a rebsite search script a while back. Search the mailing list archives to find it! Vanilla and/or Andrew Martin's wiki would make a fabulous vehicle for REBOL wisdom. /View implies that it should be used to document itself, which is why I like the mechanism in %easy-vid.r, but it needs to be tied in to a rebol-based wiki/blog so it can be shared and maintained as natural by product of this list. It is so easy to store REBOL code everywhere, in email, web pages, images.. Then just 'do it. /View is a ubiquitous desktop engine but not so much use unless is better integrated with other Internet systems [email web wiki jabber etc]. hth ./Jason ______________________________________________ Jason Cunliffe [NOMADICS: Director art+design] Tel/fax: +1 718 422-1078 [jasonic--nomadics--org] N 43:00.000' W 074:31.875' ALT:1144 ft 84 Henry Street #3C Brooklyn NY 11201 USA

 [8/11] from: atruter:hih:au at: 29-Aug-2002 9:43


> What are the best docs for learning view, and what is the best order for
reading them? Easy VID (desktop/REBOL.com/docs) is enough to get started: followed by: http://www.rebol.com/docs.html#view to round things out. The following are also usefull depending upon what you are trying to do / learn: Easy Draw (desktop/REBOL.com/docs) http://www.rebol.com/how-to/fields.html http://www.rebol.com/how-to/feel.html http://www.rebol.com/how-to/btns-cust.html http://www.rebol.com/how-to/subpanels.html and last (but certainly not least): http://www.rebolforces.com/ (the Zine articles) http://www.codeconscious.com/rebol/ (Tips & Tricks) I found Easy VID to be more than enough to get started, its when you need to have greater control over the UI that the other docs come in useful. Regards, Ashley

 [9/11] from: g:santilli:tiscalinet:it at: 29-Aug-2002 2:09


Hi Andy, On Wednesday, August 28, 2002, 7:04:21 PM, you wrote: AF> Is there any way to get a list of all the possible facets (fields) for a AF> face ? A face is an OBJECT! so you can even MOLD it (actually, when shown a face has too much references for it to be useful; you'd end up with molding almost the entire SYSTEM); what you are probably more interested in is:
>> print mold first face
[self type offset size span pane text color image effect data edge font para feel saved-area rate show? options parent-face old-offset old-size line-list changes face-flags action] Also, be sure to check Romano's AnaMonitor that lets you dynamically browse any object. AF> I am doing scrolling without using scroll bars, so it would be nice if I AF> could stop the scroll at the end of the data by being able to check the AF> values in the face itself to see where I need to stop. You probably just need looking at face/offset and face/size then, if I understand what you are doing; if not, if you can send an example maybe we can give you more hints. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

 [10/11] from: louisaturk:coxinet at: 28-Aug-2002 20:11


Thanks, Ashley! I've been making core scripts for several years now, but haven't needed any GUI scripts. But now I'm seeing some use for them. Louis At 09:43 AM 8/29/2002 +1000, you wrote:

 [11/11] from: steve:shireman:semaxwireless at: 29-Aug-2002 0:07


Andy, Sometimes it is easy to skip over these later /View documents on the rebol website. http://www.rebol.com/how-to.html Also, there is an in-depth french book which has unravelled more of /View but I have not read, but is supposed to be stupendous, http://www.editions-eyrolles.com/php.accueil/Ouvrages/9782212110173.php3 and I think there are some example code there Hope that helps, Steve Shireman Andy Finkel wrote:

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted