Re: how to interact with font panel in custom IBPalette?
Re: how to interact with font panel in custom IBPalette?
- Subject: Re: how to interact with font panel in custom IBPalette?
- From: Jonathan Hess <email@hidden>
- Date: Tue, 24 Feb 2009 16:29:29 -0800
On Feb 24, 2009, at 4:06 PM, Steve Christensen wrote:
I'm creating a IBPalette for a custom control.
Hey Steve -
Do you mean IBPlugin? Which version of Interface Builder are you
targeting?
In IB 3.1.2 and later, the font panel should work automatically if the
selected object implements 'font' and 'setFont:'. IB doesn't offer API
to customize interactions with the font panel beyond that.
Jon Hess
Everything else is working but I'm having trouble trying to figure
out how to interact with the font panel. With my custom view
selected, I'd expect that when the font panel opens, it will reflect
the font currently used by my custom control; when I change the font
in the font panel, I'd expect my control's font to change.
I've seen a mention of a -changeFont: method that's supposed to be
called on the responder chain but mine never gets called so I figure
I'm missing some setup or have something set up incorrectly. Any
pointers?
steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden