pyworkflow.gui.gui module¶
-
class
pyworkflow.gui.gui.
Window
(title='', masterWindow=None, weight=True, minsize=(500, 300), icon='scipion_icon.png', **kwargs)[source]¶ Class to manage a Tk windows. It will encapsulates some basic creation and setup functions.
-
pyworkflow.gui.gui.
aliasFont
(fontAlias, fontKey)[source]¶ Set a fontAlias as another alias name of fontKey
-
pyworkflow.gui.gui.
centerWindows
(root, dim=None, refWindows=None)[source]¶ Center a windows in the middle of the screen or in the middle of other windows(refWindows param)
-
pyworkflow.gui.gui.
configureWeigths
(widget, row=0, column=0)[source]¶ This function is a shortcut to a common used pair of calls: rowconfigure and columnconfigure for making childs widgets take the space available
-
pyworkflow.gui.gui.
getGeometry
(win)[source]¶ Return the geometry information of the windows It will be a tuple (width, height, x, y)
-
pyworkflow.gui.gui.
getImage
(imageName, imgDict=None, tkImage=True, percent=100, maxheight=None)[source]¶ Search for the image in the RESOURCES path list.
-
pyworkflow.gui.gui.
getImageFromPath
(imagePath)[source]¶ Read an image using Xmipp, convert to PIL and then return as expected by Tk.
-
pyworkflow.gui.gui.
getPILImage
(imageXmipp, dim=None, normalize=True)[source]¶ Given an image read by Xmipp, convert it to PIL.