HAL_HBox Custom LinuxCNC GUI Tutorial 6a
- Deleted
- 
				 Topic Author Topic Author
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 1
- Thank you received: 0
			
	
						07 Oct 2016 22:02				#81365
		by Deleted
	
	
		
			
	
			
			 		
													
	
				HAL_HBox Custom LinuxCNC GUI Tutorial 6a was created 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.
					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.
- andypugh
- 
				  
- Offline
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 19677
- Thank you received: 4554
			
	
						07 Oct 2016 22:57				#81370
		by andypugh
	
	
		
			
	
			
			 		
													
	
				Replied by andypugh on topic HAL_HBox Custom LinuxCNC GUI Tutorial 6a			
			
				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.
					Hboxes are only a way to pack widgets.
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 7230
- Thank you received: 2106
			
	
						08 Oct 2016 03:29				#81377
		by cmorley
	
	
		
			
	
			
			 		
													
	
				Replied by cmorley on topic HAL_HBox Custom LinuxCNC GUI Tutorial 6a			
			
				HALTable is equivalent.
HAL_Hbox is deprecated. - it still works but is not available in the editor.
Chris M
					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.
- cmorley
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 7230
- Thank you received: 2106
			
	
						08 Oct 2016 03:34				#81378
		by cmorley
	
	
		
			
				
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
					
	
			
			 		
													
	
				Replied by cmorley on topic HAL_HBox Custom LinuxCNC GUI Tutorial 6a			
			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.
- BigJohnT
- 
				  
- Offline
- Administrator
- 
				  
		Less
		More
		
			
	
		- Posts: 3990
- Thank you received: 994
			
	
						26 Oct 2016 18:48		 -  26 Oct 2016 18:50		#82110
		by BigJohnT
	
	
		
			
	
	
			 		
													
	
				Replied by BigJohnT on topic HAL_HBox Custom LinuxCNC GUI Tutorial 6a			
			
				I wonder if that was dropped, yep it does not seem to be there any more.
JT
					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.091 seconds	
