GtkSharp/doc/en/Gnome/PrintUnit.xml
Dan Winship b6d7f14268 * generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag

	* generator/GenerationInfo.cs: Accept glue_includes value from
	Main and output it to the glue_filename.

	* generator/FieldBase.cs (Ignored): handle more ignorable cases.
	(CheckGlue): New method to figure out what kind of glue we'll need
	for a field.
	(GenerateImports): generate appropriate imports per CheckGlue.
	(GenerateGlue): Generate C glue for accessing a struct field;
	either a fully-C-based accessor, or a method to just return the
	field's offset in the struct.
	(Generate): Use the generated glue to read the field.

	* generator/PropertyBase.cs (CType): if the field is a single bit,
	set its type to gboolean.

	* generator/ObjectGen.cs (Generate):
	* generator/OpaqueGen.cs (Generate): Call GenFields.

	* generator/StructField.cs: Use FieldBase's glue-generation code
	to handle bitfields. [#54489]

	* generator/ObjectField.cs: Generates accessors for public fields
	of objects and opaque structs. [#69514]

	* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
	create ObjectField objects.
	(GenFields): Output field properties
	(IgnoreMethod): Ignore Get/Set methods that duplicate fields

	* generator/Makefile.am (sources): update

	* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
	public. Rename/retype some fields for consistency with earlier
	hand-coded bindings.

	* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
	now be autogenerated.

	* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
	be autogenerated
	
	* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
	* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
	* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update

svn path=/trunk/gtk-sharp/; revision=44563
2005-05-16 14:28:55 +00:00

216 lines
7.8 KiB
XML

<Type Name="PrintUnit" FullName="Gnome.PrintUnit">
<TypeSignature Language="C#" Value="public sealed struct PrintUnit" Maintainer="auto" />
<AssemblyInfo>
<AssemblyName>gnome-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyCulture>neutral</AssemblyCulture>
<Attributes />
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Docs>
<summary>To be added</summary>
<remarks>To be added</remarks>
</Docs>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="Zero">
<MemberSignature Language="C#" Value="public static Gnome.PrintUnit Zero;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>Gnome.PrintUnit</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>To be added</summary>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="New">
<MemberSignature Language="C#" Value="public static Gnome.PrintUnit New (IntPtr raw);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gnome.PrintUnit</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="raw">a <see cref="T:System.IntPtr" /></param>
<returns>a <see cref="T:Gnome.PrintUnit" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="GetList">
<MemberSignature Language="C#" Value="public static GLib.List GetList (uint bases);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>GLib.List</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="bases" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="bases">a <see cref="T:System.UInt32" /></param>
<returns>a <see cref="T:GLib.List" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="GetIdentity">
<MemberSignature Language="C#" Value="public static Gnome.PrintUnit GetIdentity (uint Base);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gnome.PrintUnit</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="Base" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="Base">a <see cref="T:System.UInt32" /></param>
<returns>a <see cref="T:Gnome.PrintUnit" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="FreeList">
<MemberSignature Language="C#" Value="public static void FreeList (GLib.List units);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="units" Type="GLib.List" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="units">a <see cref="T:GLib.List" /></param>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="GetName">
<MemberSignature Language="C#" Value="public string GetName (bool plural, bool abbreviation, int flags);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="plural" Type="System.Boolean" />
<Parameter Name="abbreviation" Type="System.Boolean" />
<Parameter Name="flags" Type="System.Int32" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="plural">a <see cref="T:System.Boolean" /></param>
<param name="abbreviation">a <see cref="T:System.Boolean" /></param>
<param name="flags">a <see cref="T:System.Int32" /></param>
<returns>a <see cref="T:System.String" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Default">
<MemberSignature Language="C#" Value="public static Gnome.PrintUnit Default { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gnome.PrintUnit</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<returns>a <see cref="T:Gnome.PrintUnit" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="GetByAbbreviation">
<MemberSignature Language="C#" Value="public static Gnome.PrintUnit GetByAbbreviation (string abbreviation);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gnome.PrintUnit</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="abbreviation" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="abbreviation">a <see cref="T:System.String" /></param>
<returns>a <see cref="T:Gnome.PrintUnit" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="GetByName">
<MemberSignature Language="C#" Value="public static Gnome.PrintUnit GetByName (string name);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gnome.PrintUnit</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="name">a <see cref="T:System.String" /></param>
<returns>a <see cref="T:Gnome.PrintUnit" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="GType">
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>GType Property.</summary>
<returns>a <see cref="T:GLib.GType" /></returns>
<remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Gnome.PrintUnit" />.</remarks>
</Docs>
</Member>
<Member MemberName="Version">
<MemberSignature Language="C#" Value="public uint Version { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<returns>a <see cref="T:System.UInt32" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Base">
<MemberSignature Language="C#" Value="public uint Base { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<returns>a <see cref="T:System.UInt32" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Unittobase">
<MemberSignature Language="C#" Value="public double Unittobase;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>To be added</summary>
<remarks>To be added</remarks>
</Docs>
</Member>
</Members>
</Type>