World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
btiffin 8-Aug-2008 [7629] | 2.7.6 Demo of RebGUI. If you try the spinner, Ctrl-MouseWheel then later try Functions/Requestors request-ui it fails with ** Script Error: Invalid argument: $10.00 ** Where: init ** Near: all [not empty? text data: to type? first options text] para/margin/x: size/y p: Where the invalid argument is the same data as the last Ctrl-Mousewheel. So it could be 9:00, 18:00, $10.00 etc. I haven't tracked through any of the code yet, being a lazy git. |
Graham 14-Aug-2008 [7630x2] | How to make the rows of a table accessible to the cursor keys without using the mouse to grab focus? |
display "" [ t: table 20x60 options [ "code" left 1. ] data [ 1 2 3 4 5 6] do [t/select-row 1 ]] do-events but the cursor keys don't work until I click on a row. | |
Graham 15-Aug-2008 [7632x2] | Looks like you can tab out of a table, but not into one. |
Because you can't tab to a table, a table blocks the tab sequence across a form. | |
Graham 16-Aug-2008 [7634] | Ashley, is there a way to simulate a mouse click on the first element of a table so that arrow navigation can then be activated? |
Ashley 16-Aug-2008 [7635] | Yes, I think. Something like: a: context [double-click: false] display "" [table options ["c" left 1.] data [a b] do [ t/pane/1/pane/1/line/feel/engage t/pane/1/pane/1/line 'down a ]] do-events but this is not quite there. The trick is to pass the correct face argument to the engage function of the face-iterator. |
Graham 16-Aug-2008 [7636] | what we need is anamonitor for Rebgui! :) |
Pekr 28-Aug-2008 [7637x3] | Can RebGUI table or sheet style contain check boxes? I need small util, which will allow ppl to choose multiple items from the catalog at the same time. |
I know it has multiple line selection, but it is rather primitive. | |
Where can I find more info about API changes of RebGUI, which happened some time ago? I would like to get Cyphre's grid working, as it is many times better than table available, even without column resizing .... | |
shadwolf 28-Aug-2008 [7640x4] | Pekr I can give you a rebGUI table widget I done long ago that handles it ... -> http://shadwolf.free.fr/rebgui-list52.r |
this file includes widget + sample | |
I didn't tested it with new version of rebgui but it should still work | |
this code is free to use you can edit copy redistribute etc... | |
Pekr 28-Aug-2008 [7644x2] | Thanks, will try in the evening, once I am back from my work .. |
is it supposed to work stand-alone? What do I need to run it? | |
shadwolf 28-Aug-2008 [7646] | rebgui installed |
Pekr 28-Aug-2008 [7647] | yeah ... I mean - I run - do %rebgui.r, and then? do I have to construct 'display, or does it contain runnable example? |
shadwolf 28-Aug-2008 [7648x4] | it was designed to be a rebgui widget that was the prototype for table widget long time ago and a play for me on an amazing and very VID Topic " widget auto compositing subwidgets" widgetwriting widgets that's so neat ^^ |
hum you have the 10 last line of the file a demo code of how to use it | |
you have a flag ;Demo code to identify the begining of the demo code | |
it works the folowing way you build a data list and then you pass it in arg into your display block | |
amacleod 28-Aug-2008 [7652] | I tried it but got an error... ** Script Error: Invalid path value: rebface ** Near: listview: make ctx-rebgui/rebface [ size: 400x300 data: [] pane: [] cols: none rows: none l... I believe REbGUI version: 112 |
shadwolf 28-Aug-2008 [7653x2] | ctx-rebgui/rebface -> internal object .... hum let me see |
ctx-rebgui/rebface replace this by : listview: make rebface [ | |
amacleod 28-Aug-2008 [7655] | ** Script Error: listview has no value ** Where: layout ** Near: listview 80x60 data [["Title 1" text "Title 2" check "Title 3" image "Title 4" image "Title 5" text] ["Line 1:1" fals e l... |
shadwolf 28-Aug-2008 [7656x6] | yeah I saw that ... |
i'm trying to find a solution rebgui moved more than I expected | |
ok sorry too much change well a fast solution would be i think to copy the liste-view code after rebface[ and paste it to the regui.r file where belongs table: make rebface ] | |
but this provide a temporary solution i'm not sure there is no other rebgui interfaces that diseapear | |
hum as I thought all the widgets interface in rebgui completly changed | |
Ok so sorry for the time lost | |
amacleod 28-Aug-2008 [7662] | I was just curious to see what you had there...no prob. |
shadwolf 28-Aug-2008 [7663] | http://shadwolf.free.fr/rebgui-list2.jpg^^ |
amacleod 28-Aug-2008 [7664] | nice |
shadwolf 28-Aug-2008 [7665x2] | and that's a pic of the pre alpha version the 5.2 version was more accurate |
if you can put your hand on a rebgui 0.38 that widget should work | |
Graham 29-Aug-2008 [7667x5] | is that a working anamonitor?? |
I see a [ana] button in your picture | |
Cyphre sent me this code and has also placed it into SVN | |
>> display "" [ mt: table options [ "data" left 1.0 ] data [ "a" "b" ] return button "select" [ mt/select-row 1 system/view /caret: mt/pane/1/pane/1/text system/view/focal-face: mt/pane/1/pane/1 show system/view/focal-face]] do-events | |
which allows one to select the rows with cursor after selecting a row programmatically. | |
shadwolf 29-Aug-2008 [7672x2] | ana button call for anamonitor wich helps me to debugging and no my list-view don't works anymore with recent rebgi version (it was done with rebgui 0.36 ... ) |
debuging with anamonitor 2.0 is moreaccurate than setting probe | |
Graham 2-Sep-2008 [7674x4] | w: has [][ display "" [ f: field do [ set-focus f ] ] ] display "test" [ button "Focus Test" 20 [ w ] return text-list 45x45 data ["W" ] [ switch face/selected [ "W" [ w ] ] ] ] |
What's going on here? If you use the button, the field f focuses okay. Use the text-list, and the focus does not appear. | |
the equivalent VID code w: does [ view/new layout [ f: field do [ focus f ] ] ] view center-face layout [ button "Focus Test" 90 [ w ] return text-list 100x30 data ["W" ] [ switch face/text [ "W" [ w ] ] ] ] works as expected. No focus issues. | |
Ashley, can this be fixed easily? | |
sqlab 2-Sep-2008 [7678] | I just used the tour.r on the latest rebgui. There you can select a color for a button, but as soon as the mouse hovers over the button, the colors switches to the defaults. Is this by intent or is there a way to keep the selected color(s) ? |
older newer | first last |