public override id InitWithCoder(NSCoder aDecoder) { base.InitWithCoder(aDecoder); if (aDecoder.AllowsKeyedCoding) { // do nothing for now... } else { //this._setDelegate(aDecoder.DecodeObject); //[aDecoder decodeValueOfObjCType: @encode(SEL) at: &_error_action]; aDecoder.DecodeValueOfObjCType2<SEL>(out _error_action); } _text_object = null; return this; }
public NSText SetUpFieldEditorAttributes(NSText textObject) { // FIXME //textObject = [super setUpFieldEditorAttributes: textObject]; //[textObject setDrawsBackground: _cell.subclass_bool_one]; //[textObject setBackgroundColor: _background_color]; //[textObject setTextColor: _text_color]; return textObject; }
public override id InitWithFrame(NSRect frameRect) { id self = this; if (base.InitWithFrame(frameRect) == null) return null; ((NSCell)_cell).Bezeled = true; ((NSCell)_cell).Selectable = true; ((NSCell)_cell).Editable = true; //FIXME //((NSCell)_cell).DrawsBackground = true; _text_object = null; return self; }