GtkSharp/gtk/Entry.custom
Duncan Mak fdaa84817e * sources/Gtk.metadata:
* api/gtk-api.xml: Gtk.Editable.InsertText should have the
position be marked 'ref', not 'out', because it is an in-out parameter.

* gtk/Entry.custom: Overload for InsertText.
* gtk/Clipboard.custom: New overload for SetText.

svn path=/trunk/gtk-sharp/; revision=11430
2003-02-10 00:32:14 +00:00

15 lines
281 B
Plaintext

//
// Gtk.Entry.custom - Allow customization of values in the GtkEntry
//
// This code is inserted after the automatically generated code.
//
public int InsertText (string new_text)
{
int position = 0;
InsertText (new_text, new_text.Length, ref position);
return position;
}