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  2018  2019  2020  2021  2022  2023  <20242025  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  2018  2019  2020  2021  2022  2023  <20242025 
<== Date ==> <== Thread ==>

Subject: Resizing Phoebus GUI elements
From: Steve Kinder - STFC UKRI via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 1 Oct 2024 13:45:08 +0000
I have a Phoebus GUI that contains an image, amongst other controls and feedback. I am testing the possibility of allowing the image size to change based on how a user resizes the main window. Any tests so far have been using a python script attached to the image. My aim was to allow the image to fill as much space as possible at the bottom to the GUI.

Of course this may be folly but some questions arise:
  • Is this a sensible thing to be doing?
  • Is there a better way rather than via a script or scripts?
  • Can the overall display size be obtained in a script?
  • Is there a way to get the script to execute whenever the GUI is resized?
  • Do people have any examples of GUIs doing similar?
Many thanks

Steve


Navigate by Date:
Prev: RE: Graph displays and callbacks in QuadEM Mark Rivers via Tech-talk
Next: RE: Graph displays and callbacks in QuadEM Iain Marcuson via Tech-talk
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  2018  2019  2020  2021  2022  2023  <20242025 
Navigate by Thread:
Prev: RE: Graph displays and callbacks in QuadEM Iain Marcuson via Tech-talk
Next: PVXS release 1.3.2 and P4P 4.2.0 Michael Davidsaver via Tech-talk
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  2018  2019  2020  2021  2022  2023  <20242025 
ANJ, 01 Oct 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·