Re: Is NSTableView/NSOutlineView the way to go?
Re: Is NSTableView/NSOutlineView the way to go?
- Subject: Re: Is NSTableView/NSOutlineView the way to go?
- From: Corbin Dunn <email@hidden>
- Date: Wed, 15 Jun 2005 15:41:14 -0700
What I'd like to have is a scrollable list of layers, with a radio
button at the far left indicating which layer is "active". I'd
like the user to be able to double-click on a layer name to be able
to rename it. I'd like the user to be able to select a row and be
able to delete it, or drag that row around to change its order.
I'd also like the user to be able to edit a few "non-active
properties", such as whether that layer is visible or if it is, how
to display it (such as level of dimness) when it isn't the active
layer.
From reading up on NSTableView, I see that it handles the drag
moving, editing of text; what I wasn't sure was if I could use a
radio group or a custom view (having the radio button, text view,
and visibility attributes)…
It sounds perfect for what you want to do. Note that adding NSView's
to a TableView has issues (I believe there is source floating around
from Chuck on how to do this, if you do need to do it). Ideally, you
should just use cell's inside the tableview.
-corbin _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden