From: Bob Techentin on
On Oct 13, 7:11 am, Uwe Klein <uwe_klein_habertw...(a)t-online.de>
wrote:
>
> afair the bltZoomStack stuff is (completely) contained in graph.tcl
> i.e. it is implemented as  scriptonly

Yes. I just looked at the code. It is all script. But I think the
namespaces might have been munged up a bit, which would explain why
changing application code from blt_Crosshairs to rbc_Crosshairs
wouldn't work.

blt::PushZoom and blt::PopZoom both surround an [update] with [busy
hold $graph] and [busy release $graph]. I guess the busy could just
be removed, but there would likely be some bad behavior.

I also see some instances of the blt::table command in the postscript
dialog. There are probably others. But we could probably make most
of this script code work, mostly. :-)

Bob


From: Roger O on
Using RBC, I have just compiled a C application that uses Blt/Rbc
vectors in the C code to manage data viewed via Tk scripts (managed by
the same application) using things from Blt like ::blt::notebook
and ::blt::stripchart. After renaming all the necessary items, I then
tried the application. It stops with this error:

invalid command name "::rbc::tabnotebook"

Should this command exist? Perhaps it is not the rbc namespace? I do
not see it in the list of what Rbc is (original post in this thread).
But I also do not see it in the list of what is not done.

I am using the blt/rbc tabnotebook because it has some nice features
(e.g., detach and reattach a tab). I can consider using a different
tab notebook system; however, as I need Blt (and other functionality)
I am kind of stuck at Tcl 8.4.12. The next possible release of Tcl I
can use is 8.5.5 - but then I cannot use Blt.

Anyway, I first want to sort out if the notebook command should be
available. When I know that I can, if needed, investigate
alternatives.

OOC, what is the eventual goal with RBC? Is this a split from Blt?
Does anyone know if the Blt author is interested in these changes?
From: Roger O on
Bad form to follow up my own post. But I am happy.

I replaced the calls to the ersatz notebook command with one from ttk,
and I have a running application.

It exercises:

- Creating vectors from C

- Making stripcharts and barcharts in scripts, and having them update
when the C code updates the vector they display.

I will test more. But to me this is a big step forward for using
Blt^h^h^Rbc with newer Tcl/tk releases. My tests were with 8.5.5, I
will, of course, try newer. Probably when openSUSE 11.2 is released.

If I have any issues, it is with the ttk notebook. It misses some nice
features that the Blt one has. But I guess that is a different issue.

Is there any technical reason the notebook was dropped? Was it a case
of who needs yet another notebook widget?
From: Bob Techentin on
On Oct 15, 7:31 am, Roger O <roger.oberholt...(a)gmail.com> wrote:
>
> Is there any technical reason the notebook was dropped? Was it a case
> of who needs yet another notebook widget?

There was no _technical_ reason for dropping BLT's notebook, table, or
treeview. I just didn't need them. And good (supported) replacements
exist for all of them. I wanted to concentrate on the unique parts of
BLT - the things that I can't get anywhere else.

At this point, Rbc is a fork of BLT. I did my best (as did others) to
contact George Howlett more than a year ago when we embarked on this
project, and we got no response. I still see CVS activity in the BLT
project on sourceforge, but I haven't found anyone who knows what is
going on there.

Good luck,
Bob
From: Tim Wallace on
My view is the same as Bob's. George hasn't released anything in years,
and I used to download a CVS snapshot every year or so and see if it
would magically work with newer versions of tcl, but no dice. The
latest one I looked at about a year ago seemed to have removed the
"grid" command and subsumed it in the "axis" command. This is too big a
change for me to have any interest in unofficial CVS snapshots any more.

We are using a patched-together version of an old CVS snapshot with 8.5,
but are 100% planning on going with Bob's version in the future!
Vectors and graphs are what we need.

--Tim

Bob Techentin wrote:
> On Oct 15, 7:31 am, Roger O <roger.oberholt...(a)gmail.com> wrote:
>> Is there any technical reason the notebook was dropped? Was it a case
>> of who needs yet another notebook widget?
>
> There was no _technical_ reason for dropping BLT's notebook, table, or
> treeview. I just didn't need them. And good (supported) replacements
> exist for all of them. I wanted to concentrate on the unique parts of
> BLT - the things that I can't get anywhere else.
>
> At this point, Rbc is a fork of BLT. I did my best (as did others) to
> contact George Howlett more than a year ago when we embarked on this
> project, and we got no response. I still see CVS activity in the BLT
> project on sourceforge, but I haven't found anyone who knows what is
> going on there.
>
> Good luck,
> Bob