changeDocumentBackgroundColor:
カラーパネルからバックグラウンドカラーを変更したときに呼び出されます
-(void)changeDocumentBackgroundColor:(id)sender:
解説
カラーパネルからバックグラウンドカラーを変更したときに呼び出されます。
サブクラスで実装します。
バックグラウンドカラーを適用するように設定しておかなければいけません。
返り値
( void )
なし
引数
( id )sender
フレームワーク
ApplicationKit
クラス
NSTextView
Instance Methods
使用可能
10.3
参照
-setAllowsDocumentBackgroundColorChange:
-allowsDocumentBackgroundColorChange
例文
// -(void)changeDocumentBackgroundColor:(id)sender { NSLog(@"changeDocumentBackgroundColor"); }