Menu

#3 Scrollbar support for BLT graphs

open
nobody
None
5
2002-02-14
2002-02-14
No

This patch adds two functions 'axis_xview' and
'axis_yview' to the BLT graph object, which can be used
in scrollbars as 'command' function. For example:

self.xScrollbar=Scrollbar(root,command=self.gPlot.axis_xview)

(and of course something like:
self.gPlot.xaxis_configure(scrollcommand=self.xScrollbar.set)
)

Since I don't have any idea what I was doing ;-) - use
it on your own risk (and if there is an easier way of
doing this, please let me know).

Btw: I had to use 'patch -l' to succesfully apply the
patch.

Cheeers
Joerg

Discussion

  • Jörg Henrichs

    Jörg Henrichs - 2003-08-15

    patch to support axis_xview and axis_yview

     
  • Jörg Henrichs

    Jörg Henrichs - 2003-08-15

    Logged In: YES
    user_id=253313

    Oops - it sems that I forgot to attach the patch last??
    Well, here it is again for Pmw1.2. To apply it, cd into
    Pmw_1_2/lib directory and do a:
    patch -p0 <scrollbar.patch

    Greg: I would appreciate it if you could add this to the
    next Pmw release :)

     

Log in to post a comment.