2003-10-18 Mike Kestner <mkestner@ximian.com>

* gtk/Gtk.metadata : add move-node rules for Paint methods.
	* gtk/gtk-api.xml : regenerated
	* parser/gapi2xml.pl : put paint_ methods in global, not Paint.
	* parser/gapi-fixup.cs : add move-node rule handling. [Fixes #47980]

svn path=/trunk/gtk-sharp/; revision=19184
This commit is contained in:
Mike Kestner 2003-10-19 01:35:24 +00:00
parent c62e9ab977
commit ff35a19db0
5 changed files with 367 additions and 325 deletions

View file

@ -1,3 +1,10 @@
2003-10-18 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : add move-node rules for Paint methods.
* gtk/gtk-api.xml : regenerated
* parser/gapi2xml.pl : put paint_ methods in global, not Paint.
* parser/gapi-fixup.cs : add move-node rule handling. [Fixes #47980]
2003-10-17 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs : mark enum pointer params as out.

View file

@ -62,5 +62,25 @@
<attr path="//object[@cname='GtkWidget']/method[@name='Intersect']/*/*[@name='intersection']" name="pass_as">out</attr>
<attr path="//object[@cname='GtkWidget']/method[@name='Path']/*/*[@type='gchar**']" name="pass_as">out</attr>
<attr path="//object[@cname='GtkWidget']/method[@name='SizeRequest']/*/*[@name='requisition']" name="pass_as">ref</attr>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintArrow']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintBox']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintBoxGap']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintCheck']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintDiamond']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintExpander']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintExtension']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintFlatBox']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintFocus']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintHandle']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintHline']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintLayout']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintOption']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintPolygon']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintResizeGrip']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintShadow']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintShadowGap']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintSlider']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintTab']">//object[@cname='GtkStyle']</move-node>
<move-node path="//class[@cname='GtkGlobal']/method[@name='PaintVline']">//object[@cname='GtkStyle']</move-node>
</metadata>

View file

@ -6301,6 +6301,328 @@
<parameter type="GtkStateType" name="state_type" />
</parameters>
</method>
<method name="PaintArrow" cname="gtk_paint_arrow" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="GtkArrowType" name="arrow_type" />
<parameter type="gboolean" name="fill" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="PaintBox" cname="gtk_paint_box" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="PaintBoxGap" cname="gtk_paint_box_gap" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
<parameter type="GtkPositionType" name="gap_side" />
<parameter type="gint" name="gap_x" />
<parameter type="gint" name="gap_width" />
</parameters>
</method>
<method name="PaintCheck" cname="gtk_paint_check" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="PaintDiamond" cname="gtk_paint_diamond" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="PaintExpander" cname="gtk_paint_expander" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="GtkExpanderStyle" name="expander_style" />
</parameters>
</method>
<method name="PaintExtension" cname="gtk_paint_extension" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
<parameter type="GtkPositionType" name="gap_side" />
</parameters>
</method>
<method name="PaintFlatBox" cname="gtk_paint_flat_box" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="PaintFocus" cname="gtk_paint_focus" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="PaintHandle" cname="gtk_paint_handle" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
<parameter type="GtkOrientation" name="orientation" />
</parameters>
</method>
<method name="PaintHline" cname="gtk_paint_hline" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x1" />
<parameter type="gint" name="x2" />
<parameter type="gint" name="y" />
</parameters>
</method>
<method name="PaintLayout" cname="gtk_paint_layout" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="gboolean" name="use_text" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="PangoLayout*" name="layout" />
</parameters>
</method>
<method name="PaintOption" cname="gtk_paint_option" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="PaintPolygon" cname="gtk_paint_polygon" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="GdkPoint*" name="points" />
<parameter type="gint" name="npoints" />
<parameter type="gboolean" name="fill" />
</parameters>
</method>
<method name="PaintResizeGrip" cname="gtk_paint_resize_grip" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="GdkWindowEdge" name="edge" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="PaintShadow" cname="gtk_paint_shadow" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="PaintShadowGap" cname="gtk_paint_shadow_gap" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
<parameter type="GtkPositionType" name="gap_side" />
<parameter type="gint" name="gap_x" />
<parameter type="gint" name="gap_width" />
</parameters>
</method>
<method name="PaintSlider" cname="gtk_paint_slider" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
<parameter type="GtkOrientation" name="orientation" />
</parameters>
</method>
<method name="PaintTab" cname="gtk_paint_tab" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="PaintVline" cname="gtk_paint_vline" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="y1_" />
<parameter type="gint" name="y2_" />
<parameter type="gint" name="x" />
</parameters>
</method>
</object>
<object name="Table" cname="GtkTable" parent="GtkContainer">
<field cname="children" type="GList*" />
@ -12587,330 +12909,6 @@
<return-type type="void" />
</method>
</class>
<class name="Paint" cname="GtkPaint_">
<method name="Arrow" cname="gtk_paint_arrow" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="GtkArrowType" name="arrow_type" />
<parameter type="gboolean" name="fill" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="Box" cname="gtk_paint_box" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="BoxGap" cname="gtk_paint_box_gap" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
<parameter type="GtkPositionType" name="gap_side" />
<parameter type="gint" name="gap_x" />
<parameter type="gint" name="gap_width" />
</parameters>
</method>
<method name="Check" cname="gtk_paint_check" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="Diamond" cname="gtk_paint_diamond" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="Expander" cname="gtk_paint_expander" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="GtkExpanderStyle" name="expander_style" />
</parameters>
</method>
<method name="Extension" cname="gtk_paint_extension" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
<parameter type="GtkPositionType" name="gap_side" />
</parameters>
</method>
<method name="FlatBox" cname="gtk_paint_flat_box" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="Focus" cname="gtk_paint_focus" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="Handle" cname="gtk_paint_handle" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
<parameter type="GtkOrientation" name="orientation" />
</parameters>
</method>
<method name="Hline" cname="gtk_paint_hline" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x1" />
<parameter type="gint" name="x2" />
<parameter type="gint" name="y" />
</parameters>
</method>
<method name="Layout" cname="gtk_paint_layout" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="gboolean" name="use_text" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="PangoLayout*" name="layout" />
</parameters>
</method>
<method name="Option" cname="gtk_paint_option" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="Polygon" cname="gtk_paint_polygon" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="GdkPoint*" name="points" />
<parameter type="gint" name="npoints" />
<parameter type="gboolean" name="fill" />
</parameters>
</method>
<method name="ResizeGrip" cname="gtk_paint_resize_grip" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="GdkWindowEdge" name="edge" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="Shadow" cname="gtk_paint_shadow" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="ShadowGap" cname="gtk_paint_shadow_gap" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
<parameter type="GtkPositionType" name="gap_side" />
<parameter type="gint" name="gap_x" />
<parameter type="gint" name="gap_width" />
</parameters>
</method>
<method name="Slider" cname="gtk_paint_slider" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
<parameter type="GtkOrientation" name="orientation" />
</parameters>
</method>
<method name="Tab" cname="gtk_paint_tab" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GtkShadowType" name="shadow_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="x" />
<parameter type="gint" name="y" />
<parameter type="gint" name="width" />
<parameter type="gint" name="height" />
</parameters>
</method>
<method name="Vline" cname="gtk_paint_vline" shared="true">
<return-type type="void" />
<parameters>
<parameter type="GtkStyle*" name="style" />
<parameter type="GdkWindow*" name="window" />
<parameter type="GtkStateType" name="state_type" />
<parameter type="GdkRectangle*" name="area" />
<parameter type="GtkWidget*" name="widget" />
<parameter type="const-gchar*" name="detail" />
<parameter type="gint" name="y1_" />
<parameter type="gint" name="y2_" />
<parameter type="gint" name="x" />
</parameters>
</method>
</class>
<class name="Quit" cname="GtkQuit_">
<method name="Add" cname="gtk_quit_add" shared="true">
<return-type type="guint" />

View file

@ -74,6 +74,22 @@ namespace GtkSharp.Parsing {
}
}
XPathNodeIterator move_iter = meta_nav.Select ("//move-node");
while (move_iter.MoveNext ()) {
string path = move_iter.Current.GetAttribute ("path", "");
string parent = move_iter.Current.Value;
XPathNodeIterator parent_iter = api_nav.Select (parent);
while (parent_iter.MoveNext ()) {
XmlNode parent_node = ((IHasXmlNode)parent_iter.Current).GetNode ();
XPathNodeIterator path_iter = parent_iter.Current.Clone ().Select (path);
while (path_iter.MoveNext ()) {
XmlNode node = ((IHasXmlNode)path_iter.Current).GetNode ();
parent_node.AppendChild (node.Clone ());
node.ParentNode.RemoveChild (node);
}
}
}
api_doc.Save (api_filename);
return 0;
}

View file

@ -577,7 +577,8 @@ sub addStaticFuncElems
$classname ne "add" && $classname ne "remove" &&
$classname ne "free" && $classname ne "register" &&
$classname ne "execute" && $classname ne "show" &&
$classname ne "parse" && $classname ne "string") {
$classname ne "parse" && $classname ne "paint" &&
$classname ne "string") {
while ($mnames[$i+$cnt] =~ /$prefix/) { $cnt++; }
}
if ($cnt == 1) {