Re: Getting notified when my cell is hidden in NSOutlineView
Re: Getting notified when my cell is hidden in NSOutlineView
- Subject: Re: Getting notified when my cell is hidden in NSOutlineView
- From: Glen Simmons <email@hidden>
- Date: Wed, 18 Jun 2003 10:18:38 -0500
True, but the cell typically doesn't know anything about the parent.
I'm trying to keep it as self-contained as possible, so I'm hoping for
a way that I can find out directly from the outline view that the cell
is not visible.
On Wednesday, June 18, 2003, at 09:54 AM, zauhar wrote:
You can use the method
[ outlineview isItemExpanded:parent ]
to check the state of the parent item.
Randy
On Wednesday, June 18, 2003, at 10:17 AM, Glen Simmons wrote:
Hi all,
I have a subclass of NSImageCell that displays a progress indicator
in addition to images. The problem I'm having is that I have no idea
when the cell is hidden by the outline view, like when the parent
item is collapsed. So I end up with the progress indicator spinning
out in empty space. Is there any way to find out when my cell
shouldn't be drawing?
Thanks,
Glen
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
Randy J. Zauhar, PhD
Assoc. Prof. of Biochemistry
Director, Graduate Program in Bioinformatics
Dept. of Chemistry & Biochemistry
University of the Sciences in Philadelphia
600 S. 43rd Street
Philadelphia, PA 19104
Phone: (215)596-8691
FAX: (215)596-8543
E-mail: email@hidden
Web: http://tonga.usip.edu/zauhar
Discussion after watching Disney's "Lilo & Stitch":
DAD: "But why did the space aliens speak English, as opposed to
French, or Swahili? And why did the one alien speak English with an
Eastern European accent? I don't get it."
CATHERINE (age 7): "That's 'cause you don't have a good cartoon brain."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.