World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
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 [5166x12] | 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 | |
of course our final goal is to offert to RebGUI community the first true heavy fashonned Richt text editing widget | |
Feel free to retake our code and enhance it code enhancement can be sent in the Rich Text topic here | |
Choose your technology and make it win ^^ | |
Coccinelle 19-Dec-2006 [5178] | Just a precision, TDM Style use FACE capability to calculate the offset and the size of each items and also to for the caret <> offset mapping, but it use DRAW/AGG to display the result. Vectorial text is not supported. For this, we realy need the cursor managed by DRAW/AGG. |
Ashley 19-Dec-2006 [5179] | Impressive effort guys, and while it can enable things like WYSIWYG editors and HTML renderers it's not a priority for RebGUI inclusion at present. I'm comfortable waiting for an "official" solution in R3, but if folks need rich text *now* then they have at least two alternatives! ;) |
Graham 22-Dec-2006 [5180] | Is there a way to visually select a row in the table widget *without* triggering the associated action? |
Robert 23-Dec-2006 [5181] | Yes, table/select-row/no-action |
Graham 23-Dec-2006 [5182x4] | thanks. |
I've added this to rebgui-edit.r feel -> engage -> switch alt-down [ if face/type = 'area [ face/action face ] ] to allow me to bring up a context menu on the area widget. | |
my version anyway ... | |
Don't know if this is some type of font issue, but labels are bold in Windows, but in Debian, they are not. | |
Ashley 23-Dec-2006 [5186] | Probably a font issue. Try changing font to Arial (set-fonts/name "Arial"). |
Graham 23-Dec-2006 [5187] | No difference .. is Arial a standard Linux font? |
Ashley 23-Dec-2006 [5188] | More standard than the default verdana. Does VID have the same issue? |
Graham 23-Dec-2006 [5189x2] | let me check. |
No, fine in VID | |
Ashley 23-Dec-2006 [5191] | Hmm, labels are Arial 12 in VID so the following should work in RebGUI: set-fonts/name "arial" set-fonts/size 12 display "test" [label "Text"] if not, check the font name and size used by VID; layout [a: label] help a/font |
Graham 23-Dec-2006 [5192x7] | I just downloaded build #46 off dobeash and ran it on Debian. |
No bold text anywhere. | |
Let me check the fonts available in Debian. | |
dunno where the font browser is in Debian. | |
helvetica | |
Ok, that works. Changing the font to helvetica gives me bold. Thanks. | |
Arial I recall is a windows only font that was supposed to substitute for helvetica | |
Ashley 23-Dec-2006 [5199] | Uploaded your alt-action area change to SVN as build#50, except it triggers alt-action like so: area [] [print "Right click"] |
Graham 23-Dec-2006 [5200x2] | Was this tested? display "" [ area 100x100 [][print "alt click"]] do-events does nothing for me. |
ooops... retract that. | |
Graham 24-Dec-2006 [5202] | Regarding info fields, you can't click into them, but you can tab to them. Should that be allowed? |
older newer | first last |