GtkSharp/generator/gtkapi.xml

3 lines
630 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="Gdk" library="gdk_pixbuf-2.0"><enum name="Colorspace" cname="GdkColorspace" type="enum"><member cname="GDK_COLORSPACE_RGB" name="Rgb"/></enum><enum name="InterpType" cname="GdkInterpType" type="enum"><member cname="GDK_INTERP_NEAREST" name="Nearest"/><member cname="GDK_INTERP_TILES" name="Tiles"/><member cname="GDK_INTERP_BILINEAR" name="Bilinear"/><member cname="GDK_INTERP_HYPER" name="Hyper"/></enum><enum name="PixbufAlphaMode" cname="GdkPixbufAlphaMode" type="enum"><member cname="GDK_PIXBUF_ALPHA_BILEVEL" name="Bilevel"/><member cname="GDK_PIXBUF_ALPHA_FULL" name="Full"/></enum><enum name="PixbufError" cname="GdkPixbufError" type="enum"><member cname="GDK_PIXBUF_ERROR_CORRUPT_IMAGE" name="CorruptImage"/><member cname="GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY" name="InsufficientMemory"/><member cname="GDK_PIXBUF_ERROR_BAD_OPTION" name="BadOption"/><member cname="GDK_PIXBUF_ERROR_UNKNOWN_TYPE" name="UnknownType"/><member cname="GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION" name="UnsupportedOperation"/><member cname="GDK_PIXBUF_ERROR_FAILED" name="Failed"/></enum><enum name="PixbufFrameAction" cname="GdkPixbufFrameAction" type="enum"><member cname="GDK_PIXBUF_FRAME_RETAIN" name="Retain"/><member cname="GDK_PIXBUF_FRAME_DISPOSE" name="Dispose"/><member cname="GDK_PIXBUF_FRAME_REVERT" name="Revert"/></enum><enum name="PixdataDumpType" cname="GdkPixdataDumpType" type="flags"><member cname="GDK_PIXDATA_DUMP_PIXDATA_STREAM" name="PixdataStream"/><member cname="GDK_PIXDATA_DUMP_PIXDATA_STRUCT" name="PixdataStruct" value="1"/><member cname="GDK_PIXDATA_DUMP_MACROS" name="Macros" value="2"/><member cname="GDK_PIXDATA_DUMP_GTYPES" name="Gtypes"/><member cname="GDK_PIXDATA_DUMP_CTYPES" name="Ctypes" value="1 &lt;&lt; 8"/><member cname="GDK_PIXDATA_DUMP_STATIC" name="Static" value="1 &lt;&lt; 9"/><member cname="GDK_PIXDATA_DUMP_CONST" name="Const" value="1 &lt;&lt; 10"/><member cname="GDK_PIXDATA_DUMP_RLE_DECODER" name="RleDecoder" value="1 &lt;&lt; 16"/></enum><enum name="PixdataType" cname="GdkPixdataType" type="enum"><member cname="GDK_PIXDATA_COLOR_TYPE_RGB" name="ColorTypeRgb" value="0x01"/><member cname="GDK_PIXDATA_COLOR_TYPE_RGBA" name="ColorTypeRgba" value="0x02"/><member cname="GDK_PIXDATA_COLOR_TYPE_MASK" name="ColorTypeMask" value="0xff"/><member cname="GDK_PIXDATA_SAMPLE_WIDTH_8" name="SampleWidth8" value="1 &lt;&lt; 16"/><member cname="GDK_PIXDATA_SAMPLE_WIDTH_MASK" name="SampleWidthMask" value="0x0f &lt;&lt; 16"/><member cname="GDK_PIXDATA_ENCODING_RAW" name="EncodingRaw" value="1 &lt;&lt; 24"/><member cname="GDK_PIXDATA_ENCODING_RLE" name="EncodingRle" value="0x02 &lt;&lt; 24"/><member cname="GDK_PIXDATA_ENCODING_MASK" name="EncodingMask" value="0x0f &lt;&lt; 24"/></enum><callback name="PixbufDestroyNotify" cname="GdkPixbufDestroyNotify"><return-type type="void"/><parameters><parameter type="guchar*" name="pixels"/><parameter type="gpointer" name="data"/></parameters></callback><object name="Pixbuf" cname="GdkPixbuf" parent="GObject"><constructor cname="gdk_pixbuf_new_from_xpm_data"><parameters><parameter type="const-char**" name="data"/></parameters></constructor><method name="CompositeColorSimple" cname="gdk_pixbuf_composite_color_simple"><return-type type="GdkPixbuf*"/><parameters><parameter type="int" name="dest_width"/><parameter type="int" name="dest_height"/><parameter type="GdkInterpType" name="interp_type"/><parameter type="int" name="overall_alpha"/><parameter type="int" name="check_size"/><parameter type="guint32" name="color1"/><parameter type="guint32" name="color2"/></parameters></method><method name="Composite" cname="gdk_pixbuf_composite"><return-type type="void"/><parameters><parameter type="GdkPixbuf*" name="dest"/><parameter type="int" name="dest_x"/><parameter type="int" name="dest_y"/><parameter type="int" name="dest_width"/><parameter type="int" name="dest_height"/><parameter type="double" name="offset_x"/><parameter type="double" name="offset_y"/><parameter type="double" name="scale_x"/><parameter type="double" name="scale_y"/><parameter type="GdkInterpType" name="interp_type"/><p