r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!RebGUI] A lightweight alternative to VID

MichaelB
30-Jan-2006
[2830]
Ashley: what about adding in a radio-group in the rebgui-widgets.r 
file the line

pf/action pf

below the line ca. 1340 

face/action face

in the init section where the engage feel is defined. 

I needed to be able to execute the 'action function when the radio 
buttons change, but in the current implemention only the local action 
functions of the single buttons get evaluated, not the sourounding 
group. But if I'm right only for the parent level the action block 
can be defined, as the layout function only sets this block (if found). 
So either I missed a way even to set the functions for the single 
buttons (via normal means - no hacking) or it would be good to add 
at least the above shown line.


secondly some improvements which would be nice, what's everybodys 
opinion about this:

1. in order to be able to get a reference to a window - display should 
return the window-face

2. it should be optional whether the first window will be the parent 
of all other subsequently opened windows, as this affects the behavior 
of the order of view of the windows, eg. I can't bring the other 
windows completely to the front


it's no big deal to insert it into the code right now, but maybe 
it makes sense to have some of these options in general.

How to actually supply so small changes to the project ? Just posting 
them here - I guess so ?
Ashley
30-Jan-2006
[2831]
Good suggestions all. Here is fine for small changes, complete widgets 
or function rewrites can be placed online or emailed to me.
shadwolf
1-Feb-2006
[2832x2]
graham needs a good relevant stable and easy to set tooltip system. 
Some time later i proposed a style tooltip hudgly over ridding the 
common VID styles adding a way to set tootips on normal VID widgets
so the design for tootips on rebgui can be simple and proposed like 
this:  a field called tooltip on all meaning rebgui widget plus the 
insertion on those widgets to the event  timer / show/hide system 
for the over viewed text box of the tooltip
Ashley
2-Feb-2006
[2834]
This is yet another thing that would be so much easier to implement 
if feel/detect worked correctly. See RAMBO# 3867.
Pekr
2-Feb-2006
[2835]
Ashley - Carl announced there is the right time now to gather bugfixes 
for 1.3.3 and he asked us to remind Gabriele, which bugs we want 
to have fixed in preference. Maybe you could contact Gabriele about 
your Rambo ticket?
Graham
2-Feb-2006
[2836x7]
Anyone know why this doesn't work?
view layout [ button "Rebgui" [ display "" [ text "Rebgui from Vid" 
]]]
when I click on the "Rebgui" button .. nothing happens.
but this works
display "" [ button "VID" [ view/new layout [ text "VID" ]]] do-events
ie. RebGUI can display VID windows, but VID can't display RegGUI 
windows.
Ashley, I have modified RebGUi a little..so can you confirm the above 
?
Ashley
2-Feb-2006
[2843]
Works fine here. BTW, what were the mods? ;)
Graham
2-Feb-2006
[2844x6]
Just tiny things ... like adding an extra data field for buttons 
to store stuff.
And 'display returns view-face instead of nothing.
And I have Volker's mods to the area editing.
and attempts around other parts of the editor ... to stop crashes
Hmm.  So, I need to roll back my changes until the above works again 
:(
Very odd... I have my main rebgui application .. which opens up a 
VID based chat client ( pluginchat.r ).  While the chat client is 
open, some of my rebgui windows using 'display, stop opening.  Close 
down the Vid window .. and it all starts working again.
Ashley
2-Feb-2006
[2850]
Not hitting nested do-events?
Graham
2-Feb-2006
[2851x2]
since you confirmed that

view layout [ button "Rebgui" [ display "" [ text "Rebgui from Vid" 
]]]
works for you but not me... I think it's something else.
Is there a new distro out ?
Ashley
2-Feb-2006
[2853]
0.3.8 (6-Dec-2005) is the latest.
Graham
2-Feb-2006
[2854x2]
Ok. I'll download a virgin copy and try this out.
after I go to sleep first :(
Ashley
2-Feb-2006
[2856x2]
Remember it's just do http://www.dobeash.com/files/rebgui/get-rebgui.r
now, with the files going to public/dobeash/files/rebgui.
On that note, would it be usefull for the script to prompt for, "Press 
Enter for Public dir, anything else for current"?
Anton
2-Feb-2006
[2858x2]
It will take a little while to add that functionality. The download 
script assumes the public cache all the way, so it will be a little 
tricky.  Not really hard, but you will have to be careful.
Did someone actually need a specific directory instead of the public 
cache ? I would have thought if someone wants to maintain their own 
directory, then they can get the files out of the public cache themselves. 
That way if they are patching they can be sure their patches aren't 
overwritten by accident.
Pekr
2-Feb-2006
[2860]
public cache is piggy aproach :-) I hate it. I never got used to 
it. The weird idea of having app install somewhere and OS specific 
cache in documents and settings/username/apps data/rebol ... is weird. 
Countless of users questions about why Documents is not in C:\Documents 
...
Volker
2-Feb-2006
[2861x2]
Asks security-questions from other scripts. And from own server one 
needs a download-script too.
Cache - How to handle different sites without cache? or put cache 
in c:\Documents ?
Pekr
2-Feb-2006
[2863]
no, that is just mine objection. Simply multiuser OS has to have 
something like profiles, but I am just used to have everything app 
related in app dir ...
Volker
2-Feb-2006
[2864]
Always running as admin?
Pekr
2-Feb-2006
[2865]
probably so ....
Volker
2-Feb-2006
[2866]
Maybe an installation-choice?
Pekr
2-Feb-2006
[2867]
but - I am different kind of monster, so just ignore me :-) App which 
nowadays does not provide me with non-install (registry free) version 
is crap from my pov. I want fully movable apps ... just copy and 
run ....
Volker
2-Feb-2006
[2868]
I guess the moment we do that MS comes finally out with their strict 
no-admin-os.
Pekr
2-Feb-2006
[2869x2]
the thing is, that for some small apps, I just copy to my USB pen 
.... if in such app dir is not everything, I will surely run into 
trouble ...
your solution requires rebol installed, that is something I hate 
and will never do ....
Volker
2-Feb-2006
[2871]
Isnt there a no-install-option now? BTWh, does somebody know where 
the option-descriptions are? There was something with no-desktop 
too?
Pekr
2-Feb-2006
[2872x3]
usage
it is --noviewtop
still missing --noconnect, unless proxy code is fixed ....
Volker
2-Feb-2006
[2875x2]
thanks. a "to simple" again :)
should pop up the config-requester first.
Ashley
2-Feb-2006
[2877x2]
Minor website changes:

Licencing / Development


RebGUI is a community project that is free for both commercial and 
non-commercial use. Submissions, in particular widgets, will be accepted 
and credited to the author under the condition that they carry these 
same licence conditions.


Download

Enter the following command from the REBOL console:

	do http://www.dobeash.com/files/rebgui/get-rebgui.r


To see all the widgets in action type the following from a REBOL/View 
1.3.1 (or later) console:

	do view-root/public/www.dobeash.com/files/rebgui/tour.r
%get-rebgui.r: tidied up display and added /update refinement to 
read-thru.
Pekr
2-Feb-2006
[2879]
ble :-) (do view-rott/uh/oh/eh/what?/typo?/ :-)