World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Volker 21-May-2006 [3733] | Can widgets be derived from each other? If i make a lookalike of button and change only the name, it would be the same? |
Anton 21-May-2006 [3734x3] | But rebgui would not know about your new style, and so it may miss out on other facilities of rebgui. |
In VID, there is face/flags, which can contain the 'tabbed flag. | |
Thus the VID style is independant of the tabbability of an instance. Rebgui strongly ties tabbability to the rebgui type. | |
Volker 21-May-2006 [3737x2] | ;hack but tab works: display "Example" compose [ button "a" field "a" return button "b" field "b" return do [ foreach [but fie] face/pane [but/type: 'untabbed-button] ] ] |
what else is the /type used for? | |
Anton 21-May-2006 [3739x3] | Well, it's referred to a few times in rebgui-edit.r |
Ahh, it doesn't work! Rebgui also tabs into the group-box... | |
display "" [field group-box "" data [field] field] | |
Volker 21-May-2006 [3742] | What does not work? |
Ashley 21-May-2006 [3743] | Robert Docs: the 'Widgets' section of the 'RebGUI Display User's Guide' is already in the Repository (the WidgetList Wiki entry) ... I'll be removing that section from the guide once all the widget details have been copied across. Feel free to update the Wiki with any widget specific usage notes / instructions. Forward any other doc changes to me and I'll put them in. I plan to eventually move all the docs across to the Wiki, just haven't got around to doing it yet. "do you first want to take a look at the changes or should I just check them in?" ... Just check them in thanks. screenshots: added to the ToDo list widget placement: I'm coming around to the idea that BELOW may be unavoidable, even if undesirable from a design / complexity POV tabbing: Anton about summed it up Volker Type: also used by accessor functions |
Volker 21-May-2006 [3744] | seems "/type = button" is used for something with 'over too. but i note no difference in some short tests. Still better ask ashley. |
Anton 21-May-2006 [3745] | Volker, I wanted to "hide" the second field from tabbing by putting it in the group-box. But it didn't work. |
Volker 21-May-2006 [3746x2] | Ah! No, tabbing in rebgui seems to be very smart. For now does not work with iterated faces, say the comments. |
Some good choices for the general case in rebgui, from my starter-POV. | |
Anton 21-May-2006 [3748] | That's understandable. |
Volker 21-May-2006 [3749x3] | ;is this ok? vertical tab display "Example" compose [ button "a" [alert "hi"] field "a" return button "b" field "b" return do [ out: copy [] append out extract face/pane 2 append out extract next face/pane 2 insert clear face/pane out ] ] |
Is there interest in an editor-field which supports find/replace etc? | |
And do we have undo? | |
Ashley 21-May-2006 [3752] | Yes to the first question and http://www.dobeash.com/RebGUI/edit.html#section-3 to the second ;) |
Volker 21-May-2006 [3753x2] | Good answer :) |
But is that rebolish, available exhaustive docs?! :) | |
Maarten 21-May-2006 [3755] | It isn't, shame on Ashley. |
Ashley 22-May-2006 [3756] | Wiki WidgetList updated and completed (finally): http://trac.geekisp.com/rebgui/wiki/WidgetList |
Pekr 22-May-2006 [3757x2] | Anton - as for the get-rebgui, if you are the author, you could check following - Bobik's situation was, that he used latest View, the script showed following: connecting to: www.dobeash.com Script: "RebGUI update system" (21-Feb-2006) Local RebGUI version ==> none Remote directory ======> http://www.dobeash.com/RebGUI/ Local directory =======> c:\documents and settings\user-name-here\data aplikací\rebol\public\www.dobeash.com\RebGUI Downloading manifest ==> OK the thing is - above directory does not exist, nor was it created by the get-rebgui script .... so the thing is, what happened then. It did not start downloading particular widgets though ... |
I wonder where View took the above directory from? Does it rely on registry? Or does it ask just OS for the current user data directory? Or? .... strange ... | |
BrianH 22-May-2006 [3759] | It's in the registry, and expressed as an environment variable APPDATA as well. |
Anton 22-May-2006 [3760x2] | It gets it from view-root, which is the public sandbox directory, used by path-thru etc. as usual. |
Yes, view-root gets its value from the registry. | |
Graham 22-May-2006 [3762] | Is there a no-wrap option for area? |
BrianH 22-May-2006 [3763] | At install time, the initial default value of view-root is set to %APPDATA%\REBOL |
Anton 22-May-2006 [3764x2] | Pekr, was there no error message ? or was "Downloading manifest ==> OK" the last line of output ? |
Ashley, can you add get-rebgui.r into SVN as well ? | |
Pekr 22-May-2006 [3766x2] | ah, so .... so actually you can't know, if user has installed View or not .... but it should not mind .... maybe small check then would cure the situation? if view-root does not exist, create it ... |
last line output ... no error .... | |
BrianH 22-May-2006 [3768] | The other trick is telling whether a specific user has View set up on a multiuser system. There are still some multiuser-unfriendly bugs in the REBOL/View installer, mostly for backwards compatibility with View 1.2 registry settings. At least the file handling has been made multiuser safe - we'll see if REBOL 3 solves the rest of the problems. |
Pekr 22-May-2006 [3769] | the problems were described ... in general we should be able to have choice to install for a) all users b) one particular user .... and with uninstall to a) keep private data b) remove data .... uninstall is flawed though, as when you uninstall, the icon is removed from control panel and other user has no option to uninstall ... or you remove the rebol even when other user did not agree to :-) |
BrianH 22-May-2006 [3770] | The main problem is where in the registry REBOL stores its settings. There are per-user settings and per-machine settings, and REBOL stores many of both in the wrong places in the registry. The details of this are once again off topic, though. |
Anton 22-May-2006 [3771x3] | Pekr, try running the script again. Are you launching it like this? |
do http://www.dobeash.com/get-rebgui.r | |
By the way, Ashley, I think get-rebgui.r should be moved into RebGUI/ directory so everything is self-contained. It's not going to affect the end user, since they don't download it. | |
Ashley 22-May-2006 [3774] | can you add get-rebgui.r into SVN ... done should be moved into RebGUI/ directory ... on the list |
Pekr 22-May-2006 [3775] | Anton - posted to Bobik, I will let you know ... |
Anton 22-May-2006 [3776] | Thankyou Ashley. |
Graham 22-May-2006 [3777] | Robert, is the tree widget you've asked Cyphre to create near completion yet? I think maybe it might be useful for the request-directory widget. |
Ashley 22-May-2006 [3778] | I'll second that. |
Thør 22-May-2006 [3779] | . |
Graham 23-May-2006 [3780] | A mind blank here ... what am I doing wrong ? >> do %rebgui.r Script: "Untitled" (none) >> i: load %skype.png == make image! [21x21 #{ FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFB FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF... >> display "" [ image i ] ** Script Error: Cannot use path on none! value ** Where: init ** Near: size/x: image/size/x |
Anton 23-May-2006 [3781] | image data i ? |
Graham 23-May-2006 [3782] | nope |
older newer | first last |