World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
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 [2083x9] | 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 | |
List view is thinked like a rendering engine you give to it a stutured list of datas then you get it on screen | |
so you modify the datas structure (internal datas) then make a show listview-var1 to make the changes applyed on screen | |
I give a very simple sample of this in the list-view052.r script | |
adding is easyer than removing ... | |
and it's because of rebol enerant problems... | |
but thing like remove list-view-var1/buffer list -view-var1/picked show list-view-var1 can be handeled easyly ... | |
Graham 5-Oct-2005 [2092] | tab-panel ... |
shadwolf 5-Oct-2005 [2093x5] | lol ... |
hum i work on tabpannel 10 month ago so i don't know ... but it must be the same kind of working | |
but there you need to desalocate the tabs contente other while lot of memory leaks | |
for example an IRC client like Xchat will use tab pannel for every window (dialogue private , chat rooms, servers notices ) | |
in this case you need obviously to add and remove tabs ^^ | |
older newer | first last |