cocoa - Implementing NSTextInputClient without NSView -
i have application custom widgets , custom event handling model (i'm rendering in opengl). implement text edit view taking advantage of cocoa text input structures, don't know how generate nsevent objects pass nstextinputcontext. in particular, i'm having problems providing window number, graphic context , mouse cursor coordinates (since have provide them in window's coordinate system). graphic context isn't needed mouse coordinates necessary handle mouse selection events.
is there way can solve this?
Comments
Post a Comment