2003-02-12 01:57:20 +00:00
<Type Name= "Component" FullName= "Atk.Component" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public interface Component : GLib.IWrapper" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public interface auto ansi abstract Component implements class GLib.IWrapper" />
2003-02-12 01:57:20 +00:00
<AssemblyInfo >
<AssemblyName > atk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 01:57:20 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<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>
2011-11-09 16:01:51 +00:00
<Interfaces >
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
</Interfaces>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-22 19:02:46 +00:00
<summary > The ATK interface provided by UI components which occupy a physical area on the screen.</summary>
<remarks >
<para >
The ATK interface provided by UI components which occupy a
physical area on the screen.
</para>
<para >
This should be implemented by most if not all UI elements with
an actual on-screen presence, i.e. components which can be
said to have a screen-coordinate bounding box. Virtually all
widgets will need to have <see cref= "T:Atk.Component" /> implementations
provided for their corresponding <see cref= "T:Atk.Object" /> class. In short,
only UI elements which are* not* GUI elements will omit this
ATK interface.
</para>
<para >
A possible exception might be textual information with a
transparent background, in which case text glyph bounding box
information is provided by <see cref= "T:Atk.Text" /> .
</para>
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
<Members >
2011-11-09 16:01:51 +00:00
<Member MemberName= "AddFocusHandler" >
<MemberSignature Language= "C#" Value= "public uint AddFocusHandler (Atk.FocusHandler handler);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance unsigned int32 AddFocusHandler(class Atk.FocusHandler handler) cil managed" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.UInt32</ReturnType>
2003-02-12 01:57:20 +00:00
</ReturnValue>
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "handler" Type= "Atk.FocusHandler" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "handler" > The <see cref= "T:Atk.FocusHandler" /> to be attached to this component.</param>
2004-06-22 19:02:46 +00:00
<summary >
2011-11-09 16:01:51 +00:00
Add the specified handler to the set of functions to be
called when this object receives focus events (in or out).
2004-06-22 19:02:46 +00:00
</summary>
2011-11-09 16:01:51 +00:00
<returns >
A handler id which can be used in
<see cref= "M:Atk.Component.RemoveFocusHandler" /> or zero if the handler
was already added.
</returns>
<remarks >
<para >
Add the specified handler to the set of functions to be
called when this object receives focus events (in or out).
</para>
<para >
If the handler is already added it is not added again.
</para>
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Alpha" >
<MemberSignature Language= "C#" Value= "public double Alpha { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance float64 Alpha" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added.</summary>
<value > To be added.</value>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName= "BoundsChanged" >
<MemberSignature Language= "C#" Value= "public event Atk.BoundsChangedHandler BoundsChanged;" />
<MemberSignature Language= "ILAsm" Value= ".event class Atk.BoundsChangedHandler BoundsChanged" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > Atk.BoundsChangedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
<since version= "Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName= "Contains" >
<MemberSignature Language= "C#" Value= "public bool Contains (int x, int y, Atk.CoordType coord_type);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance bool Contains(int32 x, int32 y, valuetype Atk.CoordType coord_type) cil managed" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "coord_type" Type= "Atk.CoordType" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "x" > X coordinate</param>
<param name= "y" > Y coordinate</param>
2004-06-22 19:02:46 +00:00
<param name= "coord_type" >
Specifies whether the coordinates are relative to the screen
or to the components top level window.
</param>
2011-11-09 16:01:51 +00:00
<summary > Checks whether the specified point is within the extent of this component.</summary>
2004-06-24 16:16:19 +00:00
<returns >
2011-11-09 16:01:51 +00:00
<see langword= "true" /> or <see langword= "false" /> indicating whether the specified point is
within the extent of the component or not.
</returns>
2004-06-22 19:02:46 +00:00
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "GetExtents" >
<MemberSignature Language= "C#" Value= "public void GetExtents (out int x, out int y, out int width, out int height, Atk.CoordType coord_type);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance void GetExtents(int32 x, int32 y, int32 width, int32 height, valuetype Atk.CoordType coord_type) cil managed" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 01:57:20 +00:00
</ReturnValue>
2011-11-09 16:01:51 +00:00
<Parameters >
<Parameter Name= "x" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "y" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "width" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "height" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "coord_type" Type= "Atk.CoordType" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "x" > X coordinate position</param>
<param name= "y" > Y coordinate position</param>
<param name= "width" > Width</param>
<param name= "height" > Height</param>
<param name= "coord_type" >
Specifies whether the coordinates are relative to the screen
or to the components top level window.
</param>
<summary > Gets the rectangle which gives the extent of this component.</summary>
2004-06-22 19:02:46 +00:00
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "GetPosition" >
<MemberSignature Language= "C#" Value= "public void GetPosition (out int x, out int y, Atk.CoordType coord_type);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance void GetPosition(int32 x, int32 y, valuetype Atk.CoordType coord_type) cil managed" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 01:57:20 +00:00
</ReturnValue>
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "x" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "y" Type= "System.Int32&" RefType= "out" />
2003-09-17 21:56:59 +00:00
<Parameter Name= "coord_type" Type= "Atk.CoordType" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "x" > X coordinate position</param>
<param name= "y" > Y coordinate position</param>
2004-06-22 19:02:46 +00:00
<param name= "coord_type" >
Specifies whether the coordinates are relative to the screen
or to the components top level window.
</param>
2011-11-09 16:01:51 +00:00
<summary >
Gets the position of component in the form of a point
specifying this component's top-left corner.
</summary>
2004-06-22 19:02:46 +00:00
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "GetSize" >
<MemberSignature Language= "C#" Value= "public void GetSize (out int width, out int height);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance void GetSize(int32 width, int32 height) cil managed" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 01:57:20 +00:00
</ReturnValue>
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "width" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "height" Type= "System.Int32&" RefType= "out" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "width" > Width</param>
<param name= "height" > Height</param>
<summary > Gets the size of this component in terms of width and height.</summary>
2004-06-22 19:02:46 +00:00
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "GrabFocus" >
<MemberSignature Language= "C#" Value= "public bool GrabFocus ();" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance bool GrabFocus() cil managed" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Boolean</ReturnType>
2003-02-12 01:57:20 +00:00
</ReturnValue>
2011-11-09 16:01:51 +00:00
<Parameters />
2003-02-12 01:57:20 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Grabs focus for this component</summary>
2004-06-22 19:02:46 +00:00
<returns >
2011-11-09 16:01:51 +00:00
<see langword= "true" /> if successful, <see langword= "false" /> otherwise.
2004-06-22 19:02:46 +00:00
</returns>
2011-11-09 16:01:51 +00:00
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "Layer" >
<MemberSignature Language= "C#" Value= "public Atk.Layer Layer { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance valuetype Atk.Layer Layer" />
<MemberType > Property</MemberType>
2003-02-12 01:57:20 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > Atk.Layer</ReturnType>
2003-02-12 01:57:20 +00:00
</ReturnValue>
<Docs >
2011-11-09 16:01:51 +00:00
<summary > Gets the layer of this component.</summary>
<value > An <see cref= "T:Atk.Layer" /> which is the layer of the component.</value>
<remarks />
</Docs>
</Member>
<Member MemberName= "MdiZorder" >
<MemberSignature Language= "C#" Value= "public int MdiZorder { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance int32 MdiZorder" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
<summary > Gets the Z order of the component.</summary>
<value > The value G_MININT will be returned if the layer of the component is not ATK_LAYER_MDI or ATK_LAYER_WINDOW.</value>
2004-06-22 19:02:46 +00:00
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "RefAccessibleAtPoint" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Atk.Object RefAccessibleAtPoint (int x, int y, Atk.CoordType coord_type);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance class Atk.Object RefAccessibleAtPoint(int32 x, int32 y, valuetype Atk.CoordType coord_type) cil managed" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Atk.Object</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "coord_type" Type= "Atk.CoordType" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
<param name= "x" > To be added: an object of type 'int'</param>
<param name= "y" > To be added: an object of type 'int'</param>
<param name= "coord_type" > To be added: an object of type 'Atk.CoordType'</param>
2011-11-09 16:01:51 +00:00
<summary > To be added</summary>
2003-02-12 01:57:20 +00:00
<returns > To be added: an object of type 'Atk.Object'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "RemoveFocusHandler" >
<MemberSignature Language= "C#" Value= "public void RemoveFocusHandler (uint handler_id);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance void RemoveFocusHandler(unsigned int32 handler_id) cil managed" />
<MemberType > Method</MemberType>
2003-02-12 01:57:20 +00:00
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 01:57:20 +00:00
</ReturnValue>
2011-11-09 16:01:51 +00:00
<Parameters >
<Parameter Name= "handler_id" Type= "System.UInt32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "handler_id" > The handler id of the focus handler to be removed from component.</param>
<summary >
Remove the handler from the list of functions to be executed
when this object receives focus events (in or out).
</summary>
2004-06-22 19:02:46 +00:00
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "SetExtents" >
<MemberSignature Language= "C#" Value= "public bool SetExtents (int x, int y, int width, int height, Atk.CoordType coord_type);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance bool SetExtents(int32 x, int32 y, int32 width, int32 height, valuetype Atk.CoordType coord_type) cil managed" />
2003-10-28 00:48:23 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Boolean</ReturnType>
2003-10-28 00:48:23 +00:00
</ReturnValue>
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
2003-10-28 00:48:23 +00:00
<Parameter Name= "coord_type" Type= "Atk.CoordType" />
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "x" > X coordinate.</param>
<param name= "y" > Y coordinate.</param>
<param name= "width" > Width to set for this component.</param>
<param name= "height" > Height to set for this component.</param>
2004-06-22 19:02:46 +00:00
<param name= "coord_type" >
Specifies whether the coordinates are relative to the screen
or to the components top level window.
</param>
2011-11-09 16:01:51 +00:00
<summary > Sets the extents of this component.</summary>
<returns >
<see langword= "true" /> or <see langword= "false" /> whether the extents were
set or not.
</returns>
2004-06-22 19:02:46 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "SetPosition" >
<MemberSignature Language= "C#" Value= "public bool SetPosition (int x, int y, Atk.CoordType coord_type);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance bool SetPosition(int32 x, int32 y, valuetype Atk.CoordType coord_type) cil managed" />
2003-10-28 00:48:23 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Boolean</ReturnType>
2003-10-28 00:48:23 +00:00
</ReturnValue>
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
2003-10-28 00:48:23 +00:00
<Parameter Name= "coord_type" Type= "Atk.CoordType" />
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "x" > X coordinate.</param>
<param name= "y" > Y coordinate.</param>
2004-06-22 19:02:46 +00:00
<param name= "coord_type" >
Specifies whether the coordinates are relative to the screen
or to the components top level window.
</param>
2011-11-09 16:01:51 +00:00
<summary > Sets the postition of this component.</summary>
<returns >
<see langword= "true" /> or <see langword= "false" /> whether or not the position was set or not.</returns>
2004-06-22 19:02:46 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "SetSize" >
<MemberSignature Language= "C#" Value= "public bool SetSize (int width, int height);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance bool SetSize(int32 width, int32 height) cil managed" />
2003-10-28 00:48:23 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2011-11-09 16:01:51 +00:00
<ReturnType > System.Boolean</ReturnType>
2003-10-28 00:48:23 +00:00
</ReturnValue>
<Parameters >
2011-11-09 16:01:51 +00:00
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
2003-10-28 00:48:23 +00:00
</Parameters>
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "width" > Width to set for this component.</param>
<param name= "height" > Height to set for this component.</param>
<summary > Set the size of this component in terms of width and height.</summary>
<returns >
<see langword= "true" /> or <see langword= "false" /> whether the size was set or not.
</returns>
2004-06-22 19:02:46 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>