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
23-Sep-2005
[2036x2]
I'm doing some async io, which works with View, but in Rebgui, I 
get the following error when I click on my button

make object! [
    code: 312
    type: 'script
    id: 'cannot-use
    arg1: 'path
    arg2: 'none!
    arg3: none
    near: [if pf/data <> face/data [
            old: pf/data
            if old [
                clear skip pf/pane/:old/effect/draw 7
                show pf/pane/:old
            ]
            pf/data: face/data

            insert tail face/effect/draw [pen leaf fill-pen leaf circle 6x10 
            3]
            show face
            face/action face
        ]]
    where: 'switch
]
nope ... something else going on.
Ladislav
24-Sep-2005
[2038]
I think, that Cyphre will be able to give you an advice on that
Graham
24-Sep-2005
[2039]
it was my fault
Pekr
24-Sep-2005
[2040]
Ashley - why request-date was redone? It has strange metrics here 
... too wide (x axis) and it looks like 80ies jurrasic Win3.1 period 
with btns :-) - old look was much nicer with chevron kind of buttons 
... and it was merely the same size X and Y axis wise ...
Ashley
24-Sep-2005
[2041]
Had to increase width to account for longer three letter day abbreviations 
(previous version used two letters), but having each cell being a 
square yielded too much white space (especially when the last row 
has no entries in it). "<" and "<<" buttons will eventually be replaced 
with SVG icons when support for that is added.
Pekr
24-Sep-2005
[2042]
Thanks for your answers, Ashley. Will SVG support be RebGUI system-wide?
Graham
24-Sep-2005
[2043x3]
Ashleny, just wondering how complex a GUI you've managed to build 
with the current version.
*Ashley*
Though I guess tour.r is pretty complex
Ashley
24-Sep-2005
[2046x2]
Pekr, yes. The code for svg-toolbar, icon, etc widgets is all there 
... just waiting on SVG renderer project (which in turn is waiting 
on some REBOL/AGG fixes).
Graham, I've messaged you privately. When I get back from the DevCon 
(November 1st) I'll put some screen-shots of some of my commercial 
apps up. Maybe a demo or two as well.
Graham
25-Sep-2005
[2048x2]
Any idea on why this error occurs?

make object! [
    code: 312
    type: 'script
    id: 'cannot-use
    arg1: 'path
    arg2: 'none!
    arg3: none
    near: [if pf/data <> face/data [
            old: pf/data
            if old [
                clear skip pf/pane/:old/effect/draw 7
                show pf/pane/:old
            ]
            pf/data: face/data

            insert tail face/effect/draw [pen leaf fill-pen leaf circle 6x10 
            3]
            show face
            face/action face
        ]]
    where: 'switch
]
I'm setting a radio-group using the following code

field/pane/2/feel/engage field/pane/:value 'down none


The radio group appears in a pane, and if I display that pane first, 
then there is no problem.  But if I try it before I display the pane 
containing the radio-group, I get this error.
Geomol
25-Sep-2005
[2050]
Because data is none?

>> layout [r: radio]
>> probe r/data
none
Graham
25-Sep-2005
[2051x2]
this is rebgui ..
I suspect that a value is being initialised only on showing it, when 
it should be initialised with the display function.
Ashley
25-Sep-2005
[2053]
Off to Italy, back in 5 weeks.
Graham
25-Sep-2005
[2054]
Anyone working on a toggle widget ?
Bobik
26-Sep-2005
[2055]
Can i ask anybody: is anyone working on a witget GRID (or similar 
- for example: text-list with more(multi) columns)?
Graham
26-Sep-2005
[2056]
How is that different from a table widget ?
Pekr
26-Sep-2005
[2057]
table's functionality is simply insufficient for real database related 
work ... e.g. ability to have data block, and to configure which 
columns to display and which not to ...
Bobik
26-Sep-2005
[2058x2]
So table widget doesn't have a cursor to mark selected row..
.. and function "picked" like text-list..
Graham
26-Sep-2005
[2060]
face/picked/1 is the first selected row
Bobik
27-Sep-2005
[2061x4]
but widget text-list in rebGUI doesn't have multi-columns..
widget table has multi-columns but i can not select any row..  is 
it true?
(sorry i am beginner in english..)
(multi-columns =  i need more then 1 column )
Graham
27-Sep-2005
[2065]
the options word "multi" allows you to select more than one row at 
a time.
Pekr
27-Sep-2005
[2066]
maybe he meant simply to have hilighted row, plus ability to navigate 
by keyboard?
Bobik
27-Sep-2005
[2067x3]
yes
i need any widget that can do:  1) hilighted selected row 2) row 
with more than 1 column
widget table : 1) i can have more 1 column - so it is good for me 
   -- but 2) i can not click on row and hilight  it
Pekr
27-Sep-2005
[2070]
was it discussed here before? Why recent Rebgui version takes 15MB? 
Playing a bit with demo and it is now 19,5MB after few minutes of 
usage ...
Bobik
27-Sep-2005
[2071]
Sorry - i have downloaded v.3.7 now  and i found in widget table 
all what i need ....thank you for your patience :-)
Graham
27-Sep-2005
[2072]
Wait and watch the memory usage ... it tends to drop with GC.
Pekr
27-Sep-2005
[2073x2]
but 15 - 19MB? Wasn't it some 5MB with older versions? What changed 
that memory consumption rised so significantly?
Graham - you going to DevCon?
Graham
27-Sep-2005
[2075x2]
I think you'll find that the spelll checking dictionary contributes 
to the memory rise.
I'm only attending virtually :)
shadwolf
5-Oct-2005
[2077x5]
I made some improvements in the list-view widget for rebgui  ^^ Now 
dynamc widget changes impact on data to be drawn (so when you change 
the state of a checkbox this impacts on the stored data) I make a 
generic callback funtion to allow ppl to save list data into a file 
 on changes. I make some estetical changes too 
I hope you will apreciate it  ^^
this new widget can be found in the web page  
http://www.rebolfrance.info/articles/regui-cooking-widgs
0.52 version of list-view widget is shapped to ork with Rebgui 0.36
it's been a while since i don't get internet connection so I hope 
it works fine with rebgui  0.37
list-view 0.52 works fine with rebgui 0.37
Graham
5-Oct-2005
[2082]
shadwolf, do you know how to remove a tab dynamically from a tabbed-panel, 
and also how to add tabs dynamically?
shadwolf
5-Oct-2005
[2083x3]
hum ... tab ?
you mean column or ro ?
row  adding row is mutch more easyer than handleling column ... To 
skip column we have several way to do this ...  one or just estetical 
and doesn't impact upon internal datas and other are about impacting 
uppon internal datas structure then provoc a redraw