r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!RebGUI] A lightweight alternative to VID

Graham
4-Feb-2008
[7398]
I would like to double click on the choices in the edit-list, but 
that then results in loss of the highlite on the selected word.

Also, I would like to see some way for the text to scroll following 
the highlite, and currently I have to move the slider manually.
Brock
4-Feb-2008
[7399]
Nice work Graham.
Jerry
4-Feb-2008
[7400]
Graham, it's really cool.
Gregg
4-Feb-2008
[7401]
Impressive as always Graham.
Graham
4-Feb-2008
[7402]
thanks .. now to see if Ashley can help improve the focus/highlighting 
issues :)
Ashley
5-Feb-2008
[7403]
Quite possible ... I'm looking at a 'no-focus option that would allow 
you to click certain widgets (e.g. text-list) *without* changing 
focus. This option would be the exception rather than the rule.
Kai
5-Feb-2008
[7404]
Any chance we'll be able to use a 'set-state/info with checks, spinners, 
drop-lists any time soon?
Graham
5-Feb-2008
[7405]
Sounds great!
Ashley
5-Feb-2008
[7406]
A set-info func is in the works, but requires some rather extensive 
widget changes (e.g. drop-list and edit-list are different widgets 
at present).
Graham
5-Feb-2008
[7407]
I don't know how easily this can be fixed, but in VID if you highlight 
a text field by dragging across it and move outside the field, the 
highlight stays.  But in Rebgui .. it is lost.
Graham
8-Feb-2008
[7408]
Any chance of having a filter that we can place on a table?
Ashley
9-Feb-2008
[7409]
Suggested specification syntax?
Graham
9-Feb-2008
[7410x3]
Well, we need to be able to specify a column, or a list of columns, 
 and a test on that column(s).
How about having an object that represents each column, and we can 
provide a function for each column, or none! .. and if the function 
returns true, for each column where there is a function, then it 
displays ?
Maybe we can also control the sort order this way as well?
Graham
18-Feb-2008
[7413x2]
Is there a way I can hook into the table display so that I can apply 
a formatting function to a column?
I've got a value of .004 that is being displayed in scientific notation, 
and so I want to use Gabriele's form-decimal on it at display time.
btiffin
18-Feb-2008
[7415]
Yeah, it's too bad about that  ecvt issue in Wine.  It's been reported 
for years now.  Quite a few attempts by people to get patches approved 
have gone by the by.
Graham
19-Feb-2008
[7416x2]
ecvt ?
Ok.  got it.
Ashley
19-Feb-2008
[7418]
I've got a value of .004 ...

 ... best way is to pre-format the data by poking the string form 
 you wish to present it in.
Graham
19-Feb-2008
[7419]
Trouble is, all sorts of functions use the data and expect it to 
be numeric, and not a string.
Ashley
20-Feb-2008
[7420]
The problem's a bit more general than table data then ... what happens 
when this decimal value appears in other widgets (e.g. text, field, 
drop-list, etc) ... fix needs to be at the native level ... perhaps 
we need to patch 'form as an interim measure? Is this a windows only 
issue?
Graham
20-Feb-2008
[7421]
Actually it's a wine issue.  I store the data in the table/data so 
am reluctant to form it there as I use the data for various calculations. 
 Oh well, I have now formed it into text.
Graham
21-Feb-2008
[7422x3]
do you have to be on the tab panel you are replacing to use tab-panel/replace-tab 
?  I see the new layout appear on the current tab.
Ashley, I got an error on these lines in replace-tab

		pane/:num/color: colors/page
		pane/:num/edge: outline-edge


I presume that there was a change to pane a while ago.  Was this 
related to the new look?
Are the function keys accessible under Linux?
Ashley
21-Feb-2008
[7425]
do you have to be on the tab panel you are replacing to use tab-panel/replace-tab?
 ... No, see the following test case:

	t: tab-panel data [
		"A" [field]
		"B" [field]
	]
	button [t/replace-tab 2 [button]]

Click the button then tab "B".

... Was this related to the new look?

 ... yes, the new look is an extensive WIP that "breaks" build 112.

Are the function keys accessible under Linux?
 ... http://www.dobeash.com/RebGUI/user-guide.html#section-4.4
Graham
21-Feb-2008
[7426x3]
Yeah, a sdk 2.7.5 issue.
This seems to work in lInux.  In display.r, change

							find [f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12] event/key
to 

       find [ console listen tcp udp icmp dns local odbc oracle mysql crypt 
       compress ] event/key

and redefine on-fkey in rebgui-ctx.r

	on-fkey: make object! [

   console: listen: tcp: udp: icmp: dns: local: odbc: oracle: mysql: 
   crypt: compress: none
	]
so that function keys work in 2.7.5
JohanAR
29-Feb-2008
[7429]
Any possibility of getting 2-state checkboxes and groups?
Ashley
29-Feb-2008
[7430]
Uploaded build#102 with 'bistate option for check and check-group. 
Option disables right-click state selection.
JohanAR
1-Mar-2008
[7431]
Ooh, I thought 101 was the latest release. Been away for a while
DanielP
3-Mar-2008
[7432]
HI, I'm new to Rebgui. Is it possible to use Draw or AGG in Rebgui 
personnal widgets ?
Robert
3-Mar-2008
[7433]
Yes, no problem.
DanielP
3-Mar-2008
[7434x4]
Ok but when i Try a simple example I receive an error :
REBOL []

do %rebgui.r

append-widget make rebface [ draw [
            pen yellow
            line 20x20 80x80
        ]
** Script Error: draw expected image argument of type: image pair
** Near: draw [
    pen yellow
    line 20x20 80x80
]
Is it possible to use drag'n'drop in Regui ?
Ashley
3-Mar-2008
[7438]
append-widget [
	my-widget: make rebface [
		effect: [draw [pen yellow line 20x20 80x80]]
	]
]
DanielP
3-Mar-2008
[7439]
Cool & simple !
Ashley
3-Mar-2008
[7440]
Drag'n'drop support is not 'built-in' as such ... you have to add 
/ code it on a widget by widget basis.
DanielP
3-Mar-2008
[7441]
ok
DanielP
5-Mar-2008
[7442x2]
I try to use RebGui with Q-Plot but the plot is in a separate window 
instead of to be inserted intto rebgui  display.
do %rebgui.r
do %q-plot.r
   
append-widget [ 
    plot-widget: make rebface[                             
    view quick-plot [
        300x300
        fill-pen blue
        pen red
        bar-width 15
        bars [5 3 8 2 10 3 4 9 5 7]
        label "Meaningless bars"
        y-axis 9
        ]
        
    ]
]    
                                                 
display "Plot 1" [

                group-box "Graphique" data [plot-widget]                      
                 ]
do-events
JohanAR
6-Mar-2008
[7444x2]
I'm having some trouble that I was hoping you could help me with.. 
again :)


I want to have a tab in a tab-panel that contains some kind of group 
block and a button. Every time the button is pressed the group block's 
contents should change to a new, dynamically generated, GUI block.


It works up to the part where the button is pressed, but the group 
block is never changed.
I can add that the dynamically generated GUI consists of a mixture 
of texts, fields and another button. When that button is pressed 
all fields are evaluated and possibly modified.
DanielP
6-Mar-2008
[7446x2]
I found the solution by myself :
pane: reduce [                             
     quick-plot [
        300x300
        fill-pen blue
        pen red
        bar-width 15
        bars [5 3 8 2 10 3 4 9 5 7]
        label "Meaningless bars"
        y-axis 9
        ]             
      ]