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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Ingo
4-Sep-2006
[4707]
The following works with button, but not with text-list (which I 
want to use) ...

display "Try to change feel" [
   tl: text-list  feel [
      engage: func [f a e][
         print a
      ]
   ]
   data [ "click"]
   [print 'action]
]
do-events
probe tl/feel
halt
Anton
5-Sep-2006
[4708]
Graham, now that you show me the code, which is now available here
http://anton.wildit.net.au/rebol/rebgui/add-remove-tab-panels.r
I can almost remember writing it !

Ok, the technique used to add/remove tabs from the tab-panel looks 
quite destructive, replacing all the old tab faces with new ones 
whenever a tab is added or removed.
Graham
5-Sep-2006
[4709x2]
So, writing to the old faces won't make things happy
if you have widgets in the old tabs .. are they destroyed as well?
Anton
5-Sep-2006
[4711]
No, shouldn't be. Just the little tab faces themselves are removed 
and forgotten.
Ingo
5-Sep-2006
[4712]
Sorry, I have some connection problems, so here's the second part 
to above message ... again ... ;-)

When I run the above posted snippet, and click on the text-list, 
I get an output of "action", so the action block is run, not the 
changed engage function.

The 'probe shows, that the engage function has been changed in the 
way I have defined it.

So it seems, that RebGUI holds to an old version of engage for text-lists.
Claude
8-Sep-2006
[4713x2]
hello, where we can find the rebgui.grid done cyphre => http://www.xidys.com/rebgui-grid.jpg
it is very  great !
Graham
8-Sep-2006
[4715]
It is still in testing.
Claude
8-Sep-2006
[4716]
ok thanks for the answer ;-)
Graham
8-Sep-2006
[4717]
Ask Pekr for a copy of the beta version.
Claude
8-Sep-2006
[4718]
do you have a little bug too on widget table. when i run tour.r and 
select  list    text-list  and do a maxime of the windows, the little 
line between two column still stay little !!!!!  (excuse me for ma 
english :-p)
Graham
8-Sep-2006
[4719x2]
use the trac to enter bugs.
http://trac.geekisp.com/rebgui- view existing tickets and if not 
there, please add it.
Claude
8-Sep-2006
[4721x2]
oups the bug is not on text-list but in table widget
i don't find the way to input the ticket !!!
Graham
8-Sep-2006
[4723]
Hmm.  The add ticket menu is removed!
Ashley
8-Sep-2006
[4724]
We were starting to get spam tickets being raised, so you must login 
to raise a ticket now. I've just verified the table error Claude 
found so I'll raise a ticket or fix it which ever is quicker.
[unknown: 9]
8-Sep-2006
[4725]
What do you use for a ticket system?
Graham
8-Sep-2006
[4726]
trac
Graham
11-Sep-2006
[4727x2]
Is there a way to trigger an action when the table row changes highlight? 
 If I reorder things using the column headers, the highlight changes 
and I want to initiate an action based upon that.
Perhaps it's a bug that the highlight changes at all when you sort?
[unknown: 9]
12-Sep-2006
[4729]
Trac?
Ashley
12-Sep-2006
[4730]
http://trac.geekisp.com/rebgui/report
Graham
12-Sep-2006
[4731x4]
** Script Error: foreach expected data argument of type: series
** Where: next-field

** Near: foreach sibling siblings [if target: any [tabbed? sibling 
into-widget/forwards sibling] [return target]] al
display "Main Window" [
	button "Click Me!" [
		display "Bug Window" [

   label "Select a value from the drop list and then tab out" return 
			drop-list "Focus here" 20 data [ "A" "B" ] return 
			button "quit" [ halt ] 
		]
	]
]

do-events
this must be none : siblings: compose [(face/parent-face/pane)]
not series I mean
[unknown: 9]
12-Sep-2006
[4735]
I have some questions about Trac, but will move it over to AltME/Rebol3/!Qtask
Graham
12-Sep-2006
[4736]
Can someone add this ticket ... thanks.
Claude
13-Sep-2006
[4737x6]
hi i would like to insert in table.r widget this code :
;BEG propose en new func by Claude 
	add-rows: func [
		rows [block!]
	][
		pos: 1 + length? data
		insert at data pos rows
		redraw
	]
	;END
for add a block of rows a once !!!!
and this other function to remove-allr-rows   ;-)
;BEG propose en new func by Claude 
	remove-all-rows: func[][
		remove/part skip data (length? data) cols
		redraw
	]
	;END
i do not be able to suscribe to track.geekisp.com  to have a login 
:-(
Graham
13-Sep-2006
[4743]
Ask Ashley for a login name
Ashley
13-Sep-2006
[4744]
Noted.
[unknown: 9]
13-Sep-2006
[4745]
Me too.
Ashley
13-Sep-2006
[4746]
I've forwarded both requests to Jaime, shouldn't be longer than a 
day or so.
Graham
14-Sep-2006
[4747x4]
do %rebgui.r

display "table test" compose/deep [

 tl: table 100x50 #W options [ "Item" left .99 ] data [ "A" ] return

 text "Select item, then click on probe selected.  Remove and then 
 try again." return
	button "Probe" [ probe tl/selected probe tl/picked ]
	button "Remove" [ clear tl/data tl/redraw ]  
] do-events
After all the elements are removed, and no row is highlighted, picked 
still => [1] and selected goes from [ ] to [none]
This is anomalous and inconsistent.
So, there is no way of determining whether a row is really selected 
or not.
and a cause of a lot of my problems :(
Ashley
14-Sep-2006
[4751]
That's one nasty bug. Good catch.
Graham
14-Sep-2006
[4752]
Ticketted.
Robert
15-Sep-2006
[4753x2]
Graham: Table stuff. We have changed table to be sort stable. This 
fixes the problem.
Ashley, I have a bunch of changes to RebGUI. How to proceed? Should 
I mail them all to you? Should I just checkin our version to the 
Subversion repository?
Graham
15-Sep-2006
[4755x2]
Robert .. just check them in for people to test.
Thanks.