EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Modify checkbox value from a table widget
From: Pete Jemian <[email protected]>
To: <[email protected]>
Date: Wed, 25 Apr 2018 07:46:39 -0500

Pilar:

You have not told us enough about your package that provides the table and checkbox widgets. Also, your question is about python GUI programming and is not specific to the topic of this email list: EPICS or control systems. You might be better served by seeking help at one of these locations.

Python mailing lists: https://www.python.org/community/lists/
Python tutor list: https://mail.python.org/mailman/listinfo/tutor
LearnPython on Reddit: https://www.reddit.com/r/learnpython/

Pete

On 2018-04-25 3:03 AM, Pilar Gil Jaldo wrote:
Hello,

I'm having problem while trying to modify the checkbox value from a table widget from a python script. And I would like to know if it is possible to do it.

Write now I have a table:

     tab = display.getWidget("Table").getTable()

And for enable the checkbox I'm using following command.

     tab.setCellText( 1, 1, "Yes")

The problem that I have is that I can see "Yes" written on the table, but the checkbox is not enabled.

Has someone of you handle before with such a problem?

Thank you very much in advance!

Pilar

--

*Pilar Gil Jaldo*
Embedded SW Engineer
[email protected] - Seven Solutions <https://www.sevensols.com>

"This e-mail and any materials attached here to, including, without limitation, all content hereof and thereof are confidential and proprietary to Seven Solutions,S.L and/or its affiliates, and are *confidential*. Without the prior written consent of Seven Solutions, this content may not (i) be disclosed to any third party, (ii) be reproduced, modified or otherwise used by anyone other than current employees of Seven Solutions or its affiliates. If you are not the intended recipient or if this message has been received in error, please immediately notify us via e-mail and delete it."


--
----------------------------------------------------------
Pete R. Jemian, Ph.D.                 <[email protected]>
Beam line Controls and Data Acquisition (BC, aka BCDA)
Advanced Photon Source,    Argonne National Laboratory
Argonne, IL  60439                    630 - 252 - 3189
-----------------------------------------------------------
      Education is the one thing for which people
         are willing to pay yet not receive.
-----------------------------------------------------------



References:
Modify checkbox value from a table widget Pilar Gil Jaldo

Navigate by Date:
Prev: Re: Problem with autosave module making it crash at random basis. Mark Rivers
Next: Re: Modify checkbox value from a table widget Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Modify checkbox value from a table widget Pilar Gil Jaldo
Next: Re: Modify checkbox value from a table widget Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 25 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·