1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

New to programming. Select all/ highlighting with a mouse

Discussion in 'Mac Programming' started by captainritalin, Jul 13, 2009.

  1. macrumors member

    #1
    Hey guys. I am somewhat new to program. The current program that i am writing needs to be able to deal with any text that is highlighted/ selected. I am absolutely clueless as to how to do that or even what highlight/select really even is. Can anyone give me some pointers in the right direction pleas?
     
  2. macrumors 601

    HiRez

    #2
    You should probably first state what language and environment you're programming in. Are you using Cocoa/Objective-C/Xcode? Java? Python? Targeting Mac OS or iPhone? etc.
     
  3. macrumors member

    #3
    Mac Os, Python
     
  4. macrumors 6502a

    boast

    #4
    well I don't know what widget toolkit you are using, but you might want to start by looking at its API for methods to get what you ask for.
     
  5. macrumors 6502

    Cinder6

    #5
    What don't you understand about it?
     
  6. macrumors member

    #6
    How is it written into OS X and how do i integrate it into my programs?
     
  7. macrumors 601

    HiRez

    #7
    Are you using the Python-Cocoa bridge (in other words using Cocoa UI elements) or just straight Python? And if the latter, what GUI toolkit are you using? Python does not have a native/built-in GUI.
     

Share This Page