Menu

#1 binding enhancements

open
nobody
None
5
2001-10-13
2001-10-13
Anonymous
No

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.

Discussion

  • George A. Howlett

    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

     
  • Kevin Partin

    Kevin Partin - 2002-02-02

    Logged In: YES
    user_id=348405

    Have you had any success with getting a binding for the plot
    title?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.