Set or query the source of the window’s current position. who is either 'program' or 'user' and indicates whether the position was requested by the program or by the user; an empty string cancels the current source. With no argument, return the current source, or an empty string if none has been set. Tk automatically sets the source to 'user' when geometry() is called, unless it has been set explicitly to 'program'. wm_positionfrom() is an alias of positionfrom().