[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] graphic interfaces in objective-C




On 17 Jun 2009, at 15:11, Miguel Cardoso wrote:

I'd like to add some funcionalities to listView for which I think I'll have to go to Objective-C. I'd like to add drag n' drop, and send it an array of objects (not just strings)


What do you want to drag'n'drop?

Graphical objects in a GUI?

You could define the _area_ around the ListView, and say...

if(selected_objects_are_released_within_ListView_boundaries, {
	fill the listview with the names/types of those objects
})

ie. if you have selected some objects and you drag them into the
area of the listview, then, on mouseup, you fill the list view with
the selected objects.

This would be quicker than messing with Objective-C, but I am
not sure if I understand what you're after.

thor


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/