binding enhancements
Brought to you by:
ghowlett
I noticed the patch for axis binding, but I would like
to be able to bind to the components of the axis, such
as the label and axis itself. I would also like the
ability to bind to the graph components, such as the
title. In general, I am looking for a way to for the
user to be able to double-click on the an axis lablel
or graph title and get a dialog prompt to change it.
This capability would require the ability to bind to
the individual components of the axis and graph.
Logged In: YES
user_id=137748
In 2.4v you can bind to the axis components. You can figure
out where you are by querying the detail.
.graph axis bind all <Enter> {
set axis [%W axis get current]
set detail [%W axis get detail]
if { $detail == "line" } {
%W axis configure $axis -background lightblue2
}
}
The details are "line", "title", and "label".
I'll look into a binding for the graph title.
--gah
Logged In: YES
user_id=348405
Have you had any success with getting a binding for the plot
title?