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

World: r3wp

[!RebGUI] A lightweight alternative to VID

shadwolf
28-Apr-2005
[664x5]
native case ? how that ?
looking how case works ;)
oh oh case word is not in the dicionnary  ;)
plz Volker can you explain me how it works ?
huuuuuuuuuum I wouldn't be using  case because it's an alpha feature 
only support in rebol/view 1.2.5x
Volker
29-Apr-2005
[669x2]
its in the very latest alphas.
now i see you found it.
shadwolf
29-Apr-2005
[671x3]
I remake another time the buil-table function for the listview widgets 
( acording to Ashley  advices) build code is pretty easier to understand 
and the buildtime spend in the fonction is pretty inferrior than 
in the previous implementation (on an other data organasation ) rebgui-list2.r 
build-table time is 0.047 with regui-list3.r it's 0.31 (both  with 
data countaining 5cols  100rows on a PC ( win2k SP4, Amd sempron 
2600+, SDRAMM DRR PC3200) )
According to ashley advice the new data organisation is faster and 
it will be easier and fast for the sorting algorythm (still not implemented 
in rebgui-list3.r ;)
you can download here my current work here http://shadwolf.free.fr/rebgui-list3.r
Robert
30-Apr-2005
[674]
Hey shadwolf, how about english comments :-)? My French is a bit 
rusty.
Ashley
30-Apr-2005
[675]
Esperanto? ;)
Robert
30-Apr-2005
[676]
listview: Pretty cool :-)) Some ideas:

- add a line highligh feature for the selected line and the line 
the cursor is currently pointing to

- double clicking the column-resize bar resets the column width to 
the default value

- add an up/down arrow to the column which was used for sorting, 
to indicate sorting order
shadwolf
30-Apr-2005
[677x2]
I'm sorry working in french is just easier for me ...
the code is so easy that we doesn't need comments I facts :)
Brock
30-Apr-2005
[679x2]
Nice work absolutely.  One comment...

I believe the 'typical' behaviour of column resizing that each trailing 
column is offset the amount the column was resized.
I was also thinking about the feature that was being discussed that 
allows for more tabs than the width of the layout.  How about an 
option to allow the tabs to wrap when larger than the layout?  Take 
the number of tabs, divide the total by two and auto-size the tabs 
to the full width of the layout, just now there is two rows.  I think 
this would be a nice alternative behaviour for when the user interface 
benefits from being able to see all possible tabs.
Graham
30-Apr-2005
[681]
I like the idea of stacking the tabs .. as in most windows control 
panels ...
shadwolf
30-Apr-2005
[682x3]
Brock yes the colonne resizing feature is planned. but I fear this 
kind of feature is speed in C/C++ and slow in rebol ...
nut once I dont test it I can't say if it would be alright
but not nut
Graham
30-Apr-2005
[685]
the alternative is what cyphre does for his tabbed panel gadget .. 
which is an arrow on the right which shifts the tabs left and right
shadwolf
30-Apr-2005
[686x2]
Brock second feature is planned too ...
For the moment it's a prepre alpha demo to show to you what are my 
way to make it and if people find it good :)
Brock
30-Apr-2005
[688]
I like it so far - haven't looked at the code or how you bind the 
data.
shadwolf
30-Apr-2005
[689x11]
I splitted betwin a heavy implemented listview with lot of gadgets 
events  (witch means lot of code) and  a  just what we need listview 
(first step for heavy implemented listview)
I'm splitted not I splitted
Brock datas are organised like that [ [ "title" type size (and so 
on)] [ data1 (and so on) ] ] size is not implemented yet
normally size data will be linked with resizing feature
actually I'm writing select and retrieve function
http://shadwolf.free.fr/redgui-list4.r
you can find here my first implementation of selection & retrieve 
fonction ;)
I improved the code
http://shadwolf.free.fr/redgui-list4.r
you can access the selected line data with the picked field into 
the listview
http://shadwolf.free.fr/rebgui-list4.r
Graham
30-Apr-2005
[700]
if it only runs on alpha view, then we can't encap
shadwolf
30-Apr-2005
[701x4]
normally it runs on every rebol/view since 1.2.1.3.1
the only thing you needs to change is the modulo call "modulo i 2" 
can be replaced by "i // 2"
I fixed this issue ... so as far as I test for the moment it runs 
with 1.2.8.3.1
problem runing with 1.2.1.3.1 bu I think it's not related with listview 
widget
Brock
30-Apr-2005
[705]
Having a minimal, lowest common denominator version of list is a 
good idea, considering the idea with RebGUI is to create a small/tight 
GUI environment.  Having a more advanced version (more code) running 
on the lighter GUI is also a good idea so programs written for it 
don't feel restricted.
shadwolf
30-Apr-2005
[706]
I think a less 200 code listview is yet pretty good
Graham
30-Apr-2005
[707x3]
Okay, retested .. and it is working now.
But ...
listview/picked:
["Line 1:1" false logo.gif logo.gif "Line 5:01"]
** Script Error: Cannot use path on none! value
** Where: do-body
** Near: wid/color: gold
last-sel: f-ind
insert
shadwolf
30-Apr-2005
[710]
I'm trying to implement the resizing of the colonne conserving it's 
size but  I it's hard to write I  spent so mutch nights with out 
sleep this week that my neurons are not working properly ;)
Graham
30-Apr-2005
[711x3]
when you click on a cell in the last column, it highlights the one 
4 above it
the one that says "title 5"
Are the gadgets in "title 2" supposed to be disabled?