World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Ashley 10-Dec-2006 [5125] | One thing I'd like changed with input-grid (and potentially grid and chart) is to separate the specification dialect into the options block and leave data as a block "of text values for all cells in the grid". It's difficult to do this for widgets like drop-tree and tab-panel where data and specification are merged, but where the separation is clean, as for table and input-grid, it makes it easier to conceptualize by having options/specification in one block (options) and values in another (data). |
Graham 11-Dec-2006 [5126] | Any reason yet why modal windows are flaky in #48 ? |
Robert 11-Dec-2006 [5127] | Ashley, sounds good to me. Our approach is not the final word on those widgets. |
Pekr 11-Dec-2006 [5128] | this is cool menu system :-) did not know about it till the mention on the EFIKA blog link - http://www.rebol.org/library/scripts/menu-system-demo.r |
Robert 11-Dec-2006 [5129x2] | Yep. Christian is really good in doing widgets. |
how old is this? | |
Pekr 11-Dec-2006 [5131x5] | dunno ... |
looks modern enough, so it is rather new :-) | |
heh, Bobik is demotivated to use Rebgui because 1) text-list scroll under the horizont 2) area does not auto-scroll, when you hilite text by mouse. It is interensting, how various ppl feel about various "details" | |
is tooltip availalbe only to toolbar, or is it system-wide? | |
hmm, Cyphre reported that menu system demo is not working with 2.7.4 ... I tried that and got even different message "query has no value" .... | |
Henrik 11-Dec-2006 [5136] | that's the DO/LOAD bug workaround is do read <url> |
Pekr 11-Dec-2006 [5137x2] | hmm, now I have the same error as Cyphre - "Cannot use path on none! value Near: demo: copy/part from system/script/header/version 5" |
we can move the discussion to RAMBO group, if the bug is possible incompatibility or so problem with new version ... | |
Robert 11-Dec-2006 [5139] | tooltip: system wide |
Ashley 11-Dec-2006 [5140] | Run tour.r and let your mouse hover over the logo, a tooltip should appear. ;) |
Graham 11-Dec-2006 [5141x2] | When you click in an area field, everything gets highlighted. How about just putting the caret only? |
I just noticed that in earlier builds you could use integers as values in a radio group. Now you can't. They have to be strings. | |
Ashley 12-Dec-2006 [5143] | re: area hilight. Refer rebgui-edit.r ;added AREA too according to Robert's request -Cyphre hilight-on-focus: [area edit-list field spinner] caret-on-focus: [area drop-list edit-list field grid password spinner] action-on-enter: [drop-list edit-list field password spinner] All of these can be modified at runtime by reference to ctx-rebgui/edit/<block>/<word> ... the bigger question is what constitutes a reasonable set of default values. re: radio-group. Robert's changes forced labels to be strings. I'm pretty comfortable with this change as label expects a string argument and a radio-group is a collection of labels. On the other hand, the reason I changed drop-list (to form all values) is that it is not reasonable to expect an arbitrary list of values to all be strings (e.g. a list of postcodes), and/or to expect the developer to maintain their string state. I'm open to counter arguments on this one though. |
Graham 12-Dec-2006 [5144] | It would be really neat if you could turn your tour.r configuration window into a runtime reusable config screen. |
Ashley 12-Dec-2006 [5145] | I had someone else email me with that exact same thought today! They wanted the ability to load and save RebGUI preference settings. Something I need to think about if we want to support a basic level of "skinning". |
Graham 12-Dec-2006 [5146] | I would just create a rebol object which can be loaded back in again. |
Anton 13-Dec-2006 [5147] | Hopefully the format would be resistent to version changes. |
Graham 13-Dec-2006 [5148x4] | How does one use the 'inside 'outside for the drop-list ? |
Previously the drop-list dropped down, but now they are all opening upwards .. how does one control the direction? | |
Try this ... in tour.r click on one of the modal requesters. The click on the main tabs. The modal requester usually closes down for me. That should not happen. Then the modal requesters fail to open. | |
Confirmed with a new checkout from #49 | |
Graham 14-Dec-2006 [5152] | Ashley, would it be difficult to support the use of 'with in the dialect? |
Ashley 14-Dec-2006 [5153] | Not overly. What's the usage case you have in mind? |
Graham 14-Dec-2006 [5154x3] | well, for instance, to set the mode for drop lists |
otherwise, I have to set the mode inside a do block. | |
Just not as clean. | |
Ashley 14-Dec-2006 [5157] | That's what the options block is for. drop-list and a few other widgets need to be enhanced to fully implement this. |
Louis 14-Dec-2006 [5158x2] | Robert, you wrote: a: sql/flat "select * from" insert clear table/data a table/redraw I still can't get this to work. Would you please put it into Ashley's example program in the right places so I can see how to use it? |
I've been thinking about Jean-Francois' comment. A simple but complete working example of a RebGUI + SQLite database would really help us those of us that are not professionals. If I start a new group for this, and reduce my program to just a few fields to make it as simple as possible, would you guys help me get it working? and we will just leave it in the public domain. | |
Ashley 14-Dec-2006 [5160] | My preferred approach, which I'm working on, is to write an "official" document on interfacing RebGUI with SQLite (or any other database that returns its results as a flat block of values (i.e. does not store rows in sub-blocks)). I've had quite a few people email me with such questions recently. |
Ashley 15-Dec-2006 [5161] | Added a RebGUI cookbook with sections on SQLite integration and SDK app creation: http://www.dobeash.com/RebGUI/cookbook.html |
Robert 15-Dec-2006 [5162x2] | Graham: Do you take a look at the Trac documentation? There it's written how to use 'outside. my-drop-list/popup-mode: 'outside The other feature is missing in the docs: drop-list/droplist-mode - can be 'auto (default) 'upward, 'downward or 'middle to force way how the list is popped up |
radio-group: The DATA block format has changed in our version. You now use: data [1 "text-1" 1 "text-2" 2 "text-3" 3] The first INTEGER specifies the default value. All labels get IDs. This has the advantage, that you can resort the labels but the ID is still valid. And this feature you need if you store the selection of a radio-group in a database. | |
Graham 15-Dec-2006 [5164] | doesn't rg/selected give you the value of the label? |
Robert 15-Dec-2006 [5165] | Yes, and you can use /picked as well. |
shadwolf 19-Dec-2006 [5166x9] | It's been time since my last post here i'm getting lot of work actually and i'm quite busy ... |
on frech scene we are actually discussing on the best way to do a RTM (Ritch Text Mark) widget. | |
2 philosophy are fighting | |
Me with the DRAW/AGG philosophy ( run faster allow to handle large kind of documents but i really don't know how to really handle the text cursor) And Coccinelle who represents the View phylosiphy | |
so as i'm actually stuck with the text cursor full handling concept Coccinelle use this time to build a widget based to view algorithm and exploiting VID cursor concept (T___T CRAPPY cursor selection way if that could be changed in rebol 3.0 i would be the happier man in the world ...) | |
anyway here is the marco brand new redering widget | |
of course unlike our previous rendering projects (MD-Viewer, MDP-GUI, MDP-BRowser) this little challenge and brain storming intent to treat input as well as output rendering. | |
Coccinelle's TDM Style http://www.ladyreb.org/wiki/doku.php?id=tmdstyle | |
Sahdwof' RTE -> http://shadwolf.free.fr/rte-evolution03.r | |
older newer | first last |