View Full Version : New to programming. Select all/ highlighting with a mouse
Jul 13, 2009, 03:23 PM
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?
Jul 13, 2009, 04:56 PM
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.
Jul 13, 2009, 05:32 PM
Mac Os, Python
Jul 13, 2009, 05:46 PM
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.
Jul 13, 2009, 06:40 PM
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?
Jul 13, 2009, 11:32 PM
How is it written into OS X and how do i integrate it into my programs?
Jul 14, 2009, 06:53 PM
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.