From 95a81a7706b3ec3676a4e8dd3a2fd86252843b81 Mon Sep 17 00:00:00 2001 From: Lee Mallabone Date: Wed, 2 Apr 2003 08:26:36 +0000 Subject: [PATCH] Add a custom constructor to Entry, and fix API bugs with Widget and Frame. svn path=/trunk/gtk-sharp/; revision=13021 --- ChangeLog | 7 +++ api/gtk-api.xml | 28 ++++++------ gtk/Entry.custom | 5 +++ sources/Gtk.metadata | 100 ++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 125 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 372b91e19..9318d2bf4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-04-02 Lee Mallabone + + * gtk/Entry.custom: Add a constructor that sets the initial contents. + + * sources/Gtk.metadata: + * api/gtk-api.xml: Fix API 'out' parameters in 'Frame' and some in 'Widget'. + 2003-03-27 Lee Mallabone * api/gtk-api.xml, sources/Gtk.metadata, gtk/Viewport.custom: diff --git a/api/gtk-api.xml b/api/gtk-api.xml index eac46c32d..23db8a9da 100644 --- a/api/gtk-api.xml +++ b/api/gtk-api.xml @@ -3083,8 +3083,8 @@ - - + + @@ -9306,9 +9306,9 @@ - - - + + + @@ -9404,8 +9404,8 @@ - - + + @@ -9449,7 +9449,7 @@ - + @@ -9523,9 +9523,9 @@ - - - + + + @@ -9767,7 +9767,7 @@ - + @@ -9786,8 +9786,8 @@ - - + + diff --git a/gtk/Entry.custom b/gtk/Entry.custom index 8b61b7df1..6aa033a61 100644 --- a/gtk/Entry.custom +++ b/gtk/Entry.custom @@ -12,3 +12,8 @@ public int InsertText (string new_text) return position; } + +public Entry(string initialText): this() +{ + Text = initialText; +} diff --git a/sources/Gtk.metadata b/sources/Gtk.metadata index 5078ec4cd..af264d282 100644 --- a/sources/Gtk.metadata +++ b/sources/Gtk.metadata @@ -2,6 +2,18 @@ + + + GetLabelAlign + + + + gfloat* + pass_as + out + + + GetIterAtLineOffset @@ -279,7 +291,93 @@ - + + + GetPointer + + + + gint* + pass_as + out + + + + + + TranslateCoordinates + + + + dest_x + pass_as + out + + + + + + TranslateCoordinates + + + + dest_y + pass_as + out + + + + + + Path + ClassPath + + + + guint* + pass_as + out + + + + + + Path + ClassPath + + + + gchar** + pass_as + out + + + + + + StyleGetProperty + + + + value + pass_as + out + + + + + + Intersect + + + + intersection + pass_as + out + + + +