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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Robert
24-Apr-2005
[573]
resizing system: How about a method that will store the layout if 
altered by the user and reload the GUI in the same layout? It always 
drives me nuts if I have to resize application splitter bars, panes 
etc. when starting again.
Pekr
24-Apr-2005
[574x2]
Rebgui starts to look very nicely polished (UI wise), just a bit 
WinXP-ish, but it never mind here ... maybe OSx users will complain 
later :-)
I do not remember now, if it was said that skin system will be available 
later?
shadwolf
24-Apr-2005
[576x2]
beautyfull ;)
robet adding some thing to a group coud be done by append My-group-var/data 
compose [etc...] then my-group-var/init :)
Gregg
24-Apr-2005
[578x2]
Drop list seems to have some issues. Doesn't keep the selected value. 
Maybe just a demo thing.
Looking awesome though!
shadwolf
24-Apr-2005
[580x2]
gregg it's just a demo thing ;)
Known issues

	- spinner and drop-list widgets need more work
Volker
25-Apr-2005
[582]
would it be ok if i try to make this stuff style-compatible? so that 
it could be used both ways?
shadwolf
25-Apr-2005
[583x8]
Volker sure but once you get a working code you need to submit it 
to Ashley ;)
to allow him interger it and ptimize it
optimize it ;)
I'm starting a portage of a very good list widget made by Claude 
RAMIER (cr8825) this code offer many things
sorting, text, field, image, check, info
colom rezising using mouse
returning selected mouse, enbeding non showed information
I will made maybe a merge betwin cyphre my-list and Claude table 
widgets first because Table is twice biger in code than my-list and 
second because some fonctionnality interresting in table made by 
claude.
Ashley
25-Apr-2005
[591]
Robert: LED-Group attributes can be changed at runtime with:

	led-handler/pane/2/data: true
	led-handler/pane/2/text: "Test"
	show led-handler


but the specification (number of LEDs and orientation) is fixed at 
specification time. I have no plans to change this.


Pekr: Most folks are familiar with WinXP, it is something to model. 
The basic RebGUI color scheme is controlled by less than a dozen 
words, and arrow / chevron / other is fully inheritable; but the 
"look" (e.g. tab shape and active shading) is hard-coded in most 
cases. So the answer is that you can easily change the cosmetic aspects 
of the UI but not the fundamentals.

Gregg: known issue.


Volker: Not sure which way you mean. If you want to contribute new 
widgets that work with both VID and RebGUI then I'll be spending 
time optimizing them for RebGUI which will break their VID compatibility. 
If you mean that you want to make the RebGUI widgets work under VID 
then feel free to do so with the widgets I have authored. For other 
widgets, please contact their author(s).
Scot
25-Apr-2005
[592]
Nice.
Robert
26-Apr-2005
[593]
multi-column-list: Please consider adding the auto-filter feature 
as present in Excel. This is a super-fast filter / search feature 
that can be used in most applications.
shadwolf
26-Apr-2005
[594x2]
Robert hum first we will try to make it as somplete as we can ;) 
the autofill feature is neede to for drop list IMOO
so it will come but it's in my opinion a non vital feature it"s like 
the chery on to of the cake not the cake it self  hehe if you see 
what I mean ;)
Volker
26-Apr-2005
[596]
Ashley: changing RebGUI and vid sothat styles are interchangeable.
Robert
26-Apr-2005
[597]
IMO this complicates the RebGUI widgets unecessarly. It would be 
nice to have a wrapper for RebGUI widgets that make them VID compatible. 
But than only as a oneway. RebGUI -> VID not the other way.
Vincent
26-Apr-2005
[598]
a simple way could be 

1) VID -> RebGUI : a 'face widget for RebGUI, to put any prebuilded 
face (ie made by 'layout) in a display,

2) RebGUI -> VID : a 'make-face -like function to build a reusable 
RebGUI face
Brock
26-Apr-2005
[599]
Auto-fill or similarly auto-filter is done fairly nicely in Carl's 
Rebodex.
[unknown: 5]
26-Apr-2005
[600]
Anyone made a non rectangular gui layout?
Ammon
26-Apr-2005
[601]
Yes, that has been done.  I've seen it somewhere but for the life 
of me I cannot recall where or who it was that built it....
Volker
26-Apr-2005
[602x2]
have the rebgui-button working in vid (great success ;) developer/users/volker/mrg/test.r
shadwolf: posted my header-list-1 in users/volker too. yet another 
multi-col-list, maybe it helps.
Ashley
26-Apr-2005
[604]
Nice, I understand what you want to do now ... create a GAL (GUI 
Abstraction Layer) that enables RebGUI widgets to be used in VID 
with zero RebGUI changes. Interesting to see whether you can get 
it working the other way (VID -> RebGUI) as painlessly! ;)
Volker
26-Apr-2005
[605x2]
i hope. after all, both create faces. thee are a few differences 
in your api (action has 2 arguments, init is function). and you have 
a resize-system. will look what i can do. at least something like 
  vid[ vid-stuff ] ; symply calls 'layout
should be doable.
btw related dialects: how about using #xywh instead of that tuple? 
then it could be easier detected on the vid-side (issue! -< resize-options)
Ashley
26-Apr-2005
[607]
Good idea, I'll change that in the next build.
Volker
26-Apr-2005
[608]
btw is the verbose dialect by design or to keep parser short. i guess 
i could do some automatic with few lines overhead. to allow strings 
and actions without the extra brackets.
Ashley
26-Apr-2005
[609]
By design, to keep it as simple (and efficient) as possible. I'm 
open to a more VID-like parse-based approach as long as the complexity 
/ efficiency doesn't blow out as a result.
Allen
27-Apr-2005
[610]
My old autofill is here. do http://www.rebolforces.com/reb/auto-fill.r
Ashley
27-Apr-2005
[611]
Thanks, I've had the code lying around for ages and was trying to 
find a link (for attribution purposes) the other day. ;)
Anton
27-Apr-2005
[612]
Paul, you mean like Q ? That used windowsXP-only window transparency 
feature for the window.  Inside a rebol window I can think of a circular 
color-mapped gadget (who was it again...?)
[unknown: 5]
27-Apr-2005
[613x2]
Yes Anton.  I'm looking for a brief example - a small layout that 
shows the capability.
I remember when /view first came out it seemed there was someone 
that made a gui that was eliptical using only faces and no layout.
Vincent
27-Apr-2005
[615x6]
For VID in RebGUI, an external face widget :
x-face: make face [
    size: -1x-1
    init: does [
        pane: get data
        pane/offset: 0x0
        if negative? size/x [size/x: pane/size/x]
        if negative? size/y [size/y: pane/size/y]
    ]
]
Usage: 
my-face: layout [field "just a field" [print face/text]]

display "A RebGUI display" [
    ...
    x-face [data 'my-face action [print "Hi!"]]
   ...
]
sorry, correction (some VID widgets need a block as parent face) 
:
x-face: make face [
    size: -1x-1
    init: does [
        pane: reduce [get data]
        pane/1/offset: 0x0
        if negative? size/x [size/x: pane/1/size/x]
        if negative? size/y [size/y: pane/1/size/y]
    ]
]
(note the 'feel is replaced by 'action definition when one is specified)
shadwolf
27-Apr-2005
[621x2]
Well after one day of work on the multicolumn list  here is a little 
screen shot of what I succed to do http://shadwolf.free.fr/rebgui-list.jpg
What I need to do :