Home | History | Annotate | Download | only in plat-mac

Lines Matching refs:pos

294 def location(object, pos=None):
295 """Set the position of a Finder window for folder to pos=(w, h). Specify file by name or fsspec.
296 If pos=None, location will return the current position of the object."""
299 if not pos:
301 return _setlocation(object_alias, pos)
329 pos = args['----']
330 return pos.h, pos.v
484 def windowposition(folder, pos=None):
485 """Set the position of a Finder window for folder to pos=(w, h)."""
489 if not pos:
491 if type(pos) == InstanceType:
492 # pos might be a QDPoint object as returned by _getwindowposition
493 pos = (pos.h, pos.v)
494 return _setwindowposition(folder_alias, pos)
803 pos = (100+i*10, 100+i*10)
804 windowposition(base, pos)
805 print '\twindow position', pos