World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Maarten 25-Mar-2005 [257] | Actually, I was hoping you could point me to RebGUIs docs :-) |
Ammon 25-Mar-2005 [258] | Oh, RebGUI... http://www.dobeash.com/it/rebgui/ |
Maarten 25-Mar-2005 [259] | I thought you adapted some styles already, but now I see you were offering to convert your own. |
Ammon 25-Mar-2005 [260x2] | Ashley's website. |
Yes. | |
Maarten 25-Mar-2005 [262] | (I should go to bed early tonight :-) |
Ammon 25-Mar-2005 [263x2] | Why? |
;~> | |
shadwolf 25-Mar-2005 [265] | can you give us the link to your work AMMON ? |
Maarten 25-Mar-2005 [266] | Goodnight ;-) |
shadwolf 25-Mar-2005 [267x2] | Ammon we can work together ... |
oki I found your set of widgets | |
Ammon 25-Mar-2005 [269] | I'll add the popup code to the Display function as a refinement... display/popup |
shadwolf 25-Mar-2005 [270] | I take drop-down |
Ammon 25-Mar-2005 [271] | That way we can use it to build menus, dialogs and the like... |
shadwolf 25-Mar-2005 [272x3] | oki |
I'm looking to dropdown and I can't see in the popup list the choice entries you supply in the data field... | |
I'm using 1.2.48.3.1 | |
Scot 25-Mar-2005 [275] | Nice work Ashley... |
Ammon 25-Mar-2005 [276x2] | There's actually two copies of the dropdown on rebol.org dropdown.r and drop-down.r |
drop-down.r should work with all versions, which did you download? | |
shadwolf 25-Mar-2005 [278] | i downloaded dropdown.r |
Ammon 25-Mar-2005 [279] | That's the problem then. It is depreciated and replaced with drop-down.r and says so in the script header. Eventually the Library will recognize this and automatically redirect you to the correct version of the script but for now... |
shadwolf 25-Mar-2005 [280x4] | oki it's fixed I just download it |
the 0.0.5 version | |
it's good now I'm starting the adapatation | |
to rebgui | |
Ammon 25-Mar-2005 [284x4] | Interesting... Somehow I have a newer version number on the depreciated script... I'll fix that... |
You're "Installer" example script looks a lot like my Wizard.r style. My Wizard style works alot like a tabpanel but includes a simple way to validate information before or after a particular pane is loaded and it automatically positions the navigation buttons, etc... | |
Is that something we'd like in RebGUI? | |
Ashley, on this page: http://www.dobeash.com/it/rebgui/display.html What does this mean? "Unless otherwise specified, text size reverts to 200x9999 if the string contains a newline." | |
shadwolf 25-Mar-2005 [288] | it's hard to port the dropdown |
Ammon 25-Mar-2005 [289] | Yes, I've been looking closer at display.r and finding that there are actually many things that are going to make it slightly difficult. For example, my popup code use Insert-Event-Func which doesn't work with RebGUI... |
shadwolf 25-Mar-2005 [290x2] | yep layout |
isn't usefull too | |
Ashley 26-Mar-2005 [292] | Vincent: 'list behavior & features - less is more at this stage, once we have something to look at we can refine it. shadwolf: 'text+ removal. While a useful widget for certain domains (like WYSIWYG editors / browsers) it's not a basic building block widget. There were also some unresolved implementation issues with it at this stage - I'll add it back in at a later date as an optional or advanced widget. shadwolf: multi-column list. An implementation model I liked was that adopted by Gui4Cli ( http://users.hol.gr/~dck/g4c/) which allows simple "table" representations (including column type and alignment definitions). Can't say I've come across that many UI's that use anything other than text / numbers in a standard list (thumbnails and scrolling check-box options are usually implemented in an app specific manner). Ammon: 'display/popup. If it's sufficiently different from 'display/layout then I'm all for it. Ammon: Wizard style. A wizard widget, if simple enough, would be a good addition. Like 'group-box and 'tab-panel it is a meta-widget that groups / uses other widgets. I'll make this distinction clearer in the next version of the docs. On a side note, my install example has convinced me of the need for an 'indent option (and the fact that use of 'offset should reset the line-height calculation). Ammon: "Unless otherwise specified, text size reverts to 200x9999 if the string contains a newline." I probably need to rephrase this, but what I was trying to say was that by default 'text is 9999x20 which let's you write a string without having to know it's width in advance (9999 will auto-size it), *but* if the string contains a newline then it is the height that is the more important variable so it'll use 200x9999 instead. Of course it'll only do this if you don't provide an explicit size yourself (the "unless otherwise specified" bit). Hope that makes a bit more sense. |
Robert 26-Mar-2005 [293] | multi-column: It should have an auto-filter option like Excel. This is very handy to filter out records that meat common criterias without having to write queries. |
Ammon 26-Mar-2005 [294x2] | Display/Popup is significantly different from /Layout. /Display appends the face that is generated to System/View/Screen-face. This makes it so that a popup can extend beyond the window of your application. |
The only problem that I have building it is that we are killing the global event system which is what I've been using to make the popup disappear when you click away from it. ;~> | |
Ashley 26-Mar-2005 [296] | If the global event system is the best way of handling this, then we can always reinstate it (a pity though as nothing else has needed it yet). |
Ammon 26-Mar-2005 [297] | You need to be able to catch all click events so that if the user clicks anywhere off of the popup you can hide it. |
Pekr 27-Mar-2005 [298] | RebGUI starts to look nice. As it is still in its beginning, I would like to vote for area change. That is pretty uncommon that ctrl + del or ctrl + backspace deletes text, unless the text is hilighted imo .... |
Graham 27-Mar-2005 [299] | I tried adding the following to tour.r #include %gui.r #include %gfx-colors.r #include %request-file.r #include %display.r and encapped,.. but it tried to excute %gui.r |
BrianW 27-Mar-2005 [300] | I'm probably doing something wrong here, but I get an error when I try do %gui.r: Script: "RebGUI system" (25-Mar-2005) ** Script Error: Word show is protected, cannot modify ** Where: context ** Near: set 'show func [face [object! block!]] [show* face recycle] |
Sunanda 27-Mar-2005 [301] | Sounds like you have protect-system on (usually a good idea) and rebgui wants to reuse a system word (usually a bad idea). Try unprotect 'show to give rebgui permission to overwrite |
Ashley 27-Mar-2005 [302] | Pekr: the edit feel is pretty basic at the moment (doesn't support highlighting or cut / paste). The Ctrl+BackSpace and Ctrl+Del are "delete to end" and "delete to beginning" respectively, which almost all editors support without the need for highlighting ... now the key mappings are another issue. ;) Graham: You need to add the following to %tour.r: #include %gfx-colors.r #include %request-file.r #include %gui.r #include %widgets.r #include %display.r and comment out the "do %gui.r" in %tour.r and the "do %widgets.r" and "do %display.r" lines in %gui.r. I'll make this less painful in the next release. Brian: See Sunanda's response or just comment out the redefine of 'show in %gui.r |
Pekr 27-Mar-2005 [303x2] | Ashley - and that is the trouble - I know NO text editor, which acts like that - deleting something to the end simply by pressing ctrl + del? |
I can imagine my text deleted very easily that way ;-) .... but never mind ... we still have the time to change it .... | |
Ashley 27-Mar-2005 [305] | I used the key bindings from OpenOffice where Ctrl+BackSpace and Ctrl+Del are delete word left and right respectively. EmEditor uses Ctrl-D to delete to end of line ... don't know if there is a "standard" for these types of operations; but as you surmised it's pretty easy to change at this stage. |
Ammon 27-Mar-2005 [306] | Do we want any undo support. |
older newer | first last |