def __init__(self,parent,window,numframes): """The contstructor. parent - tkinter window to place new dialog window on to. window - string name of ds9 window numframes - number of frames required for ds9""" self.numframes = numframes self.window = window genericDialog.__init__(self,parent,\ title="Show All sources",b1='Show',b2='Cancel')
def __init__(self,parent,window,numframes,b1='Load',b2='Cancel'): """The contstructor. parent - tkinter window to place new dialog window on to window - string name of ds9 window numframes - number of frames required for ds9 b1 - string with text of default action b2 - string with text of cancel type action""" self.numframes = numframes self.window = window self.entrylist = [] genericDialog.__init__(self,parent,\ title="Load Images into %s" %window,b1='Load',b2='Cancel')
def __init__(self,parent): """The constructor function""" genericDialog.__init__(self,parent,title='OpenSave',b1="OK",b2="Cancel")
def __init__(self,master,title='Choose Format',b1='Open'): """Constructor function""" self.valid = False # set to true if user clicks b1 genericDialog.__init__(self,master,title=title,b1=b1)