GtkSharp/doc/en/Pango/LogAttr.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

235 lines
9.1 KiB
XML

<Type Name="LogAttr" FullName="Pango.LogAttr">
<TypeSignature Language="C#" Value="public sealed struct LogAttr;" Maintainer="auto" />
<AssemblyInfo>
<AssemblyName>pango-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>Stores information about the attributes of a single character.</summary>
<remarks />
</Docs>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="Zero">
<MemberSignature Language="C#" Value="public static Pango.LogAttr Zero;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>Pango.LogAttr</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns an empty <see cref="T:Pango.LogAttr" /></summary>
<remarks />
</Docs>
</Member>
<Member MemberName="New">
<MemberSignature Language="C#" Value="public static Pango.LogAttr New (IntPtr raw);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Pango.LogAttr</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<summary>Internal method</summary>
<param name="raw">an object of type <see cref="T:System.IntPtr" /></param>
<returns>an object of type <see cref="T:Pango.LogAttr" /></returns>
<remarks>This is an internal method, and should not be used by user code.</remarks>
</Docs>
</Member>
<Member MemberName="IsLineBreak">
<MemberSignature Language="C#" Value="public bool IsLineBreak { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not a line break is allowed before this character.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="IsMandatoryBreak">
<MemberSignature Language="C#" Value="public bool IsMandatoryBreak { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not a line break is required before this character.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="IsCharBreak">
<MemberSignature Language="C#" Value="public bool IsCharBreak { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not a break is allowed before this character when doing character wrap.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="IsWhite">
<MemberSignature Language="C#" Value="public bool IsWhite { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not this is a whitespace character.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="IsCursorPosition">
<MemberSignature Language="C#" Value="public bool IsCursorPosition { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not the cursor can appear in front of this character.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="IsWordStart">
<MemberSignature Language="C#" Value="public bool IsWordStart { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not this is the first character in a word.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>
Note that in degenerate cases, you could have both this
propery and <see cref="M:Pango.LogAttr.IsWordEnd" /> set
on the same character, most likely for sentences (e.g. no
space after a period, so the next sentence starts right
away)
</remarks>
</Docs>
</Member>
<Member MemberName="IsWordEnd">
<MemberSignature Language="C#" Value="public bool IsWordEnd { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not this is the first non-word character after a word.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>
Note that in degenerate cases, you could have both this
propery and <see cref="M:Pango.LogAttr.IsWordStart" /> set
on the same character, most likely for sentences (e.g. no
space after a period, so the next sentence starts right
away)
</remarks>
</Docs>
</Member>
<Member MemberName="IsSentenceBoundary">
<MemberSignature Language="C#" Value="public bool IsSentenceBoundary { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not this character is a sentence boundary.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>
There are two ways to divide sentences. The first assigns
all intersentence whitespace/control/format chars to some
sentence, so all characters are in some sentence; <see
cref="M:Pango.LogAttr.IsSentenceBoundary" /> denotes the
boundaries in this case. See <see
cref="M:Pango.LogAttr.IsSentenceStart" /> and <see
cref="M:Pango.LogAttr.IsSentenceEnd" /> for the other
method.
</remarks>
</Docs>
</Member>
<Member MemberName="IsSentenceStart">
<MemberSignature Language="C#" Value="public bool IsSentenceStart { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not this is the first character in a sentence.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>
There are two ways to divide sentences. The first is the
method used by <see
cref="M:Pango.LogAttr.IsSentenceBoundary" /> (qv). The
second way is to consider intersentence characters to not
be part of any sentence, in which case <see
cref="M:Pango.LogAttr.IsSentenceStart" /> identifies the
first character in a sentence and <see
cref="M:Pango.LogAttr.IsSentenceEnd" /> identifies the
first non-sentence character after a sentence.
</remarks>
</Docs>
</Member>
<Member MemberName="IsSentenceEnd">
<MemberSignature Language="C#" Value="public bool IsSentenceEnd { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not this is the first non-sentence character after a sentence.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>
There are two ways to divide sentences. The first is the
method used by <see
cref="M:Pango.LogAttr.IsSentenceBoundary" /> (qv). The
second way is to consider intersentence characters to not
be part of any sentence, in which case <see
cref="M:Pango.LogAttr.IsSentenceStart" /> identifies the
first character in a sentence and <see
cref="M:Pango.LogAttr.IsSentenceEnd" /> identifies the
first non-sentence character after a sentence.
</remarks>
</Docs>
</Member>
<Member MemberName="BackspaceDeletesCharacter">
<MemberSignature Language="C#" Value="public bool BackspaceDeletesCharacter { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether Backspace deletes individual characters rather than complete grapheme clusters.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks />
</Docs>
</Member>
</Members>
</Type>