World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
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 [2093x7] | 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 ^^ | |
but then you must treat not only the countainer but the content too on allocation that's obvious but on disallocation it can be a nightmare to handle could be interresting to make a recursiv short cut to disalocate things | |
for example my-tab/dealloc-tab 2 (this ill call for destruction of the tab insert and countainer and redraw of the remaining tabs ... ) | |
Graham 7-Oct-2005 [2100x2] | I'm having a lot of problems typing into an area field. The cursor will jump to the bottom of the screen when I'm typing in the middle :( |
It jumps down when u use the cursor to go down thru an empty line in the middle of some text. | |
Graham 10-Oct-2005 [2102x2] | Anyone know how I can replace the editor used by RebGUI with the one use by VID (until it gets fixed by Ashley ) ? |
I guess it's the feel for the area widget. | |
Volker 10-Oct-2005 [2104] | ctx-text/edit? soomething in that context. |
Graham 10-Oct-2005 [2105] | Perhaps it's the feel for the para I need to alter? |
Volker 10-Oct-2005 [2106x2] | to patch rebgui? |
where is the current link for rebgui? | |
Graham 10-Oct-2005 [2108] | http://www.dobeash.com/files/RebGUI-037.zip |
Volker 10-Oct-2005 [2109] | do i need something else for logo.png? |
Graham 10-Oct-2005 [2110x2] | Oh, also need the base distro. |
http://www.dobeash.com/files/RebGUI-030.zip | |
Volker 10-Oct-2005 [2112] | problem is, cursor down goes to end? |
Graham 10-Oct-2005 [2113x3] | yeah ... |
and also, if <enter> in middle of editing text, cursor goes to end | |
and if editing text, and text wraps, then enter a space, cursor jumps to end. | |
Volker 10-Oct-2005 [2116x5] | interesting bug (?) in offset-to-caret. if the cursor is between lines, there is no text. |
http://polly.rebol.it/test/test/rebgui/rebgui-edit.rpatches cursor-down. look for ";?". | |
show looks weird: | |
redraw: func [face act pos][ if all [act = 'show face/text-y <> second size-text face] [ face/text-y: second size-text face face/pane/ratio: face/parent-face/size/y / face/text-y unless face/pane/ratio < 1 [face/para/scroll/y: 0 edit/focus face] ] ] | |
that does a focus and changes caret? i tested, the messing with /caret is in show. | |
older newer | first last |