GtkSharp/generator/gtkapi.xml

3 lines
799 KiB
XML
Raw Normal View History

2002-06-21 Rachel Hestilow <hestilow@ximian.com> * generator/ClassBase.cs: New base class for classes and interfaces. * generator/InterfaceGen.cs: Inherit from ClassBase, generate declarations. * generator/ObjectGen.cs: Move half of this into ClassBase. * generator/Method.cs: Turn all applicable Get/Set functions into .NET accessors. Remove redundant == overload and move into Equals, as it was confusing "!= null". * generator/Parameters.cs: Alter signature creation to accept "is_set" option, add support for variable arguments. Add properties "Count", "IsVarArgs", "VAType". * generator/Ctor.cs: Fixup for changes in Parameters (indenting, signature creation). * generator/Signal.cs: Support generating declarations. * generator/SymbolTable: Change GetObjectGen to GetClassGen. * glib/IWrapper.cs: Move "Handle" declaration to here, so both classes and interfaces can benefit from it. * glib/Object.cs: Inherit from IWrapper.cs * parser/Metadata.pm: Support attribute changes on constructors, methods, signals, and paramater lists. * parser/gapi2xml.pl: Parse init funcs for interfaces. Ignore "_" functions here. * parser/gapi_pp.pl: Remove boxed_type_register check, as it will be caught in the init funcs. * parser/Atk.metadata: Added. * parser/Gtk.metadata: Add all needed signal/method collision renames. Rename GtkEditable.Editable accessors to IsEditable, as .NET does not like accessors with the same name as their declaring type. Tag TreeStore constructor as varargs. * samples/ButtonApp.cs: s/EmitAdd/Add. * samples/Menu.cs: s/EmitAdd/Add, s/Activate/Activated. svn path=/trunk/gtk-sharp/; revision=5394
2002-06-21 17:15:19 +00:00
<?xml version="1.0"?>
<api><namespace name="Gnome" library="gnomecanvas-2"><object name="Canvas" cname="GnomeCanvas" parent="GtkLayout"><field cname="root" type="GnomeCanvasItem*"/><field cname="redraw_area" type="ArtUta*"/><field cname="current_item" type="GnomeCanvasItem*"/><field cname="new_current_item" type="GnomeCanvasItem*"/><field cname="grabbed_item" type="GnomeCanvasItem*"/><field cname="focused_item" type="GnomeCanvasItem*"/><field cname="pixmap_gc" type="GdkGC*"/><field cname="pick_event" type="GdkEvent"/><field cname="scroll_x1" type="double"/><field cname="scroll_y1" type="double"/><field cname="scroll_x2" type="double"/><field cname="scroll_y2" type="double"/><field cname="pixels_per_unit" type="double"/><field cname="idle_id" type="guint"/><field cname="root_destroy_id" type="guint"/><field cname="redraw_x1" type="int"/><field cname="redraw_y1" type="int"/><field cname="redraw_x2" type="int"/><field cname="redraw_y2" type="int"/><field cname="draw_xofs" type="int"/><field cname="draw_yofs" type="int"/><field cname="zoom_xofs" type="int"/><field cname="zoom_yofs" type="int"/><field cname="state" type="int"/><field cname="grabbed_event_mask" type="guint"/><field cname="close_enough" type="int"/><field cname="center_scroll_region" bits="1" type="unsigned"/><field cname="need_update" bits="1" type="unsigned"/><field cname="need_redraw" bits="1" type="unsigned"/><field cname="need_repick" bits="1" type="unsigned"/><field cname="left_grabbed_item" bits="1" type="unsigned"/><field cname="in_repick" bits="1" type="unsigned"/><field cname="aa" bits="1" type="unsigned"/><field cname="dither" type="GdkRgbDither"/><property name="Aa" cname="aa" type="gboolean" doc-string=" _(The antialiasing mode of the canvas.)" readable="true" writeable="true" construct-only="true"/><signal name="DrawBackground" cname="draw_background" when="LAST"><return-type type="void"/><parameters><parameter type="GnomeCanvas*" name="canvas"/><parameter type="GdkDrawable*" name="drawable"/><parameter type="int" name="x"/><parameter type="int" name="y"/><parameter type="int" name="width"/><parameter type="int" name="height"/></parameters></signal><signal name="RenderBackground" cname="render_background" when="LAST"><return-type type="void"/><parameters><parameter type="GnomeCanvas*" name="canvas"/><parameter type="GnomeCanvasBuf*" name="buf"/></parameters></signal><method name="ScrollTo" cname="gnome_canvas_scroll_to"><return-type type="void"/><parameters><parameter type="int" name="cx"/><parameter type="int" name="cy"/></parameters></method><method name="UpdateSvp" cname="gnome_canvas_update_svp"><return-type type="void"/><parameters><parameter type="ArtSVP**" name="p_svp"/><parameter type="ArtSVP*" name="new_svp"/></parameters></method><method name="GetCenterScrollRegion" cname="gnome_canvas_get_center_scroll_region"><return-type type="gboolean"/></method><method name="GetScrollRegion" cname="gnome_canvas_get_scroll_region"><return-type type="void"/><parameters><parameter type="double*" name="x1"/><parameter type="double*" name="y1"/><parameter type="double*" name="x2"/><parameter type="double*" name="y2"/></parameters></method><constructor cname="gnome_canvas_new_aa"/><method name="WindowToWorld" cname="gnome_canvas_window_to_world"><return-type type="void"/><parameters><parameter type="double" name="winx"/><parameter type="double" name="winy"/><parameter type="double*" name="worldx"/><parameter type="double*" name="worldy"/></parameters></method><method name="SetCenterScrollRegion" cname="gnome_canvas_set_center_scroll_region"><return-type type="void"/><parameters><parameter type="gboolean" name="center_scroll_region"/></parameters></method><method name="GetColorPixel" cname="gnome_canvas_get_color_pixel"><return-type type="gulong"/><parameters><parameter type="guint" name="rgba"/></parameters></method><method name="Root" cname="gnome_canvas_root"><return-type type="GnomeCanvasGroup*"/></method><method name="GetItemAt" cname="gnome_canvas_get_item_at"><return-type type="GnomeCanvasItem*"/><parameters><parameter type="double" name="x"/><parameter type="double" na