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" />
2003-02-12 01:57:20 +00:00
<AssemblyInfo >
<AssemblyName > atk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-12-09 23:12:49 +00:00
<AssemblyVersion > 2.8.0.0</AssemblyVersion>
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>
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>
<Interfaces >
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
</Interfaces>
<Members >
<Member MemberName= "RemoveFocusHandler" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void RemoveFocusHandler (uint handler_id);" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "handler_id" Type= "System.UInt32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-22 19:02:46 +00:00
<summary >
Remove the handler from the list of functions to be executed
when this object receives focus events (in or out).
</summary>
<param name= "handler_id" > The handler id of the focus handler to be removed from component.</param>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "SetPosition" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool SetPosition (int x, int y, Atk.CoordType coord_type);" />
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 >
2004-06-22 19:02:46 +00:00
<summary > Sets the postition of this component.</summary>
<param name= "x" > X coordinate.</param>
<param name= "y" > Y coordinate.</param>
<param name= "coord_type" >
Specifies whether the coordinates are relative to the screen
or to the components top level window.
</param>
2004-06-24 16:16:19 +00:00
<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-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "GrabFocus" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool GrabFocus ();" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-22 19:02:46 +00:00
<summary > Grabs focus for this component</summary>
<returns >
2004-06-24 16:16:19 +00:00
<see langword= "true" /> if successful, <see langword= "false" /> otherwise.
2004-06-22 19:02:46 +00:00
</returns>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "SetExtents" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool SetExtents (int x, int y, int width, int height, Atk.CoordType coord_type);" />
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= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
<Parameter Name= "coord_type" Type= "Atk.CoordType" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-22 19:02:46 +00:00
<summary > Sets the extents of this component.</summary>
<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>
<param name= "coord_type" >
Specifies whether the coordinates are relative to the screen
or to the components top level window.
</param>
<returns >
<see langword= "true" /> or <see langword= "false" /> whether the extents were
set or not.
</returns>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "SetSize" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool SetSize (int width, int height);" />
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= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-22 19:02:46 +00:00
<summary > Set the size of this component in terms of width and height.</summary>
<param name= "width" > Width to set for this component.</param>
<param name= "height" > Height to set for this component.</param>
<returns >
<see langword= "true" /> or <see langword= "false" /> whether the size was set or not.
</returns>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "AddFocusHandler" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public uint AddFocusHandler (Atk.FocusHandler handler);" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "handler" Type= "Atk.FocusHandler" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-22 19:02:46 +00:00
<summary >
Add the specified handler to the set of functions to be
called when this object receives focus events (in or out).
</summary>
<param name= "handler" > The <see cref= "T:Atk.FocusHandler" /> to be attached to this component.</param>
<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>
<Member MemberName= "Contains" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool Contains (int x, int y, Atk.CoordType coord_type);" />
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 >
2004-06-22 19:02:46 +00:00
<summary > Checks whether the specified point is within the extent of this component.</summary>
<param name= "x" > X coordinate</param>
<param name= "y" > Y coordinate</param>
<param name= "coord_type" >
Specifies whether the coordinates are relative to the screen
or to the components top level window.
</param>
<returns >
<see langword= "true" /> or <see langword= "false" /> indicating whether the specified point is
within the extent of the component or not.
</returns>
<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);" />
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 >
<summary > To be added</summary>
<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>
<returns > To be added: an object of type 'Atk.Object'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "MdiZorder" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public int MdiZorder { get; };" />
2003-02-12 01:57:20 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
2004-06-22 19:02:46 +00:00
<summary > Gets the Z order of the component.</summary>
2005-05-23 20:41:51 +00:00
<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= "Layer" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Atk.Layer Layer { get; };" />
2003-02-12 01:57:20 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Atk.Layer</ReturnType>
</ReturnValue>
<Docs >
2004-06-22 19:02:46 +00:00
<summary > Gets the layer of this component.</summary>
2005-05-23 20:41:51 +00:00
<value > An <see cref= "T:Atk.Layer" /> which is the layer of the component.</value>
2004-06-22 19:02:46 +00:00
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "GetPosition" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void GetPosition (out int x, out int y, Atk.CoordType coord_type);" />
2003-10-28 00:48:23 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "x" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "y" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "coord_type" Type= "Atk.CoordType" />
</Parameters>
<Docs >
2004-06-22 19:02:46 +00:00
<summary >
Gets the position of component in the form of a point
specifying this component's top-left corner.
</summary>
<param name= "x" > X coordinate position</param>
<param name= "y" > Y coordinate position</param>
<param name= "coord_type" >
Specifies whether the coordinates are relative to the screen
or to the components top level window.
</param>
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "GetExtents" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void GetExtents (out int x, out int y, out int width, out int height, Atk.CoordType coord_type);" />
2003-10-28 00:48:23 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<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>
<Docs >
2004-06-22 19:02:46 +00:00
<summary > Gets the rectangle which gives the extent of this component.</summary>
<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>
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "GetSize" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void GetSize (out int width, out int height);" />
2003-10-28 00:48:23 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "width" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "height" Type= "System.Int32&" RefType= "out" />
</Parameters>
<Docs >
2004-06-22 19:02:46 +00:00
<summary > Gets the size of this component in terms of width and height.</summary>
<param name= "width" > Width</param>
<param name= "height" > Height</param>
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "BoundsChanged" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public event Atk.BoundsChangedHandler BoundsChanged;" />
2005-04-21 17:10:54 +00:00
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > Atk.BoundsChangedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>