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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Graham
14-Nov-2007
[6947x2]
Is there anything that can be done easily about implementing Cyphre's 
grid into latest Rebgui?
Pekr commissioned it for Rebgui .. so it shouldn't be too far off 
should it?
amacleod
14-Nov-2007
[6949]
I did not know that...That's great news. Will grid be expanded further 
or just an implimentation of what exists?
Graham
14-Nov-2007
[6950x2]
it was a working implementation, but then Ashley changed RebGUI and 
broke it.  At that point the funding for Cyphre had already been 
completed as he had delivered a working grid.  Not sure if anyone 
is able to take it up again and get it working with the latest RebGUI.
that's my recollection anyway.
Pekr
15-Nov-2007
[6952x2]
well, it came at the time when Ashley was doing some changes to API. 
And it was not adapted ......
ah, you just sait it :-)
Henrik
15-Nov-2007
[6954]
wish I had time to port LIST-VIEW to RebGUI. would seem useful there.
Robert
16-Nov-2007
[6955]
I think I need to provide my own "fork" of RebGUI again to Ashley. 
We have worked on the grid and extended it. Works pretty well.
Pekr
16-Nov-2007
[6956]
Robert - is it the same grid Cyphre did for me? That would be really 
good, because imo it was well and sufficiently abstracted (e.g. visible, 
non-visible columns, without the need to resort data block, etc.)
Ashley
16-Nov-2007
[6957]
Robert, what build# did you fork on? From memory Cyphre had to make 
a lot of grid-specific changes to rebgui-edit.r
Robert
17-Nov-2007
[6958x4]
Petr, yes we used this version as base.
Ashley, I must say I don't remember. I will pack all files together 
and send them over to you. Ok?


Overall our RebGUI branch is very stable now. I'm using it in a quite 
complex application (1 MB of source code) and it's really nice.
Ashley, just log into xpeers if possible and you get the latest version 
synced. See: projects/reggui and _todo.txt for all our changes / 
bug fixes.
If not let me know and I mail it to you.
amacleod
17-Nov-2007
[6962]
Robert, I've been playing with grid a bit and I really like it. If 
it is possible I would not mind checking out your version...
Ashley
17-Nov-2007
[6963x2]
Email it to me as zip. Thanks.
Uploaded build#102 with 'bistate option for check and check-group. 
Option disables right-click state selection.
btiffin
17-Nov-2007
[6965]
Ashley;  Whoa...another out of the blue present.  Thank you sir.
Ashley
17-Nov-2007
[6966x2]
My pleasure. And now one for Graham ...
Uploaded build#103 with new request-value function.

USAGE:

    REQUEST-VALUE prompt /title text /default value /type datatype

DESCRIPTION:
     Requests a value.
     REQUEST-VALUE is a function value.

ARGUMENTS:
     prompt -- Prompt text (Type: string)

REFINEMENTS:
     /title
         text -- Title text (Type: string)
     /default
         value -- Default value (Type: any-type)
     /type
         datatype -- Return type (Type: datatype)
btiffin
17-Nov-2007
[6968]
Whoa! again.  Cool.   Just tested 102;
Just tested 103;  Nice!
Graham
17-Nov-2007
[6969]
:)
DanielSz
18-Nov-2007
[6970]
Ashley, this is to express my thanks for rebgui. It is wonderful, 
and a *huge* relief from VID. I spent the week developing a GUI for 
a pet project of mine. Great documentation. Great demo. Great syntax. 
Pure enjoyment!!!
Pekr
18-Nov-2007
[6971]
Robert - any other widgets with your branch of RebCode? E.g. tree-view?
Robert
19-Nov-2007
[6972x3]
Yes, we have a tree-view as well.
Spider graph.
Enhanced TABLE
Pekr
19-Nov-2007
[6975x2]
ah, RebCode .... RebGUI :-)
sounds interesting .... tree-view is handy sometimes.
Luis
19-Nov-2007
[6977]
I want write a chat system. 

 RebGui provide me the client gui. Somebody knows a chat server with 
 history?
(synapse-chat server source code is not available)
Graham
23-Nov-2007
[6978]
Should there be an option for lists like table so that /redraw also 
sets the scroller back to the top?
Luis
27-Nov-2007
[6979]
A nice feature in altme is hyperlinks in chat. ( http://www.google.com
) 
Any way to get this feature en rebGui ?
Ashley
27-Nov-2007
[6980]
I'm sort of waiting for R3 rich text support before tackling that. 
It can be done in R2, but it's not pretty.
Luis
29-Nov-2007
[6981x2]
But R2 is here and now. I am coping & hacking  color.rebol.r  plug-in 
("Volker Nitsch" ) to rebgui ...
color-rebol.r from edit-tools.r
Kai
29-Nov-2007
[6983]
how do i set the window color in code (not through requestor)?
Ashley
29-Nov-2007
[6984]
display "" [
	area
	do [face/color: sky]
]
Kai
29-Nov-2007
[6985x2]
thanks
has the desire for table row-shading come up before? (My first day 
on ALTME - so bear with me if these conversations are somehow searchable...???)
Graham
29-Nov-2007
[6987x2]
Yes, and there is no such facility in RebGUI.
There is a grid but that needs work
amacleod
30-Nov-2007
[6989]
Is "work" being done?
Ashley
30-Nov-2007
[6990]
Robert emailed me his code, I just have to find some time to go through 
it and merge the grid-specific stuff.
amacleod
30-Nov-2007
[6991]
fantastic.
JohanAR
4-Dec-2007
[6992x2]
I'm getting a really weird display error from an area where I try 
to set the face/text manually.. I'll try to paste the code to reproduce 
(RebGUI #101)
REBOL [
	title: "Weird error in area"
	Date: 04-Dec-2007
	File: %areaerror.r
	Author: "Johan Aires Rasten"
	Version: 0.1.0
]

do %rebgui.r


; Values of 25 or less doesn't produce the error, but larger ones 
do
max-info-lines: 26


display system/script/title [
	panel sky data [
		after 1
		button-size 30
		button "Status" [print-info "status"]
		button "Archive" [print-info "archive"]
		button "test" [
			loop 30 [print-info "status"]
			loop max-info-lines - 4 [print-info "archive"]
		] 
		button "crash!" [print 1 / 0]
	]

 info-area: "To see error: Press test button, then Status once" area 
 80x40 #HW options[info] data []
]

info-area-list: make list! []

print-info: make function! [
	info
][
;	Add the line to the buffer
	append info-area-list rejoin [info "^/"]
	if max-info-lines < length? head info-area-list [
		remove head info-area-list
	]

; set-text works, but it moves the scrolling area to the top
;	set-text info-area rejoin make block! head info-area-list

; This produces weird errors:
	info-area/text: rejoin make block! head info-area-list
	show info-area
]

do-events
Ashley
4-Dec-2007
[6994]
Replace:


 info-area: "To see error: Press test button, then Status once" area

with:


 info-area: area "To see error: Press test button, then Status once"
JohanAR
5-Dec-2007
[6995]
Ah.. didn't solve my problem though :\
Ashley
5-Dec-2007
[6996]
Also, replace:

	info-area/text: rejoin make block! head info-area-list

with:

	info-area/text: form rejoin make block! head info-area-list