Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 13, 2009, 02:23 PM   #1
captainritalin
macrumors member
 
Join Date: Mar 2009
New to programming. Select all/ highlighting with a mouse

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?
captainritalin is offline   0 Reply With Quote
Old Jul 13, 2009, 03:56 PM   #2
HiRez
macrumors 601
 
HiRez's Avatar
 
Join Date: Jan 2004
Location: Western US
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.
__________________
Go outside, the graphics are amazing!
HiRez is offline   0 Reply With Quote
Old Jul 13, 2009, 04:32 PM   #3
captainritalin
Thread Starter
macrumors member
 
Join Date: Mar 2009
Mac Os, Python
captainritalin is offline   0 Reply With Quote
Old Jul 13, 2009, 04:46 PM   #4
boast
macrumors 6502a
 
Join Date: Nov 2007
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.
__________________
MacBook Pro (Retina, 15-inch, Early 2013) 2.4 Quad-core i7/8GB/256-Flash
HP N54L Microserver + XPEnology :: Samsung Galaxy Note 3 :: iPad Air
boast is offline   0 Reply With Quote
Old Jul 13, 2009, 05:40 PM   #5
Cinder6
macrumors 6502
 
Join Date: Jul 2009
Quote:
Originally Posted by captainritalin View Post
I am absolutely clueless as to how to do that or even what highlight/select really even is.
What don't you understand about it?
Cinder6 is offline   0 Reply With Quote
Old Jul 13, 2009, 10:32 PM   #6
captainritalin
Thread Starter
macrumors member
 
Join Date: Mar 2009
How is it written into OS X and how do i integrate it into my programs?
captainritalin is offline   0 Reply With Quote
Old Jul 14, 2009, 05:53 PM   #7
HiRez
macrumors 601
 
HiRez's Avatar
 
Join Date: Jan 2004
Location: Western US
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.
__________________
Go outside, the graphics are amazing!
HiRez is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Highlighting Text in Mail JSC Mac Applications and Mac App Store 6 Apr 7, 2014 07:07 PM
Mac programming should be more like iOS programming. moonman239 Mac Programming 13 Feb 17, 2014 01:37 PM
Can't Select Disk to Select in Lion Restore macrominnie Mac OS X 10.7 Lion 0 Jul 15, 2012 03:11 AM
How do I disable 3-finger highlighting? tweaknmod Mac OS X 10.7 Lion 4 Jul 9, 2012 06:19 PM
Highlighting Books From iBooks? FRight001 iPad Apps 1 Jun 9, 2012 08:58 AM

Forum Jump

All times are GMT -5. The time now is 05:19 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC