On Monday 25 January 2016 06:33:48 John Thornton wrote:

> As far as I know you can't set the size of a container as it
> grows/shrinks to fit the objects it contains. You can however set the
> size of the led as well as padding.
>
> http://linuxcnc.org/docs/2.7/html/gui/pyvcp.html#_leds
>
> JT
Thanks John.  I'd already found that.  I have also tried to  use glade 
and glade-gtk2 editors to bring some of the glade stuff into workable 
condition on these wheezy based installs.  But glade-gtk2 is version 
2.10, and throws up its hands when asked to load stuff from the 2.16 or 
newer construction which the files I have are.  glade, is gtk3 v3.8.0, 
and complains that it needs a gladevcp catalog, a critter I can't find 
in the repo's.

So I'm in "between versions hell" trying to use glade, and the pyvcp 
stuff is so poorly documented its criminal.  The problem I have is that 
an hbox in a vbox containing a text over rectled setup, and there are 3 
rectled's, takes up an inch of vertical space, half of which is wasted 
white space.  It could easily, if I knew how, be shrunk vertically by at 
least half an inch and would artistically be a lot more pleasing.

If no one knows where the gladevcp catalog is, as in what package, I 
might be able to bring this stuff up to gtk3.  But w/o that, I think I 
am stuck with pyvcp and its display oddities.  I'll see if its possible 
to use negative values in the <ypad>-1</ypad> just for grins.

Do you know if is possible to change the background color in the pyvcp 
meter in response to a hal pin input?

If that is possible, then all 3 of those rectled's can go away. I am 
using the ON led to tally that the time delay has expired and the 
spindle supply is now capable of full output.  The other two are tied to 
fwd and reverse of the spindle, something the icons beside the spindle 
stop button in the left axis panel tally anyway.

Half an hour later, the <padx>, <pady> have no effect inside a rectled 
construct even when the n given was 100, and are lcnc killing errors 
outside of it.  Aparently only aplicable to a round led?

> On 1/24/2016 8:03 PM, Gene Heskett wrote:
> > How do I go about setting the vertical size of a <vbox> ... </vbox>
> > construction?
> >
> > How do I set the vertical position of the text?
> >
> > How do I move the led so as to center it in the box?
> >
> > Thanks pyvcp experts. :)  A URL link would be great, but my
> > google-foo hasn't found one.
> >
> > Cheers, Gene Heskett
>
> ----------------------------------------------------------------------
>-------- Site24x7 APM Insight: Get Deep Visibility into Application
> Performance APM + Mobile APM + RUM: Monitor 3 App instances at just
> $35/Month Monitor end-to-end web transactions and take corrective
> actions now Troubleshoot faster and improve end-user experience.
> Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to