World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Chris 11-Apr-2006 [3328] | http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=layout.r |
shadwolf 11-Apr-2006 [3329x2] | hummm drop down list is a nightmare of coding ... this is typically (in my opinion) one of the easyly doable in C/C++ but tricky to do with rebol. Tricky but why ?? Mainly because of the speed when you have to redreaw the main pane and the scrolling interface |
as it's widely dynamical widget you will have to heavily use the redraw i don't know if rebol can handle that properly in term of onscreen drawing speed and on the plan of the memory(this point is the dark spot of rebol) | |
Graham 11-Apr-2006 [3331x2] | Hmm. Carl's one is pretty snappy .. but it's not done as a style. |
Perhaps I can just cheat and use buttons, and have the data only on one table which is refreshed by the buttons. | |
Maxim 11-Apr-2006 [3333] | I have done extremely advanced styles in rebol, including a video editing timeline with scalable time and slideable tracks, and face can be extremely fast when its used properly. The only issue so far was Draw speed (fixed with AGG) and slow face blitting (cpu based). Otherwise, if your face is not full screen, you can scroll 300000 cell tables 10 times a second... (yes with advanced styles and resizing and the like). |
Claude 12-Apr-2006 [3334] | could we have an example thanks !! |
Maxim 13-Apr-2006 [3335] | I did a demo of this at devcon 2004, its was a test within glayout. Sorry to say I'm currently too busy to have fun :-( |
[unknown: 9] 13-Apr-2006 [3336] | Graham, the thing you describe is also (in addition to the Henrik link) called an Outlook control (I don't know why Microsoft gets the credit). |
Maxim 13-Apr-2006 [3337] | Claude, I just wanted to make sure people know that face is effective and fast... I can give a quick pointer... to make VID faces fast, I had to remove all the code within feel/redraw. Using feel/redraw is a major performance hit when doing large layouts. |
[unknown: 9] 13-Apr-2006 [3338x2] | http://www.c-sharpcorner.com/Code/2002/April/OutlookBarIL.asp |
I like it also. I fact there is a super set that Fireworks uses. In addtion to the up down open close stuff, it... Allows you to tear the off as thier own windows. Doc the windows over other windows, which become horz tabs. Reorder them. We are currently working on this for the new Framework. | |
Robert 13-Apr-2006 [3340] | Yes, good widget. |
Graham 14-Apr-2006 [3341x2] | Outlook bar control would be a good addition to rebgui. |
And VID of course. | |
[unknown: 9] 14-Apr-2006 [3343] | Agreed. |
Robert 15-Apr-2006 [3344x7] | how can I avoid that the used words in a RebGUI layout are added to the global context? |
ok, forget it... got it. | |
First think, than write ;-)) | |
But now I got a problem: I use some drop-lists that have much more entries than fit on the screen. When doing this I now get the following error, if I use any of my drop-lists: ** Script Error: Out of range or past end ** Where: action ** Near: result: pick data first picked | |
Any idea what the problem is? | |
The problem is in file: rebgui-widgets.r inside the choose function. I don't have a clue what I have changed in my app to trigger the problem. | |
The bad thing is... it's a show stopper at the moment. | |
JaimeVargas 15-Apr-2006 [3351] | Robert post the bug to the rebgui trac system. http://trac.geekisp.com/trac |
Robert 16-Apr-2006 [3352x4] | I will |
Has someone any hint for me what the problem could be? | |
BTW: That's the direct link http://trac.geekisp.com/rebgui | |
How can I access the SVN repository via a client? What URL do I have to use? | |
Graham 16-Apr-2006 [3356x3] | svn://svn.geekisp.com/regbui |
try that. | |
/rebgui | |
Robert 16-Apr-2006 [3359] | No repository found in svn://svn.geekisp.com/regbui |
Graham 16-Apr-2006 [3360] | yes ... because I spelled it wrong. |
Robert 16-Apr-2006 [3361x5] | Ah ;-') |
Ok, I got it. At least the source of the problem. | |
I'm using SLIM to handle some module loading. | |
Here is a short example when it fails: rebol [] ;--- Startup if system/product == 'Link [ attempt [call reduce ["d:\rebol\view\rebol.exe" system/script/header/file] quit] attempt [call reduce ["c:\programme\rebol\view\rebview.exe" system/script/header/file] quit] attempt [call reduce ["c:\rebol\view\rebol.exe" system/script/header/file] quit] quit ] ;-- use xpeers framework structure link-root: first split-path system/script/path link-root: copy/part link-root index? find link-root "/xpeers/" append link-root %xpeers/ do link-root/framework/anamonitor300.r do link-root/framework/slim.r ;-- RebGUI stuff #include %rebgui.r unless value? 'ctx-rebgui [do link-root/framework/libraries/rebgui.r] ;-- SLIM stuff slim/open 'debug none ; [mark-my-words] ; mark-my-words/init unit-size: 4 font-size: 12 tab-size: 120x55 display/min-size "CalcIT" compose/deep [ label "Land" drop-list 60 data ["A" "B"] return ] 1024x768 do-events halt | |
If I comment the slim/open... line it works. | |
Maxim 18-Apr-2006 [3366] | this is strange... here is a stupid first test, try to call rebgui after slim... does that change anything? |
Graham 20-Apr-2006 [3367] | I would like to see a widget that allows scrolling of other widgets contained inside it. |
Pekr 20-Apr-2006 [3368] | graham - do you miss tree-view with your apps? just curious .... |
Graham 20-Apr-2006 [3369x2] | not so far ... |
In fact I wonder if the need for a tree view indicates a poor design? | |
Pekr 20-Apr-2006 [3371] | not sure ... how do you want to display hierarchical structures? |
Graham 20-Apr-2006 [3372] | Not at present... but I may need to later on. |
Pekr 20-Apr-2006 [3373] | it is also a pity, Henrik's grid does not work with RebGUI (although not supporting my favourite horizontal scroll :-) |
Graham 20-Apr-2006 [3374] | Henrik's aim is to get it to work with rebgui eventually. |
Graham 21-Apr-2006 [3375] | Ashley, just wondering how well RebGui runs on OSX .. any reports? |
Ashley 21-Apr-2006 [3376] | Works fine here. One of my QA tests is to run %tour.r on both Mac and WIndows prior to each release and ensure all widgets work the same on both. |
[unknown: 9] 21-Apr-2006 [3377] | We have a drop down in RebGUI that when we click off does not close, any hints? |
older newer | first last |