mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 16:45:34 +00:00
fdaa84817e
* 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
15 lines
281 B
Plaintext
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;
|
|
}
|