2003-02-12 02:00:12 +00:00
<Type Name= "ScrolledWindow" FullName= "Gtk.ScrolledWindow" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "Duncan Mak" Value= "public class ScrolledWindow : Gtk.Bin" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-09-03 04:11:38 +00:00
<AssemblyVersion > 2.6.0.0</AssemblyVersion>
2003-02-12 02:00:12 +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 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Adds scrollbars to its child widget.</summary>
<remarks >
<para >
2003-02-23 07:26:30 +00:00
GtkScrolledWindow is a <see cref= "T:Gtk.Bin" /> subclass: it's a container the accepts a single child widget. GtkScrolledWindow adds scrollbars to the child widget and optionally draws a beveled frame around the child widget.
2003-02-19 03:37:52 +00:00
</para>
<para >
2003-02-23 07:26:30 +00:00
The scrolled window can work in two ways. Some widgets have native scrolling support; these widgets have "slots" for <see cref= "T:Gtk.Adjustment" /> objects. Widgets with native scroll support include <see cref= "T:Gtk.TreeView" /> , <see cref= "T:Gtk.TextView" /> , and <see cref= "T:Gtk.Layout" /> .
2003-02-19 03:37:52 +00:00
</para>
<para >
2003-02-23 07:26:30 +00:00
The position of the scrollbars is controlled by the scroll adjustments. See <see cref= "T:Gtk.Adjustment" /> for the properties in an adjustment - for <see cref= "T:Gtk.Scrollbar" /> , used by <see cref= "T:Gtk.ScrolledWindow" /> , the <see cref= "P:Gtk.Adjustment.Value" /> property represents the position of the scrollbar, which must be between the <see cref= "P:Gtk.Adjustment.Lower" /> and <see cref= "P:Gtk.Adjustment.Upper" /> - <see cref= "P:Gtk.Adjustment.PageSize" /> . The <see cref= "P:Gtk.Adjustment.PageSize" /> property represents the size of the visible scrollable area. The <see cref= "P:Gtk.Adjustment.StepIncrement" /> and <see cref= "P:Gtk.Adjustment.PageIncrement" /> properties are used when the user asks to step down (using the small stepper arrows) or page down (using for example the PageDown key).
2003-02-19 03:37:52 +00:00
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Bin</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
<Members >
<Member MemberName= "AddWithViewport" >
<MemberSignature Language= "C#" Value= "public void AddWithViewport (Gtk.Widget child);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "child" Type= "Gtk.Widget" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Used to add children without native scrolling capabilities.</summary>
2004-11-05 21:25:40 +00:00
<param name= "child" > A <see cref= "T:Gtk.Widget" /> </param>
2003-02-19 03:37:52 +00:00
<remarks >
<para >
2003-02-23 07:26:30 +00:00
Used to add children without native scrolling capabilities. This is simply a convenience function; it is equivalent to adding the unscrollable child to a viewport, then adding the viewport to the scrolled window. If a child has native scrolling, use <see cref= "M:Gtk.Container.Add" /> instead of this function.
2003-02-19 03:37:52 +00:00
</para>
<para >
2003-02-23 07:26:30 +00:00
The viewport scrolls the child by moving its <see cref= "T:Gdk.Window" /> , and takes the size of the child to be the size of its toplevel <see cref= "T:Gdk.Window" /> . This will be very wrong for most widgets that support native scrolling; for example, if you add a widget such as <see cref= "T:Gtk.TreeView" /> with a viewport, the whole widget will scroll, including the column headings. Thus, widgets with native scrolling support should not be used with the <see cref= "T:Gtk.Viewport" /> proxy.
2003-02-19 03:37:52 +00:00
</para>
<para >
A widget supports scrolling natively if the set_scroll_adjustments_signal field in GtkWidgetClass is non-zero, i.e. has been filled in with a valid signal identifier.
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "SetPolicy" >
<MemberSignature Language= "C#" Value= "public void SetPolicy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "hscrollbar_policy" Type= "Gtk.PolicyType" />
<Parameter Name= "vscrollbar_policy" Type= "Gtk.PolicyType" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Sets the scrollbar policy for the horizontal and vertical scrollbars.</summary>
<param name= "hscrollbar_policy" > Policy for horizontal bar.</param>
<param name= "vscrollbar_policy" > Policy for vertical bar.</param>
<remarks >
<para >
2003-02-23 07:26:30 +00:00
Sets the scrollbar policy for the horizontal and vertical scrollbars. The policy determines when the scrollbar should appear; it is a value from the <see cref= "T:Gtk.PolicyType" /> enumeration. If <see cref= "T:Gtk.PolicyType.Always" /> , the scrollbar is always present; if <see cref= "T:Gtk.PolicyType.Never" /> , the scrollbar is never present; if <see cref= "T:Gtk.PolicyType.Automatic" /> , the scrollbar is present only if needed (that is, if the slider part of the bar would be smaller than the trough - the display is larger than the page size).
2003-02-19 03:37:52 +00:00
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "GetPolicy" >
2003-02-15 03:08:25 +00:00
<MemberSignature Language= "C#" Value= "public void GetPolicy (out Gtk.PolicyType hscrollbar_policy, out Gtk.PolicyType vscrollbar_policy);" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "hscrollbar_policy" Type= "Gtk.PolicyType&" RefType= "out" />
<Parameter Name= "vscrollbar_policy" Type= "Gtk.PolicyType&" RefType= "out" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Retrieves the current policy values for the horizontal and vertical scrollbars.</summary>
<param name= "hscrollbar_policy" > Location to store the policy for the horizontal scrollbar.</param>
<param name= "vscrollbar_policy" > Location to store the policy for the horizontal scrollbar.</param>
<remarks >
<para >
Retrieves the current policy values for the horizontal and vertical scrollbars.
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ScrolledWindow (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ScrolledWindow (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "hadjustment" Type= "Gtk.Adjustment" />
<Parameter Name= "vadjustment" Type= "Gtk.Adjustment" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Creates a new scrolled window.</summary>
<param name= "hadjustment" > Horizontal adjustment.</param>
<param name= "vadjustment" > Vertical adjustment.</param>
<remarks >
<para >
2003-04-22 10:15:35 +00:00
Creates a new scrolled window. The two arguments are the scrolled window's adjustments; these will be shared with the scrollbars and the child widget to keep the bars in sync with the child. Usually you want to pass <see langword= "null" /> for the adjustments, which will cause the scrolled window to create them for you.
2003-02-19 03:37:52 +00:00
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ScrolledWindow ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-08-29 08:58:39 +00:00
<summary > Basic constructor.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Placement" >
<MemberSignature Language= "C#" Value= "public Gtk.CornerType Placement { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.CornerType</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Determines the location of the child widget with respect to the scrollbars.</summary>
2005-05-23 20:41:51 +00:00
<value />
2003-02-19 03:37:52 +00:00
<remarks >
<para >
2003-02-23 07:26:30 +00:00
Determines the location of the child widget with respect to the scrollbars. The default is <see cref= "T:Gtk.CornerType.TopLeft" /> , meaning the child is in the top left, with the scrollbars underneath and to the right. Other values in <see cref= "T:Gtk.CornerType" /> are <see cref= "T:Gtk.CornerType.TopRight" /> , <see cref= "T:Gtk.CornerType.BottomLeft" /> , and <see cref= "T:Gtk.CornerType.BottomRight" /> .
2003-02-19 03:37:52 +00:00
</para>
2003-02-23 07:26:30 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "HscrollbarPolicy" >
<MemberSignature Language= "C#" Value= "public Gtk.PolicyType HscrollbarPolicy { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.PolicyType</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > When the horizontal scrollbar is displayed.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gtk.PolicyType" /> </value>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="hscrollbar_policy")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "Hadjustment" >
<MemberSignature Language= "C#" Value= "public Gtk.Adjustment Hadjustment { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Adjustment</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Sets the <see cref= "T:Gtk.Adjustment" /> for the horizontal scrollbar.</summary>
2005-05-23 20:41:51 +00:00
<value > The horizontal GtkAdjustment.</value>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="hadjustment")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "VscrollbarPolicy" >
<MemberSignature Language= "C#" Value= "public Gtk.PolicyType VscrollbarPolicy { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.PolicyType</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > When the vertical scrollbar is displayed.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gtk.PolicyType" /> </value>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="vscrollbar_policy")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "Vadjustment" >
<MemberSignature Language= "C#" Value= "public Gtk.Adjustment Vadjustment { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Adjustment</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Sets or Gets the <see cref= "T:Gtk.Adjustment" /> for the vertical scrollbar.</summary>
2005-05-23 20:41:51 +00:00
<value > The vertical GtkAdjustment.</value>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="vadjustment")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "ShadowType" >
<MemberSignature Language= "C#" Value= "public Gtk.ShadowType ShadowType { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.ShadowType</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Gets the shadow type of the scrolled window.</summary>
2005-05-23 20:41:51 +00:00
<value > The current shadow type.</value>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="shadow_type")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "WindowPlacement" >
<MemberSignature Language= "C#" Value= "public Gtk.CornerType WindowPlacement { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.CornerType</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Where the contents are located with respect to the scrollbars.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gtk.CornerType" /> </value>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="window_placement")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "ScrollChild" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.ScrollChildHandler ScrollChild;" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2005-05-23 20:41:51 +00:00
<ReturnValue >
<ReturnType > Gtk.ScrollChildHandler</ReturnType>
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2004-08-29 08:58:39 +00:00
<summary > Fired when the child widget is scrolled.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="scroll_child")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
<Member MemberName= "MoveFocusOut" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.MoveFocusOutHandler MoveFocusOut;" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2004-02-25 23:39:06 +00:00
<ReturnType > Gtk.MoveFocusOutHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2004-08-29 08:58:39 +00:00
<summary > Fired when the focus moves out of the scrolled window.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="move_focus_out")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.ScrolledWindow" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnMoveFocusOut" >
<MemberSignature Language= "C#" Value= "protected virtual void OnMoveFocusOut (Gtk.DirectionType direction);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "direction" Type= "Gtk.DirectionType" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.ScrolledWindow.MoveFocusOut" /> event.</summary>
2003-12-24 01:35:30 +00:00
<param name= "direction" > a <see cref= "T:Gtk.DirectionType" /> </param>
2004-06-15 15:41:25 +00:00
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.ScrolledWindow.MoveFocusOut" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnScrollChild" >
<MemberSignature Language= "C#" Value= "protected virtual void OnScrollChild (Gtk.ScrollType scroll, bool horizontal);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "scroll" Type= "Gtk.ScrollType" />
<Parameter Name= "horizontal" Type= "System.Boolean" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.ScrolledWindow.ScrollChild" /> event.</summary>
2003-12-24 01:35:30 +00:00
<param name= "scroll" > a <see cref= "T:Gtk.ScrollType" /> </param>
<param name= "horizontal" > a <see cref= "T:System.Boolean" /> </param>
2004-06-15 15:41:25 +00:00
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.ScrolledWindow.ScrollChild" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2003-03-07 01:30:00 +00:00
<Member MemberName= ".ctor" >
2003-12-24 01:35:30 +00:00
<MemberSignature Language= "C#" Value= "protected ScrolledWindow (GLib.GType gtype);" />
2003-03-07 01:30:00 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-12-24 01:35:30 +00:00
<Parameter Name= "gtype" Type= "GLib.GType" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-03-07 01:30:00 +00:00
<Docs >
2004-06-21 20:33:11 +00:00
<summary > Protected Constructor.</summary>
2003-12-24 01:35:30 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
2004-06-21 20:33:11 +00:00
<remarks > Chain to this constructor if you have manually registered a native <see cref= "T:GLib.GType" /> value for your subclass.</remarks>
2003-03-07 01:30:00 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>