Hi Ian,

The scale widget ('slider') is a light wrapper around the tkinter scale 
widget and can be oriented either horizontally or vertically with

<orient>HORIZONTAL</orient>  or <orient>VERTICAL</orient>, Pyvcp doesn't deal 
with that, 
it's just passed directly as a parameter to the tkinter object.


The bar widget you want inherits from canvas and all the drawing is done 
in pyvcp_widgets.py, but there is no code there right now that would 
recognize an <orient> tag or would do the drawing vertically.
Learn a bit of Python, Tkinter, and HAL and you could look at the 
pyvcp_bar() class in pyvcp_widgets.py and figure out how to do it yourself!

Anders
> Hi,
>
> I have finally got my stepper driven lathe working Ok and configured 
> speed indication on the AXIS display as in the 'sim lathe' config. 
> however, I would really like to have the speed bar displayed vertically 
> to maximise the plot window on the screen. I have found some mention in 
> documentation of it being possible to make a vertical bar graph but 
> can't find any examples and, while I've experimented with the script for 
> some time, I can't find a way to make such a thing work. ( I actually 
> got quite confused at one point when I found that I had been reading 
> documentation for a very similar program - Super Karamba I think - which 
> seemed to produce bar graphs in a very similar way and had a 'vertical = 
> true' option). Has this been done before? When I have everything sorted 
> out to my satisfaction, I'll post the config files somewhere (??) with a 
> description...
>
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to