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

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

src/l/i/Lightningbeam-HEAD/GUI/Cocoa/TextEditor.py   Lightningbeam(Download)
#------------------------------------------------------------------------------
 
from AppKit import NSTextView, NSScrollView, NSViewWidthSizable, \
    NSMutableParagraphStyle
from GUI import export
class PyGUI_NSTextView(NSTextView, PyGUI_NS_EventHandler):
    __metaclass__ = NSMultiClass
    __slots__ = ['pygui_component']
 
export(TextEditor)

src/k/u/kuma-lib-HEAD/packages/ipython/IPython/frontend/cocoa/cocoa_frontend.py   kuma-lib(Download)
                        NSString, NSAutoreleasePool
 
from AppKit import NSApplicationWillTerminateNotification, NSBeep,\
                    NSTextView, NSRulerView, NSVerticalRuler
 

src/i/p/ipython-py3k-HEAD/IPython/deathrow/oldfrontend/cocoa/cocoa_frontend.py   ipython-py3k(Download)
                        NSString, NSAutoreleasePool
 
from AppKit import NSApplicationWillTerminateNotification, NSBeep,\
                    NSTextView, NSRulerView, NSVerticalRuler
 

src/e/d/editxt-HEAD/editxt/controls/commandview.py   editxt(Download)
class ContentSizedTextView(ak.NSTextView):
 
    def initWithFrame_(self, rect):
        super(ContentSizedTextView, self).initWithFrame_(rect)
        self.text_did_change_handler = lambda textview: None # no-op by default

src/e/d/editxt-HEAD/editxt/controls/textview.py   editxt(Download)
class TextView(ak.NSTextView):
 
    app = WeakProperty()
    editor = WeakProperty() #objc.ivar("editor")
 

src/k/u/kuma-lib-HEAD/packages/ipython/IPython/frontend/cocoa/tests/test_cocoa_frontend.py   kuma-lib(Download)
    from IPython.frontend.cocoa.cocoa_frontend import IPythonCocoaController
    from Foundation import NSMakeRect
    from AppKit import NSTextView, NSScrollView
except ImportError:
    # This tells twisted.trial to skip this module if PyObjC is not found

src/e/d/editxt-HEAD/editxt/test/command/test_util.py   editxt(Download)
# along with EditXT.  If not, see <http://www.gnu.org/licenses/>.
from mocker import Mocker, ANY
from AppKit import NSMakeRange, NSRange, NSTextStorage, NSTextView
#from Foundation import *
from editxt.test.util import eq_, TestConfig

src/i/p/ipython-py3k-HEAD/IPython/deathrow/oldfrontend/cocoa/tests/test_cocoa_frontend.py   ipython-py3k(Download)
    from IPython.frontend.cocoa.cocoa_frontend import IPythonCocoaController
    from Foundation import NSMakeRect
    from AppKit import NSTextView, NSScrollView
except ImportError:
    # This tells twisted.trial to skip this module if PyObjC is not found