From: JHJL on
On Oct 11, 4:34 pm, Bob Techentin <techentin.rob...(a)mayo.edu> wrote:
> As many of you know, I worked with a team of undergraduate students
> last year on refactoring portions of the BLT toolkit so that it would
> work with Tcl/Tk 8.4, 8.5, and beyond.  I was particularly interested
> in the vectors and graphs, as that is what we use.  I also asked the
> team to work on winop (for snap) and the embedded eps portions.  The
> team delivered binaries and source code last May, and it seemed to
> work.  But as I dug a little deeper, there were some build
> dependencies, and the automated tests didn't work quite the way I
> expected.  I've managed to do a little more tweaking, and I think that
> it is ready for an alpha release.
>
>  http://www.sourceforge.net/projects/rbctoolkit/
>
> RBC is:
>  - BLT's vector, graph, barchart,  stripchart, winop, and eps
> components
>  - TEA compliant
>  - 3800+ automated test suite, plus many more manual tests
>  - Works (for me) on win32, linux 32 bit and linux 64 bit, Tcl/Tk 8.4,
> 8.5, and 8.6beta.
>
> RBC is not (yet):
>  - documented
>  - experienced
>  - beautiful (see pkgIndex.tcl for an example)
>  - free from Tcl/Tk internals
>  - including Zoom-Stack
>  - tested with starkits
>
> But if you're willing to try it out, I'd be more than happy to accept
> any feedback.  Please use the sf.net trackers to document issues or
> problems.
>
> Thanks,
> Bob Techentin
> --
> techentin.rob...(a)mayo.edu

Hi Bob

Thanks for this early Xmas present! I have botched a quick-and dirty
way to get the ZoomStack working by doing the following in PopZoom and
PushZoom (graph.tcl)

# busy hold $graph
event generate $graph <Configure>
# busy release $graph

It works for me as they say. I stumbled on this by whilst
interactively trying to set the axis -min value, nothing happend until
I resized the window. I am not sure if <Configure> is the correct
event to use and will wait to see what our learned friends say

kind regard
Julian
From: JHJL on
On Oct 21, 12:02 pm, JHJL <j...(a)hippospace.com> wrote:
> On Oct 11, 4:34 pm, Bob Techentin <techentin.rob...(a)mayo.edu> wrote:
>
>
>
>
>
> > As many of you know, I worked with a team of undergraduate students
> > last year on refactoring portions of the BLT toolkit so that it would
> > work with Tcl/Tk 8.4, 8.5, and beyond.  I was particularly interested
> > in the vectors and graphs, as that is what we use.  I also asked the
> > team to work on winop (for snap) and the embedded eps portions.  The
> > team delivered binaries and source code last May, and it seemed to
> > work.  But as I dug a little deeper, there were some build
> > dependencies, and the automated tests didn't work quite the way I
> > expected.  I've managed to do a little more tweaking, and I think that
> > it is ready for an alpha release.
>
> >  http://www.sourceforge.net/projects/rbctoolkit/
>
> > RBC is:
> >  - BLT's vector, graph, barchart,  stripchart, winop, and eps
> > components
> >  - TEA compliant
> >  - 3800+ automated test suite, plus many more manual tests
> >  - Works (for me) on win32, linux 32 bit and linux 64 bit, Tcl/Tk 8.4,
> > 8.5, and 8.6beta.
>
> > RBC is not (yet):
> >  - documented
> >  - experienced
> >  - beautiful (see pkgIndex.tcl for an example)
> >  - free from Tcl/Tk internals
> >  - including Zoom-Stack
> >  - tested with starkits
>
> > But if you're willing to try it out, I'd be more than happy to accept
> > any feedback.  Please use the sf.net trackers to document issues or
> > problems.
>
> > Thanks,
> > Bob Techentin
> > --
> > techentin.rob...(a)mayo.edu
>
> Hi Bob
>
> Thanks for this early Xmas present! I have botched a quick-and dirty
> way to get the ZoomStack working by doing the following in PopZoom and
> PushZoom (graph.tcl)
>
> # busy hold $graph
> event generate $graph <Configure>
> # busy release $graph
>
> It works for me as they say. I stumbled on this by whilst
> interactively trying to set the axis -min value, nothing happend until
> I resized the window. I am not sure if <Configure> is the correct
> event to use and will wait to see what our learned friends say
>
> kind regard
> Julian- Hide quoted text -
>
> - Show quoted text -

Same trick works for ActiveLegends ie put event generate $graph
<Configure> in ActivateLegend, DeactivateLegend and HighlightLegend.

Not sure why it works, suspect BLT (RBC) minimises redraws ect to
improve performance and that the <Configure> forces it's hand...
From: Bob Techentin on
On Oct 21, 7:29 am, JHJL <j...(a)hippospace.com> wrote:
> I have botched a quick-and dirty way to get the
> ZoomStack working by doing the following in PopZoom and
> PushZoom (graph.tcl)
>
> # busy hold $graph
> event generate $graph <Configure>
> # busy release $graph
>

Nifty! I'll try that.

So the original code in PushZoom and PopZoom was:

busy hold $graph
update
busy release $graph

Are you including any sort of update, or just generating the event? I
also remember the "update considered harmful" issue, and I think it
might apply here. It might make sense to use [update idletasks].
I'll have to play around.

Thanks much,
Bob
From: JHJL on
On Oct 21, 3:49 pm, Bob Techentin <techentin.rob...(a)mayo.edu> wrote:
> On Oct 21, 7:29 am, JHJL <j...(a)hippospace.com> wrote:
>
> > I have botched a quick-and dirty way to get the
> > ZoomStack working by doing the following in PopZoom and
> > PushZoom (graph.tcl)
>
> > # busy hold $graph
> > event generate $graph <Configure>
> > # busy release $graph
>
> Nifty!  I'll try that.
>
> So the original code in PushZoom and PopZoom was:
>
>   busy hold $graph
>   update
>   busy release $graph
>
> Are you including any sort of update, or just generating the event?  I
> also remember the "update considered harmful" issue, and I think it
> might apply here.  It might make sense to use [update idletasks].
> I'll have to play around.
>
> Thanks much,
> Bob

1) I am commenting out the busy calls
2) I have commented out the update call as well

good luck !
From: MSEdit on

Hi,

I tried your trick of Configure <on windows> and it does not work for
me, resizing does work however, I will try other events. (One of my
window is not resizable).

This is not a complete solution however BLTs graph widget updates
without having to generate false events, Is there anyone out there
capable of seeing what has changed in the code ?

Martyn