public MultiLineTextTool ( IDrawingEditor editor, MonoHotDraw.Figures.MultiLineTextFigure fig, ITool dt ) : System | ||
editor | IDrawingEditor | |
fig | MonoHotDraw.Figures.MultiLineTextFigure | |
dt | ITool | |
return | System |
public MultiLineTextTool(IDrawingEditor editor, MultiLineTextFigure fig, ITool dt)
: base(editor, fig, dt)
{
_textview = new Gtk.TextView ();
_textview.Buffer.Changed += new System.EventHandler (ChangedHandler);
_textview.ModifyFont (fig.PangoLayout.FontDescription.Copy ());
_textview.RightMargin = 5;
_textview.Justification = ConvertJustificaton ();
}