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

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

src/e/d/editxt-HEAD/editxt/controls/statscrollview.py   editxt(Download)
    def initWithFrame_(self, rect):
        super(StatusView, self).initWithFrame_(rect)
        font = ak.NSFont.fontWithName_size_("Monaco", 9.0)
        for fname in ["linenumView", "columnView", "selectionView"]:
            field = ak.NSTextField.alloc().initWithFrame_(fn.NSZeroRect)

src/e/d/editxt-HEAD/editxt/application.py   editxt(Download)
        tv.setAutoresizingMask_(ak.NSViewNotSizable)
        tv.setFieldEditor_(True)
        tv.setFont_(ak.NSFont.fontWithName_size_("Monaco", 10.0))
 
    def populateWithClipboard(self):

src/l/i/lightning-HEAD/link/Lightning/PMController.py   lightning(Download)
 
        # Style the bodyField.
        self.bodyField.setFont_(NSFont.fontWithName_size_("Monaco", 13))
        self.bodyField.setRichText_(NO)
        self.bodyField.setUsesFontPanel_(NO)

src/e/d/editxt-HEAD/editxt/test/test_document.py   editxt(Download)
    ts = doc.text_storage = m.mock(ak.NSTextStorage)
    undoer = m.method(doc.undoManager)
    font = ak.NSFont.fontWithName_size_("Monaco", 10.0)
    spcw = font.screenFontWithRenderingMode_(ak.NSFontDefaultRenderingMode) \
        .advancementForGlyph_(ord(" ")).width

src/n/o/nodebox-pyobjc-HEAD/libs/polymagic/polymagic_test.py   nodebox-pyobjc(Download)
print intersects(p1, p4)
 
f = NSFont.fontWithName_size_("Helvetica", 72)
fp1 = NSBezierPath.bezierPath()
fp1.moveToPoint_((100, 100))