Glade side panel plus glade tab, tab grayed out

More
17 Sep 2015 04:54 - 17 Sep 2015 04:56 #62653 by tome
I must have something basic messed up. I have a glade side panel and want to add a glade tab as well for tool touch off. The tab appears, but the glade config I have (a couple labels, a regular button and a hal spinbutton) is all grayed out when Axis comes up.

Also, in the Show HAL configuration window I don't see any of the widgets that I put in the tab tooltouchoff.ui file under pins:gladevcp.

In the .ini I put:

[DISPLAY]
DISPLAY = axis
GLADEVCP = ./EMCO120p-panel.ui -d
EMBED_TAB_NAME=Tool Touchoff
EMBED_TAB_COMMAND=halcmd loadusr -Wn tooltouchoff gladevcp -c tooltouchoff -x {XID} ./tooltouchoff.ui


I also tried changing the last line to this, but it had no effect:
EMBED_TAB_COMMAND=gladevcp -c tooltouchoff -x {XID} ./tooltouchoff.ui

What am I doing wrong?
Thanks,
-Tom
Last edit: 17 Sep 2015 04:56 by tome.

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

More
17 Sep 2015 05:17 #62654 by tome
Nevermind, I figured it out. RTFM. I was using a hal_table and needed to do "setp tooltouchoff.hal_table4 1" in my custom_postgui.hal file.

-Tom

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

More
17 Sep 2015 20:19 #62694 by cmorley
actually, if you don't need the grayout functionality..you can use a regular table and you won't have that problem.

Chris M

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

More
17 Sep 2015 20:32 #62695 by tome
Thanks Chris I hadn't thought about that. I have several Hal tables and don't need that functionality.
-Tom

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

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