HAL_HBox Custom LinuxCNC GUI Tutorial 6a

More
07 Oct 2016 22:02 #81365 by Deleted
I'm following John Thornton's Custom LinuxCNC GUI Tutorial and am presently stuck at Part 6a Building the GUI .

Under the Containers heading, step five is:

Add a HAL_HBox Container with one item to the left box.

The issue is:

a) Glade 3.8.0 has no HAL_HBox item in the HAL Python palette;

b) I can't find an equivalent replacement or substitute for it. So my question is: is there one? If so, which is it? (I believe it's a "HAL Sensitive Table"; see below.)

Further details:

In my attempt to find an equivalent replacement or substitute for HAL_Hbox, I downloaded Mr. Thornton's gui6.glade file and opened it with Glade 3.8.0.

Glade's Inspector's area (upper right) shows the object hierarchy, which does in fact include a "hal_hbox1" item (despite the fact that Glade 3.8.0 lacks such an item in the HAL Python palette). This verifies his Glade code matches the tutorial's step five instruction.

The Properties of "hal_hbox1" shows it is a "HAL Sensitive HBox" -- and the closest item in the HAL Palette would be a HAL Sensitive Table; but whether their behaviors and configuration/attributes are equivalent is something I do not know.

Please Log in or Create an account to join the conversation.

More
07 Oct 2016 22:57 #81370 by andypugh
I don't think you need a HAL_Hbox, the normal Hbox will do. (It might even by an error in the tutorial).
Hboxes are only a way to pack widgets.

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 03:29 #81377 by cmorley
HALTable is equivalent.
HAL_Hbox is deprecated. - it still works but is not available in the editor.

Chris M

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 03:34 #81378 by cmorley

I don't think you need a HAL_Hbox, the normal Hbox will do. (It might even by an error in the tutorial).
Hboxes are only a way to pack widgets.


Not correct actually, HAL_Tables and Boxes have a HAL pin the selects sensitivity or visibility of what is inside them.
There is also one that is sensitive based on the state of linuxcnc.

Chris M

Please Log in or Create an account to join the conversation.

More
26 Oct 2016 18:48 - 26 Oct 2016 18:50 #82110 by BigJohnT
I wonder if that was dropped, yep it does not seem to be there any more.

JT
Last edit: 26 Oct 2016 18:50 by BigJohnT.

Please Log in or Create an account to join the conversation.

Moderators: HansU
Time to create page: 0.082 seconds
Powered by Kunena Forum