Well, I have the following in the ini file:
EMBED_TAB_NAME = THC
EMBED_TAB_LOCATION = thc_box
EMBED_TAB_COMMAND = gladevcp -x {XID} -t Ccc_Mint-X -u thc_box.py thc_box.glade
EMBED_TAB_NAME = THC Settings
EMBED_TAB_LOCATION = thc_settings
EMBED_TAB_COMMAND = gladevcp -x {XID} -t Ccc_Mint-X -u thc_settings.py
thc_settings.glade
There is no code in the .py files yet, and I tried without the -u *.py as well.
As I mentioned, my skin is a modification of Gaxis, and I have changed almost
nothing in the _handler.py for it.
Moses
On 04/01/2015 01:54 PM, Chris Morley wrote:
>
> What command are you using to load the tab? If the tab pins load after
> gscreen this would happen. Seeing code would help.
> Chris M
>
> ----- Reply message -----
> From: "Moses McKnight" <[email protected]>
> To: <[email protected]>
> Subject: [Emc-developers] Gscreen runs postgui.hal before embedded tabs are
> ready
> Date: Wed, Apr 1, 2015 9:22 AM
>
>
> Hi,
>
> I'm building a custom skin for Gscreen based on the Gaxis skin. I have 2
> embedded gladevcp tabs/panels, and HAL widgets on them. In the postgui.hal
> file
> I connect pins from one of these embedded tabs to pins from my custom
> component.
>
> In Axis, or just plain Gscreen with no custom skin, this seems to work fine.
> But using my custom Gaxis skin, Linuxcnc exits before it gets started
> complaining that the HAL pins in the embedded tab do not exist.
>
> If I comment out the lines in the postgui.hal connecting those pins, I can
> start
> the screen and can see the pins in halshow.
>
> So, it seems that I'm doing something wrong or there is a bug that runs the
> postgui.hal before the embedded tabs have created their pins.
>
> Any ideas?
>
> Thanks,
> Moses
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers