Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/e/d/editxt-HEAD/editxt/application.py   editxt(Download)
            app = ak.NSApp()
        z_ordered_eds = set()
        for win in app.orderedWindows():
            wc = win.windowController()
            if isinstance(wc, WindowController) and wc.window_ in self.windows:

src/r/o/robofont-scripts-HEAD/Mask/Copy To Mask.py   robofont-scripts(Download)
def glyphWindowHasFocus():
	window = NSApp.orderedWindows()[0]
	if hasattr(window, "windowName"):
		if window.windowName() == "GlyphWindow":
			return True

src/r/o/robofont-scripts-HEAD/Mask/Clear Mask.py   robofont-scripts(Download)
def glyphWindowHasFocus():
	window = NSApp.orderedWindows()[0]
	if hasattr(window, "windowName"):
		if window.windowName() == "GlyphWindow":
			return True