mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-08 07:53:17 +02:00
Add a custom constructor to Entry, and fix API bugs with Widget and Frame.
svn path=/trunk/gtk-sharp/; revision=13021
This commit is contained in:
parent
8f7e0a2cbd
commit
95a81a7706
@ -1,3 +1,10 @@
|
|||||||
|
2003-04-02 Lee Mallabone <gnome@fonicmonkey.net>
|
||||||
|
|
||||||
|
* 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 <gnome@fonicmonkey.net>
|
2003-03-27 Lee Mallabone <gnome@fonicmonkey.net>
|
||||||
|
|
||||||
* api/gtk-api.xml, sources/Gtk.metadata, gtk/Viewport.custom:
|
* api/gtk-api.xml, sources/Gtk.metadata, gtk/Viewport.custom:
|
||||||
|
@ -3083,8 +3083,8 @@
|
|||||||
<method name="GetLabelAlign" cname="gtk_frame_get_label_align">
|
<method name="GetLabelAlign" cname="gtk_frame_get_label_align">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="gfloat*" name="xalign"/>
|
<parameter type="gfloat*" name="xalign" pass_as="out"/>
|
||||||
<parameter type="gfloat*" name="yalign"/>
|
<parameter type="gfloat*" name="yalign" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="GetLabelWidget" cname="gtk_frame_get_label_widget">
|
<method name="GetLabelWidget" cname="gtk_frame_get_label_widget">
|
||||||
@ -9306,9 +9306,9 @@
|
|||||||
<method name="ClassPath" cname="gtk_widget_class_path">
|
<method name="ClassPath" cname="gtk_widget_class_path">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="guint*" name="path_length"/>
|
<parameter type="guint*" name="path_length" pass_as="out"/>
|
||||||
<parameter type="gchar**" name="path"/>
|
<parameter type="gchar**" name="path" pass_as="out"/>
|
||||||
<parameter type="gchar**" name="path_reversed"/>
|
<parameter type="gchar**" name="path_reversed" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="CreatePangoContext" cname="gtk_widget_create_pango_context">
|
<method name="CreatePangoContext" cname="gtk_widget_create_pango_context">
|
||||||
@ -9404,8 +9404,8 @@
|
|||||||
<method name="GetPointer" cname="gtk_widget_get_pointer">
|
<method name="GetPointer" cname="gtk_widget_get_pointer">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="gint*" name="x"/>
|
<parameter type="gint*" name="x" pass_as="out"/>
|
||||||
<parameter type="gint*" name="y"/>
|
<parameter type="gint*" name="y" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="GetSettings" cname="gtk_widget_get_settings">
|
<method name="GetSettings" cname="gtk_widget_get_settings">
|
||||||
@ -9449,7 +9449,7 @@
|
|||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="GdkRectangle*" name="area"/>
|
<parameter type="GdkRectangle*" name="area"/>
|
||||||
<parameter type="GdkRectangle*" name="intersection"/>
|
<parameter type="GdkRectangle*" name="intersection" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="IsAncestor" cname="gtk_widget_is_ancestor">
|
<method name="IsAncestor" cname="gtk_widget_is_ancestor">
|
||||||
@ -9523,9 +9523,9 @@
|
|||||||
<method name="Path" cname="gtk_widget_path">
|
<method name="Path" cname="gtk_widget_path">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="guint*" name="path_length"/>
|
<parameter type="guint*" name="path_length" pass_as="out"/>
|
||||||
<parameter type="gchar**" name="path"/>
|
<parameter type="gchar**" name="path" pass_as="out"/>
|
||||||
<parameter type="gchar**" name="path_reversed"/>
|
<parameter type="gchar**" name="path_reversed" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="PopColormap" cname="gtk_widget_pop_colormap" shared="true">
|
<method name="PopColormap" cname="gtk_widget_pop_colormap" shared="true">
|
||||||
@ -9767,7 +9767,7 @@
|
|||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="const-gchar*" name="property_name"/>
|
<parameter type="const-gchar*" name="property_name"/>
|
||||||
<parameter type="GValue*" name="value"/>
|
<parameter type="GValue*" name="value" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="StyleGetValist" cname="gtk_widget_style_get_valist">
|
<method name="StyleGetValist" cname="gtk_widget_style_get_valist">
|
||||||
@ -9786,8 +9786,8 @@
|
|||||||
<parameter type="GtkWidget*" name="dest_widget"/>
|
<parameter type="GtkWidget*" name="dest_widget"/>
|
||||||
<parameter type="gint" name="src_x"/>
|
<parameter type="gint" name="src_x"/>
|
||||||
<parameter type="gint" name="src_y"/>
|
<parameter type="gint" name="src_y"/>
|
||||||
<parameter type="gint*" name="dest_x"/>
|
<parameter type="gint*" name="dest_x" pass_as="out"/>
|
||||||
<parameter type="gint*" name="dest_y"/>
|
<parameter type="gint*" name="dest_y" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="Unmap" cname="gtk_widget_unmap">
|
<method name="Unmap" cname="gtk_widget_unmap">
|
||||||
|
@ -12,3 +12,8 @@ public int InsertText (string new_text)
|
|||||||
|
|
||||||
return position;
|
return position;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Entry(string initialText): this()
|
||||||
|
{
|
||||||
|
Text = initialText;
|
||||||
|
}
|
||||||
|
@ -2,6 +2,18 @@
|
|||||||
<metadata>
|
<metadata>
|
||||||
|
|
||||||
<!-- out parameters -->
|
<!-- out parameters -->
|
||||||
|
<rule>
|
||||||
|
<class name="GtkFrame">
|
||||||
|
<method>GetLabelAlign</method>
|
||||||
|
</class>
|
||||||
|
<data>
|
||||||
|
<attribute target="param">
|
||||||
|
<filter level="type">gfloat*</filter>
|
||||||
|
<name>pass_as</name>
|
||||||
|
<value>out</value>
|
||||||
|
</attribute>
|
||||||
|
</data>
|
||||||
|
</rule>
|
||||||
<rule>
|
<rule>
|
||||||
<class name="GtkTextBuffer">
|
<class name="GtkTextBuffer">
|
||||||
<method>GetIterAtLineOffset</method>
|
<method>GetIterAtLineOffset</method>
|
||||||
@ -279,7 +291,93 @@
|
|||||||
</attribute>
|
</attribute>
|
||||||
</data>
|
</data>
|
||||||
</rule>
|
</rule>
|
||||||
|
<rule>
|
||||||
|
<class name="GtkWidget">
|
||||||
|
<method>GetPointer</method>
|
||||||
|
</class>
|
||||||
|
<data>
|
||||||
|
<attribute target="param">
|
||||||
|
<filter level="type">gint*</filter>
|
||||||
|
<name>pass_as</name>
|
||||||
|
<value>out</value>
|
||||||
|
</attribute>
|
||||||
|
</data>
|
||||||
|
</rule>
|
||||||
|
<rule>
|
||||||
|
<class name="GtkWidget">
|
||||||
|
<method>TranslateCoordinates</method>
|
||||||
|
</class>
|
||||||
|
<data>
|
||||||
|
<attribute target="param">
|
||||||
|
<filter level="name">dest_x</filter>
|
||||||
|
<name>pass_as</name>
|
||||||
|
<value>out</value>
|
||||||
|
</attribute>
|
||||||
|
</data>
|
||||||
|
</rule>
|
||||||
|
<rule>
|
||||||
|
<class name="GtkWidget">
|
||||||
|
<method>TranslateCoordinates</method>
|
||||||
|
</class>
|
||||||
|
<data>
|
||||||
|
<attribute target="param">
|
||||||
|
<filter level="name">dest_y</filter>
|
||||||
|
<name>pass_as</name>
|
||||||
|
<value>out</value>
|
||||||
|
</attribute>
|
||||||
|
</data>
|
||||||
|
</rule>
|
||||||
|
<rule>
|
||||||
|
<class name="GtkWidget">
|
||||||
|
<method>Path</method>
|
||||||
|
<method>ClassPath</method>
|
||||||
|
</class>
|
||||||
|
<data>
|
||||||
|
<attribute target="param">
|
||||||
|
<filter name="type">guint*</filter>
|
||||||
|
<name>pass_as</name>
|
||||||
|
<value>out</value>
|
||||||
|
</attribute>
|
||||||
|
</data>
|
||||||
|
</rule>
|
||||||
|
<rule>
|
||||||
|
<class name="GtkWidget">
|
||||||
|
<method>Path</method>
|
||||||
|
<method>ClassPath</method>
|
||||||
|
</class>
|
||||||
|
<data>
|
||||||
|
<attribute target="param">
|
||||||
|
<filter name="type">gchar**</filter>
|
||||||
|
<name>pass_as</name>
|
||||||
|
<value>out</value>
|
||||||
|
</attribute>
|
||||||
|
</data>
|
||||||
|
</rule>
|
||||||
|
<rule>
|
||||||
|
<class name="GtkWidget">
|
||||||
|
<method>StyleGetProperty</method>
|
||||||
|
</class>
|
||||||
|
<data>
|
||||||
|
<attribute target="param">
|
||||||
|
<filter level="name">value</filter>
|
||||||
|
<name>pass_as</name>
|
||||||
|
<value>out</value>
|
||||||
|
</attribute>
|
||||||
|
</data>
|
||||||
|
</rule>
|
||||||
|
<rule>
|
||||||
|
<class name="GtkWidget">
|
||||||
|
<method>Intersect</method>
|
||||||
|
</class>
|
||||||
|
<data>
|
||||||
|
<attribute target="param">
|
||||||
|
<filter level="name">intersection</filter>
|
||||||
|
<name>pass_as</name>
|
||||||
|
<value>out</value>
|
||||||
|
</attribute>
|
||||||
|
</data>
|
||||||
|
</rule>
|
||||||
|
|
||||||
|
|
||||||
<!-- variable arguments -->
|
<!-- variable arguments -->
|
||||||
<rule>
|
<rule>
|
||||||
|
Loading…
Reference in New Issue
Block a user